All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cloudshiftdev.awscdk.services.quicksight.CfnDashboard.kt Maven / Gradle / Ivy

The newest version!
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package io.cloudshiftdev.awscdk.services.quicksight

import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.CfnTag
import io.cloudshiftdev.awscdk.IInspectable
import io.cloudshiftdev.awscdk.IResolvable
import io.cloudshiftdev.awscdk.ITaggable
import io.cloudshiftdev.awscdk.TagManager
import io.cloudshiftdev.awscdk.TreeInspector
import io.cloudshiftdev.awscdk.common.CdkDslMarker
import io.cloudshiftdev.awscdk.common.CdkObject
import io.cloudshiftdev.awscdk.common.CdkObjectWrappers
import kotlin.Any
import kotlin.Boolean
import kotlin.Number
import kotlin.String
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct
import software.constructs.Construct as SoftwareConstructsConstruct

/**
 * Creates a dashboard from a template. To first create a template, see the `CreateTemplate` API
 * operation.
 *
 * A dashboard is an entity in Amazon QuickSight that identifies Amazon QuickSight reports, created
 * from analyses. You can share Amazon QuickSight dashboards. With the right permissions, you can
 * create scheduled email reports from them. If you have the correct permissions, you can create a
 * dashboard from a template that exists in a different AWS account .
 *
 * Example:
 *
 * ```
 * ```
 *
 * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html)
 */
public open class CfnDashboard(
  cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard,
) : CfnResource(cdkObject),
    IInspectable,
    ITaggable {
  public constructor(
    scope: CloudshiftdevConstructsConstruct,
    id: String,
    props: CfnDashboardProps,
  ) :
      this(software.amazon.awscdk.services.quicksight.CfnDashboard(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap),
      id, props.let(CfnDashboardProps.Companion::unwrap))
  )

  public constructor(
    scope: CloudshiftdevConstructsConstruct,
    id: String,
    props: CfnDashboardProps.Builder.() -> Unit,
  ) : this(scope, id, CfnDashboardProps(props)
  )

  /**
   * The Amazon Resource Name (ARN) of the dashboard.
   */
  public open fun attrArn(): String = unwrap(this).getAttrArn()

  /**
   * The time this dashboard version was created.
   */
  public open fun attrCreatedTime(): String = unwrap(this).getAttrCreatedTime()

  /**
   * The time that the dashboard was last published.
   */
  public open fun attrLastPublishedTime(): String = unwrap(this).getAttrLastPublishedTime()

  /**
   * The time that the dashboard was last updated.
   */
  public open fun attrLastUpdatedTime(): String = unwrap(this).getAttrLastUpdatedTime()

  /**
   * Dashboard version.

. */ public open fun attrVersion(): IResolvable = unwrap(this).getAttrVersion().let(IResolvable::wrap) /** * */ public open fun attrVersionArn(): String = unwrap(this).getAttrVersionArn() /** * */ public open fun attrVersionCreatedTime(): String = unwrap(this).getAttrVersionCreatedTime() /** * */ public open fun attrVersionDataSetArns(): List = unwrap(this).getAttrVersionDataSetArns() /** * */ public open fun attrVersionDescription(): String = unwrap(this).getAttrVersionDescription() /** * */ public open fun attrVersionErrors(): IResolvable = unwrap(this).getAttrVersionErrors().let(IResolvable::wrap) /** * */ public open fun attrVersionSheets(): IResolvable = unwrap(this).getAttrVersionSheets().let(IResolvable::wrap) /** * */ public open fun attrVersionSourceEntityArn(): String = unwrap(this).getAttrVersionSourceEntityArn() /** * */ public open fun attrVersionStatus(): String = unwrap(this).getAttrVersionStatus() /** * */ public open fun attrVersionThemeArn(): String = unwrap(this).getAttrVersionThemeArn() /** * */ public open fun attrVersionVersionNumber(): IResolvable = unwrap(this).getAttrVersionVersionNumber().let(IResolvable::wrap) /** * The ID of the AWS account where you want to create the dashboard. */ public open fun awsAccountId(): String = unwrap(this).getAwsAccountId() /** * The ID of the AWS account where you want to create the dashboard. */ public open fun awsAccountId(`value`: String) { unwrap(this).setAwsAccountId(`value`) } /** * The ID for the dashboard, also added to the IAM policy. */ public open fun dashboardId(): String = unwrap(this).getDashboardId() /** * The ID for the dashboard, also added to the IAM policy. */ public open fun dashboardId(`value`: String) { unwrap(this).setDashboardId(`value`) } /** * Options for publishing the dashboard when you create it:. */ public open fun dashboardPublishOptions(): Any? = unwrap(this).getDashboardPublishOptions() /** * Options for publishing the dashboard when you create it:. */ public open fun dashboardPublishOptions(`value`: IResolvable) { unwrap(this).setDashboardPublishOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Options for publishing the dashboard when you create it:. */ public open fun dashboardPublishOptions(`value`: DashboardPublishOptionsProperty) { unwrap(this).setDashboardPublishOptions(`value`.let(DashboardPublishOptionsProperty.Companion::unwrap)) } /** * Options for publishing the dashboard when you create it:. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0e6a7b8ad0246ab857b4169baa2804a7b13bce7144f3a61b7aa40a8aa3c20488") public open fun dashboardPublishOptions(`value`: DashboardPublishOptionsProperty.Builder.() -> Unit): Unit = dashboardPublishOptions(DashboardPublishOptionsProperty(`value`)) /** * */ public open fun definition(): Any? = unwrap(this).getDefinition() /** * */ public open fun definition(`value`: IResolvable) { unwrap(this).setDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun definition(`value`: DashboardVersionDefinitionProperty) { unwrap(this).setDefinition(`value`.let(DashboardVersionDefinitionProperty.Companion::unwrap)) } /** * */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1793aefb548ab5f6667592b3300c1eb33eb590a188d024be03c4617d28117c9b") public open fun definition(`value`: DashboardVersionDefinitionProperty.Builder.() -> Unit): Unit = definition(DashboardVersionDefinitionProperty(`value`)) /** * Examines the CloudFormation resource and discloses attributes. * * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** * A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard. */ public open fun linkEntities(): List = unwrap(this).getLinkEntities() ?: emptyList() /** * A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard. */ public open fun linkEntities(`value`: List) { unwrap(this).setLinkEntities(`value`) } /** * A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard. */ public open fun linkEntities(vararg `value`: String): Unit = linkEntities(`value`.toList()) /** * A structure that contains the link sharing configurations that you want to apply overrides to. */ public open fun linkSharingConfiguration(): Any? = unwrap(this).getLinkSharingConfiguration() /** * A structure that contains the link sharing configurations that you want to apply overrides to. */ public open fun linkSharingConfiguration(`value`: IResolvable) { unwrap(this).setLinkSharingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure that contains the link sharing configurations that you want to apply overrides to. */ public open fun linkSharingConfiguration(`value`: LinkSharingConfigurationProperty) { unwrap(this).setLinkSharingConfiguration(`value`.let(LinkSharingConfigurationProperty.Companion::unwrap)) } /** * A structure that contains the link sharing configurations that you want to apply overrides to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5dd16199f5efcd02eb12e09479d28913644973d5a04cbf04bc3adef73511a1ff") public open fun linkSharingConfiguration(`value`: LinkSharingConfigurationProperty.Builder.() -> Unit): Unit = linkSharingConfiguration(LinkSharingConfigurationProperty(`value`)) /** * The display name of the dashboard. */ public open fun name(): String = unwrap(this).getName() /** * The display name of the dashboard. */ public open fun name(`value`: String) { unwrap(this).setName(`value`) } /** * The parameters for the creation of the dashboard, which you want to use to override the default * settings. */ public open fun parameters(): Any? = unwrap(this).getParameters() /** * The parameters for the creation of the dashboard, which you want to use to override the default * settings. */ public open fun parameters(`value`: IResolvable) { unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** * The parameters for the creation of the dashboard, which you want to use to override the default * settings. */ public open fun parameters(`value`: ParametersProperty) { unwrap(this).setParameters(`value`.let(ParametersProperty.Companion::unwrap)) } /** * The parameters for the creation of the dashboard, which you want to use to override the default * settings. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d348ddaad8a99d27597a8f96e3119bc88488dd52280c2a399c5b26ab6ee6bbd3") public open fun parameters(`value`: ParametersProperty.Builder.() -> Unit): Unit = parameters(ParametersProperty(`value`)) /** * A structure that contains the permissions of the dashboard. */ public open fun permissions(): Any? = unwrap(this).getPermissions() /** * A structure that contains the permissions of the dashboard. */ public open fun permissions(`value`: IResolvable) { unwrap(this).setPermissions(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure that contains the permissions of the dashboard. */ public open fun permissions(`value`: List) { unwrap(this).setPermissions(`value`.map{CdkObjectWrappers.unwrap(it)}) } /** * A structure that contains the permissions of the dashboard. */ public open fun permissions(vararg `value`: Any): Unit = permissions(`value`.toList()) /** * The entity that you are using as a source when you create the dashboard. */ public open fun sourceEntity(): Any? = unwrap(this).getSourceEntity() /** * The entity that you are using as a source when you create the dashboard. */ public open fun sourceEntity(`value`: IResolvable) { unwrap(this).setSourceEntity(`value`.let(IResolvable.Companion::unwrap)) } /** * The entity that you are using as a source when you create the dashboard. */ public open fun sourceEntity(`value`: DashboardSourceEntityProperty) { unwrap(this).setSourceEntity(`value`.let(DashboardSourceEntityProperty.Companion::unwrap)) } /** * The entity that you are using as a source when you create the dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7edae875b5bdb74b77a684315e89e5f44da026be3a1a5d4a11fbc3a5d48dc498") public open fun sourceEntity(`value`: DashboardSourceEntityProperty.Builder.() -> Unit): Unit = sourceEntity(DashboardSourceEntityProperty(`value`)) /** * Tag Manager which manages the tags for this resource. */ public override fun tags(): TagManager = unwrap(this).getTags().let(TagManager::wrap) /** * Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard. */ public open fun tagsRaw(): List = unwrap(this).getTagsRaw()?.map(CfnTag::wrap) ?: emptyList() /** * Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard. */ public open fun tagsRaw(`value`: List) { unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** * Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard. */ public open fun tagsRaw(vararg `value`: CfnTag): Unit = tagsRaw(`value`.toList()) /** * The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. */ public open fun themeArn(): String? = unwrap(this).getThemeArn() /** * The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. */ public open fun themeArn(`value`: String) { unwrap(this).setThemeArn(`value`) } /** * The option to relax the validation that is required to create and update analyses, dashboards, * and templates with definition objects. */ public open fun validationStrategy(): Any? = unwrap(this).getValidationStrategy() /** * The option to relax the validation that is required to create and update analyses, dashboards, * and templates with definition objects. */ public open fun validationStrategy(`value`: IResolvable) { unwrap(this).setValidationStrategy(`value`.let(IResolvable.Companion::unwrap)) } /** * The option to relax the validation that is required to create and update analyses, dashboards, * and templates with definition objects. */ public open fun validationStrategy(`value`: ValidationStrategyProperty) { unwrap(this).setValidationStrategy(`value`.let(ValidationStrategyProperty.Companion::unwrap)) } /** * The option to relax the validation that is required to create and update analyses, dashboards, * and templates with definition objects. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dff92cc72230382070cd0d1f45d0bef292d37c85a76b22e2c5be044dedaa50aa") public open fun validationStrategy(`value`: ValidationStrategyProperty.Builder.() -> Unit): Unit = validationStrategy(ValidationStrategyProperty(`value`)) /** * A description for the first version of the dashboard being created. */ public open fun versionDescription(): String? = unwrap(this).getVersionDescription() /** * A description for the first version of the dashboard being created. */ public open fun versionDescription(`value`: String) { unwrap(this).setVersionDescription(`value`) } /** * A fluent builder for [io.cloudshiftdev.awscdk.services.quicksight.CfnDashboard]. */ @CdkDslMarker public interface Builder { /** * The ID of the AWS account where you want to create the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-awsaccountid) * @param awsAccountId The ID of the AWS account where you want to create the dashboard. */ public fun awsAccountId(awsAccountId: String) /** * The ID for the dashboard, also added to the IAM policy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-dashboardid) * @param dashboardId The ID for the dashboard, also added to the IAM policy. */ public fun dashboardId(dashboardId: String) /** * Options for publishing the dashboard when you create it:. * * * `AvailabilityStatus` for `AdHocFilteringOption` - This status can be either `ENABLED` or * `DISABLED` . When this is set to `DISABLED` , Amazon QuickSight disables the left filter pane on * the published dashboard, which can be used for ad hoc (one-time) filtering. This option is * `ENABLED` by default. * * `AvailabilityStatus` for `ExportToCSVOption` - This status can be either `ENABLED` or * `DISABLED` . The visual option to export data to .CSV format isn't enabled when this is set to * `DISABLED` . This option is `ENABLED` by default. * * `VisibilityState` for `SheetControlsOption` - This visibility state can be either * `COLLAPSED` or `EXPANDED` . This option is `COLLAPSED` by default. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-dashboardpublishoptions) * @param dashboardPublishOptions Options for publishing the dashboard when you create it:. */ public fun dashboardPublishOptions(dashboardPublishOptions: IResolvable) /** * Options for publishing the dashboard when you create it:. * * * `AvailabilityStatus` for `AdHocFilteringOption` - This status can be either `ENABLED` or * `DISABLED` . When this is set to `DISABLED` , Amazon QuickSight disables the left filter pane on * the published dashboard, which can be used for ad hoc (one-time) filtering. This option is * `ENABLED` by default. * * `AvailabilityStatus` for `ExportToCSVOption` - This status can be either `ENABLED` or * `DISABLED` . The visual option to export data to .CSV format isn't enabled when this is set to * `DISABLED` . This option is `ENABLED` by default. * * `VisibilityState` for `SheetControlsOption` - This visibility state can be either * `COLLAPSED` or `EXPANDED` . This option is `COLLAPSED` by default. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-dashboardpublishoptions) * @param dashboardPublishOptions Options for publishing the dashboard when you create it:. */ public fun dashboardPublishOptions(dashboardPublishOptions: DashboardPublishOptionsProperty) /** * Options for publishing the dashboard when you create it:. * * * `AvailabilityStatus` for `AdHocFilteringOption` - This status can be either `ENABLED` or * `DISABLED` . When this is set to `DISABLED` , Amazon QuickSight disables the left filter pane on * the published dashboard, which can be used for ad hoc (one-time) filtering. This option is * `ENABLED` by default. * * `AvailabilityStatus` for `ExportToCSVOption` - This status can be either `ENABLED` or * `DISABLED` . The visual option to export data to .CSV format isn't enabled when this is set to * `DISABLED` . This option is `ENABLED` by default. * * `VisibilityState` for `SheetControlsOption` - This visibility state can be either * `COLLAPSED` or `EXPANDED` . This option is `COLLAPSED` by default. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-dashboardpublishoptions) * @param dashboardPublishOptions Options for publishing the dashboard when you create it:. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5aaf80258cc551d7309b40c5dd6de7a43dc434f2abf7c3e2b3580de715e57107") public fun dashboardPublishOptions(dashboardPublishOptions: DashboardPublishOptionsProperty.Builder.() -> Unit) /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-definition) * @param definition */ public fun definition(definition: IResolvable) /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-definition) * @param definition */ public fun definition(definition: DashboardVersionDefinitionProperty) /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-definition) * @param definition */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("712a1ec51c5e6e21d667ae72f48e5865e89c6ca695c8adc91813b6be8c59c5cc") public fun definition(definition: DashboardVersionDefinitionProperty.Builder.() -> Unit) /** * A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-linkentities) * @param linkEntities A list of analysis Amazon Resource Names (ARNs) to be linked to the * dashboard. */ public fun linkEntities(linkEntities: List) /** * A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-linkentities) * @param linkEntities A list of analysis Amazon Resource Names (ARNs) to be linked to the * dashboard. */ public fun linkEntities(vararg linkEntities: String) /** * A structure that contains the link sharing configurations that you want to apply overrides * to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-linksharingconfiguration) * @param linkSharingConfiguration A structure that contains the link sharing configurations * that you want to apply overrides to. */ public fun linkSharingConfiguration(linkSharingConfiguration: IResolvable) /** * A structure that contains the link sharing configurations that you want to apply overrides * to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-linksharingconfiguration) * @param linkSharingConfiguration A structure that contains the link sharing configurations * that you want to apply overrides to. */ public fun linkSharingConfiguration(linkSharingConfiguration: LinkSharingConfigurationProperty) /** * A structure that contains the link sharing configurations that you want to apply overrides * to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-linksharingconfiguration) * @param linkSharingConfiguration A structure that contains the link sharing configurations * that you want to apply overrides to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ff19cb55fe54501c29d39ed6ace60f1149f25b11a80ec462a23828678a55fb47") public fun linkSharingConfiguration(linkSharingConfiguration: LinkSharingConfigurationProperty.Builder.() -> Unit) /** * The display name of the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-name) * @param name The display name of the dashboard. */ public fun name(name: String) /** * The parameters for the creation of the dashboard, which you want to use to override the * default settings. * * A dashboard can have any type of parameters, and some parameters might accept multiple * values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-parameters) * @param parameters The parameters for the creation of the dashboard, which you want to use to * override the default settings. */ public fun parameters(parameters: IResolvable) /** * The parameters for the creation of the dashboard, which you want to use to override the * default settings. * * A dashboard can have any type of parameters, and some parameters might accept multiple * values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-parameters) * @param parameters The parameters for the creation of the dashboard, which you want to use to * override the default settings. */ public fun parameters(parameters: ParametersProperty) /** * The parameters for the creation of the dashboard, which you want to use to override the * default settings. * * A dashboard can have any type of parameters, and some parameters might accept multiple * values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-parameters) * @param parameters The parameters for the creation of the dashboard, which you want to use to * override the default settings. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e5327e8804e9f065050eb236a4620bf6fcb9f756ef46a222c841eae498ab22dd") public fun parameters(parameters: ParametersProperty.Builder.() -> Unit) /** * A structure that contains the permissions of the dashboard. * * You can use this structure for granting permissions by providing a list of IAM action * information for each principal ARN. * * To specify no permissions, omit the permissions list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-permissions) * @param permissions A structure that contains the permissions of the dashboard. */ public fun permissions(permissions: IResolvable) /** * A structure that contains the permissions of the dashboard. * * You can use this structure for granting permissions by providing a list of IAM action * information for each principal ARN. * * To specify no permissions, omit the permissions list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-permissions) * @param permissions A structure that contains the permissions of the dashboard. */ public fun permissions(permissions: List) /** * A structure that contains the permissions of the dashboard. * * You can use this structure for granting permissions by providing a list of IAM action * information for each principal ARN. * * To specify no permissions, omit the permissions list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-permissions) * @param permissions A structure that contains the permissions of the dashboard. */ public fun permissions(vararg permissions: Any) /** * The entity that you are using as a source when you create the dashboard. * * In `SourceEntity` , you specify the type of object that you want to use. You can only create * a dashboard from a template, so you use a `SourceTemplate` entity. If you need to create a * dashboard from an analysis, first convert the analysis to a template by using the * `CreateTemplate` API operation. For `SourceTemplate` , specify the Amazon Resource Name (ARN) of * the source template. The `SourceTemplate` ARN can contain any AWS account; and any * QuickSight-supported AWS Region . * * Use the `DataSetReferences` entity within `SourceTemplate` to list the replacement datasets * for the placeholders listed in the original. The schema in each dataset must match its * placeholder. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-sourceentity) * @param sourceEntity The entity that you are using as a source when you create the dashboard. */ public fun sourceEntity(sourceEntity: IResolvable) /** * The entity that you are using as a source when you create the dashboard. * * In `SourceEntity` , you specify the type of object that you want to use. You can only create * a dashboard from a template, so you use a `SourceTemplate` entity. If you need to create a * dashboard from an analysis, first convert the analysis to a template by using the * `CreateTemplate` API operation. For `SourceTemplate` , specify the Amazon Resource Name (ARN) of * the source template. The `SourceTemplate` ARN can contain any AWS account; and any * QuickSight-supported AWS Region . * * Use the `DataSetReferences` entity within `SourceTemplate` to list the replacement datasets * for the placeholders listed in the original. The schema in each dataset must match its * placeholder. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-sourceentity) * @param sourceEntity The entity that you are using as a source when you create the dashboard. */ public fun sourceEntity(sourceEntity: DashboardSourceEntityProperty) /** * The entity that you are using as a source when you create the dashboard. * * In `SourceEntity` , you specify the type of object that you want to use. You can only create * a dashboard from a template, so you use a `SourceTemplate` entity. If you need to create a * dashboard from an analysis, first convert the analysis to a template by using the * `CreateTemplate` API operation. For `SourceTemplate` , specify the Amazon Resource Name (ARN) of * the source template. The `SourceTemplate` ARN can contain any AWS account; and any * QuickSight-supported AWS Region . * * Use the `DataSetReferences` entity within `SourceTemplate` to list the replacement datasets * for the placeholders listed in the original. The schema in each dataset must match its * placeholder. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-sourceentity) * @param sourceEntity The entity that you are using as a source when you create the dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("75ec50f544eb62a4f6ee067fa53595f14bc5973f9511d1e51121fda051c7bb3a") public fun sourceEntity(sourceEntity: DashboardSourceEntityProperty.Builder.() -> Unit) /** * Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-tags) * @param tags Contains a map of the key-value pairs for the resource tag or tags assigned to * the dashboard. */ public fun tags(tags: List) /** * Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-tags) * @param tags Contains a map of the key-value pairs for the resource tag or tags assigned to * the dashboard. */ public fun tags(vararg tags: CfnTag) /** * The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. * * If you add a value for this field, it overrides the value that is used in the source entity. * The theme ARN must exist in the same AWS account where you create the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-themearn) * @param themeArn The Amazon Resource Name (ARN) of the theme that is being used for this * dashboard. */ public fun themeArn(themeArn: String) /** * The option to relax the validation that is required to create and update analyses, * dashboards, and templates with definition objects. * * When you set this value to `LENIENT` , validation is skipped for specific errors. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-validationstrategy) * @param validationStrategy The option to relax the validation that is required to create and * update analyses, dashboards, and templates with definition objects. */ public fun validationStrategy(validationStrategy: IResolvable) /** * The option to relax the validation that is required to create and update analyses, * dashboards, and templates with definition objects. * * When you set this value to `LENIENT` , validation is skipped for specific errors. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-validationstrategy) * @param validationStrategy The option to relax the validation that is required to create and * update analyses, dashboards, and templates with definition objects. */ public fun validationStrategy(validationStrategy: ValidationStrategyProperty) /** * The option to relax the validation that is required to create and update analyses, * dashboards, and templates with definition objects. * * When you set this value to `LENIENT` , validation is skipped for specific errors. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-validationstrategy) * @param validationStrategy The option to relax the validation that is required to create and * update analyses, dashboards, and templates with definition objects. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("db2b5ff2ec9e572c0a63764e16ec833003b4c21aaba60c42426da226c43d121f") public fun validationStrategy(validationStrategy: ValidationStrategyProperty.Builder.() -> Unit) /** * A description for the first version of the dashboard being created. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-versiondescription) * @param versionDescription A description for the first version of the dashboard being created. * */ public fun versionDescription(versionDescription: String) } private class BuilderImpl( scope: SoftwareConstructsConstruct, id: String, ) : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.Builder.create(scope, id) /** * The ID of the AWS account where you want to create the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-awsaccountid) * @param awsAccountId The ID of the AWS account where you want to create the dashboard. */ override fun awsAccountId(awsAccountId: String) { cdkBuilder.awsAccountId(awsAccountId) } /** * The ID for the dashboard, also added to the IAM policy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-dashboardid) * @param dashboardId The ID for the dashboard, also added to the IAM policy. */ override fun dashboardId(dashboardId: String) { cdkBuilder.dashboardId(dashboardId) } /** * Options for publishing the dashboard when you create it:. * * * `AvailabilityStatus` for `AdHocFilteringOption` - This status can be either `ENABLED` or * `DISABLED` . When this is set to `DISABLED` , Amazon QuickSight disables the left filter pane on * the published dashboard, which can be used for ad hoc (one-time) filtering. This option is * `ENABLED` by default. * * `AvailabilityStatus` for `ExportToCSVOption` - This status can be either `ENABLED` or * `DISABLED` . The visual option to export data to .CSV format isn't enabled when this is set to * `DISABLED` . This option is `ENABLED` by default. * * `VisibilityState` for `SheetControlsOption` - This visibility state can be either * `COLLAPSED` or `EXPANDED` . This option is `COLLAPSED` by default. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-dashboardpublishoptions) * @param dashboardPublishOptions Options for publishing the dashboard when you create it:. */ override fun dashboardPublishOptions(dashboardPublishOptions: IResolvable) { cdkBuilder.dashboardPublishOptions(dashboardPublishOptions.let(IResolvable.Companion::unwrap)) } /** * Options for publishing the dashboard when you create it:. * * * `AvailabilityStatus` for `AdHocFilteringOption` - This status can be either `ENABLED` or * `DISABLED` . When this is set to `DISABLED` , Amazon QuickSight disables the left filter pane on * the published dashboard, which can be used for ad hoc (one-time) filtering. This option is * `ENABLED` by default. * * `AvailabilityStatus` for `ExportToCSVOption` - This status can be either `ENABLED` or * `DISABLED` . The visual option to export data to .CSV format isn't enabled when this is set to * `DISABLED` . This option is `ENABLED` by default. * * `VisibilityState` for `SheetControlsOption` - This visibility state can be either * `COLLAPSED` or `EXPANDED` . This option is `COLLAPSED` by default. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-dashboardpublishoptions) * @param dashboardPublishOptions Options for publishing the dashboard when you create it:. */ override fun dashboardPublishOptions(dashboardPublishOptions: DashboardPublishOptionsProperty) { cdkBuilder.dashboardPublishOptions(dashboardPublishOptions.let(DashboardPublishOptionsProperty.Companion::unwrap)) } /** * Options for publishing the dashboard when you create it:. * * * `AvailabilityStatus` for `AdHocFilteringOption` - This status can be either `ENABLED` or * `DISABLED` . When this is set to `DISABLED` , Amazon QuickSight disables the left filter pane on * the published dashboard, which can be used for ad hoc (one-time) filtering. This option is * `ENABLED` by default. * * `AvailabilityStatus` for `ExportToCSVOption` - This status can be either `ENABLED` or * `DISABLED` . The visual option to export data to .CSV format isn't enabled when this is set to * `DISABLED` . This option is `ENABLED` by default. * * `VisibilityState` for `SheetControlsOption` - This visibility state can be either * `COLLAPSED` or `EXPANDED` . This option is `COLLAPSED` by default. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-dashboardpublishoptions) * @param dashboardPublishOptions Options for publishing the dashboard when you create it:. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5aaf80258cc551d7309b40c5dd6de7a43dc434f2abf7c3e2b3580de715e57107") override fun dashboardPublishOptions(dashboardPublishOptions: DashboardPublishOptionsProperty.Builder.() -> Unit): Unit = dashboardPublishOptions(DashboardPublishOptionsProperty(dashboardPublishOptions)) /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-definition) * @param definition */ override fun definition(definition: IResolvable) { cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-definition) * @param definition */ override fun definition(definition: DashboardVersionDefinitionProperty) { cdkBuilder.definition(definition.let(DashboardVersionDefinitionProperty.Companion::unwrap)) } /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-definition) * @param definition */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("712a1ec51c5e6e21d667ae72f48e5865e89c6ca695c8adc91813b6be8c59c5cc") override fun definition(definition: DashboardVersionDefinitionProperty.Builder.() -> Unit): Unit = definition(DashboardVersionDefinitionProperty(definition)) /** * A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-linkentities) * @param linkEntities A list of analysis Amazon Resource Names (ARNs) to be linked to the * dashboard. */ override fun linkEntities(linkEntities: List) { cdkBuilder.linkEntities(linkEntities) } /** * A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-linkentities) * @param linkEntities A list of analysis Amazon Resource Names (ARNs) to be linked to the * dashboard. */ override fun linkEntities(vararg linkEntities: String): Unit = linkEntities(linkEntities.toList()) /** * A structure that contains the link sharing configurations that you want to apply overrides * to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-linksharingconfiguration) * @param linkSharingConfiguration A structure that contains the link sharing configurations * that you want to apply overrides to. */ override fun linkSharingConfiguration(linkSharingConfiguration: IResolvable) { cdkBuilder.linkSharingConfiguration(linkSharingConfiguration.let(IResolvable.Companion::unwrap)) } /** * A structure that contains the link sharing configurations that you want to apply overrides * to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-linksharingconfiguration) * @param linkSharingConfiguration A structure that contains the link sharing configurations * that you want to apply overrides to. */ override fun linkSharingConfiguration(linkSharingConfiguration: LinkSharingConfigurationProperty) { cdkBuilder.linkSharingConfiguration(linkSharingConfiguration.let(LinkSharingConfigurationProperty.Companion::unwrap)) } /** * A structure that contains the link sharing configurations that you want to apply overrides * to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-linksharingconfiguration) * @param linkSharingConfiguration A structure that contains the link sharing configurations * that you want to apply overrides to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ff19cb55fe54501c29d39ed6ace60f1149f25b11a80ec462a23828678a55fb47") override fun linkSharingConfiguration(linkSharingConfiguration: LinkSharingConfigurationProperty.Builder.() -> Unit): Unit = linkSharingConfiguration(LinkSharingConfigurationProperty(linkSharingConfiguration)) /** * The display name of the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-name) * @param name The display name of the dashboard. */ override fun name(name: String) { cdkBuilder.name(name) } /** * The parameters for the creation of the dashboard, which you want to use to override the * default settings. * * A dashboard can have any type of parameters, and some parameters might accept multiple * values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-parameters) * @param parameters The parameters for the creation of the dashboard, which you want to use to * override the default settings. */ override fun parameters(parameters: IResolvable) { cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** * The parameters for the creation of the dashboard, which you want to use to override the * default settings. * * A dashboard can have any type of parameters, and some parameters might accept multiple * values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-parameters) * @param parameters The parameters for the creation of the dashboard, which you want to use to * override the default settings. */ override fun parameters(parameters: ParametersProperty) { cdkBuilder.parameters(parameters.let(ParametersProperty.Companion::unwrap)) } /** * The parameters for the creation of the dashboard, which you want to use to override the * default settings. * * A dashboard can have any type of parameters, and some parameters might accept multiple * values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-parameters) * @param parameters The parameters for the creation of the dashboard, which you want to use to * override the default settings. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e5327e8804e9f065050eb236a4620bf6fcb9f756ef46a222c841eae498ab22dd") override fun parameters(parameters: ParametersProperty.Builder.() -> Unit): Unit = parameters(ParametersProperty(parameters)) /** * A structure that contains the permissions of the dashboard. * * You can use this structure for granting permissions by providing a list of IAM action * information for each principal ARN. * * To specify no permissions, omit the permissions list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-permissions) * @param permissions A structure that contains the permissions of the dashboard. */ override fun permissions(permissions: IResolvable) { cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** * A structure that contains the permissions of the dashboard. * * You can use this structure for granting permissions by providing a list of IAM action * information for each principal ARN. * * To specify no permissions, omit the permissions list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-permissions) * @param permissions A structure that contains the permissions of the dashboard. */ override fun permissions(permissions: List) { cdkBuilder.permissions(permissions.map{CdkObjectWrappers.unwrap(it)}) } /** * A structure that contains the permissions of the dashboard. * * You can use this structure for granting permissions by providing a list of IAM action * information for each principal ARN. * * To specify no permissions, omit the permissions list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-permissions) * @param permissions A structure that contains the permissions of the dashboard. */ override fun permissions(vararg permissions: Any): Unit = permissions(permissions.toList()) /** * The entity that you are using as a source when you create the dashboard. * * In `SourceEntity` , you specify the type of object that you want to use. You can only create * a dashboard from a template, so you use a `SourceTemplate` entity. If you need to create a * dashboard from an analysis, first convert the analysis to a template by using the * `CreateTemplate` API operation. For `SourceTemplate` , specify the Amazon Resource Name (ARN) of * the source template. The `SourceTemplate` ARN can contain any AWS account; and any * QuickSight-supported AWS Region . * * Use the `DataSetReferences` entity within `SourceTemplate` to list the replacement datasets * for the placeholders listed in the original. The schema in each dataset must match its * placeholder. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-sourceentity) * @param sourceEntity The entity that you are using as a source when you create the dashboard. */ override fun sourceEntity(sourceEntity: IResolvable) { cdkBuilder.sourceEntity(sourceEntity.let(IResolvable.Companion::unwrap)) } /** * The entity that you are using as a source when you create the dashboard. * * In `SourceEntity` , you specify the type of object that you want to use. You can only create * a dashboard from a template, so you use a `SourceTemplate` entity. If you need to create a * dashboard from an analysis, first convert the analysis to a template by using the * `CreateTemplate` API operation. For `SourceTemplate` , specify the Amazon Resource Name (ARN) of * the source template. The `SourceTemplate` ARN can contain any AWS account; and any * QuickSight-supported AWS Region . * * Use the `DataSetReferences` entity within `SourceTemplate` to list the replacement datasets * for the placeholders listed in the original. The schema in each dataset must match its * placeholder. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-sourceentity) * @param sourceEntity The entity that you are using as a source when you create the dashboard. */ override fun sourceEntity(sourceEntity: DashboardSourceEntityProperty) { cdkBuilder.sourceEntity(sourceEntity.let(DashboardSourceEntityProperty.Companion::unwrap)) } /** * The entity that you are using as a source when you create the dashboard. * * In `SourceEntity` , you specify the type of object that you want to use. You can only create * a dashboard from a template, so you use a `SourceTemplate` entity. If you need to create a * dashboard from an analysis, first convert the analysis to a template by using the * `CreateTemplate` API operation. For `SourceTemplate` , specify the Amazon Resource Name (ARN) of * the source template. The `SourceTemplate` ARN can contain any AWS account; and any * QuickSight-supported AWS Region . * * Use the `DataSetReferences` entity within `SourceTemplate` to list the replacement datasets * for the placeholders listed in the original. The schema in each dataset must match its * placeholder. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-sourceentity) * @param sourceEntity The entity that you are using as a source when you create the dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("75ec50f544eb62a4f6ee067fa53595f14bc5973f9511d1e51121fda051c7bb3a") override fun sourceEntity(sourceEntity: DashboardSourceEntityProperty.Builder.() -> Unit): Unit = sourceEntity(DashboardSourceEntityProperty(sourceEntity)) /** * Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-tags) * @param tags Contains a map of the key-value pairs for the resource tag or tags assigned to * the dashboard. */ override fun tags(tags: List) { cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** * Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-tags) * @param tags Contains a map of the key-value pairs for the resource tag or tags assigned to * the dashboard. */ override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) /** * The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. * * If you add a value for this field, it overrides the value that is used in the source entity. * The theme ARN must exist in the same AWS account where you create the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-themearn) * @param themeArn The Amazon Resource Name (ARN) of the theme that is being used for this * dashboard. */ override fun themeArn(themeArn: String) { cdkBuilder.themeArn(themeArn) } /** * The option to relax the validation that is required to create and update analyses, * dashboards, and templates with definition objects. * * When you set this value to `LENIENT` , validation is skipped for specific errors. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-validationstrategy) * @param validationStrategy The option to relax the validation that is required to create and * update analyses, dashboards, and templates with definition objects. */ override fun validationStrategy(validationStrategy: IResolvable) { cdkBuilder.validationStrategy(validationStrategy.let(IResolvable.Companion::unwrap)) } /** * The option to relax the validation that is required to create and update analyses, * dashboards, and templates with definition objects. * * When you set this value to `LENIENT` , validation is skipped for specific errors. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-validationstrategy) * @param validationStrategy The option to relax the validation that is required to create and * update analyses, dashboards, and templates with definition objects. */ override fun validationStrategy(validationStrategy: ValidationStrategyProperty) { cdkBuilder.validationStrategy(validationStrategy.let(ValidationStrategyProperty.Companion::unwrap)) } /** * The option to relax the validation that is required to create and update analyses, * dashboards, and templates with definition objects. * * When you set this value to `LENIENT` , validation is skipped for specific errors. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-validationstrategy) * @param validationStrategy The option to relax the validation that is required to create and * update analyses, dashboards, and templates with definition objects. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("db2b5ff2ec9e572c0a63764e16ec833003b4c21aaba60c42426da226c43d121f") override fun validationStrategy(validationStrategy: ValidationStrategyProperty.Builder.() -> Unit): Unit = validationStrategy(ValidationStrategyProperty(validationStrategy)) /** * A description for the first version of the dashboard being created. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-versiondescription) * @param versionDescription A description for the first version of the dashboard being created. * */ override fun versionDescription(versionDescription: String) { cdkBuilder.versionDescription(versionDescription) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard = cdkBuilder.build() } public companion object { public val CFN_RESOURCE_TYPE_NAME: String = software.amazon.awscdk.services.quicksight.CfnDashboard.CFN_RESOURCE_TYPE_NAME public operator fun invoke( scope: CloudshiftdevConstructsConstruct, id: String, block: Builder.() -> Unit = {}, ): CfnDashboard { val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) return CfnDashboard(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard): CfnDashboard = CfnDashboard(cdkObject) internal fun unwrap(wrapped: CfnDashboard): software.amazon.awscdk.services.quicksight.CfnDashboard = wrapped.cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard } /** * An ad hoc (one-time) filtering option. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AdHocFilteringOptionProperty adHocFilteringOptionProperty = * AdHocFilteringOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-adhocfilteringoption.html) */ public interface AdHocFilteringOptionProperty { /** * Availability status. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-adhocfilteringoption.html#cfn-quicksight-dashboard-adhocfilteringoption-availabilitystatus) */ public fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() /** * A builder for [AdHocFilteringOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param availabilityStatus Availability status. */ public fun availabilityStatus(availabilityStatus: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AdHocFilteringOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AdHocFilteringOptionProperty.builder() /** * @param availabilityStatus Availability status. */ override fun availabilityStatus(availabilityStatus: String) { cdkBuilder.availabilityStatus(availabilityStatus) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AdHocFilteringOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AdHocFilteringOptionProperty, ) : CdkObject(cdkObject), AdHocFilteringOptionProperty { /** * Availability status. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-adhocfilteringoption.html#cfn-quicksight-dashboard-adhocfilteringoption-availabilitystatus) */ override fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AdHocFilteringOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AdHocFilteringOptionProperty): AdHocFilteringOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? AdHocFilteringOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AdHocFilteringOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AdHocFilteringOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AdHocFilteringOptionProperty } } /** * An aggregation function aggregates values from a dimension or measure. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AggregationFunctionProperty aggregationFunctionProperty = AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationfunction.html) */ public interface AggregationFunctionProperty { /** * Aggregation for attributes. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationfunction.html#cfn-quicksight-dashboard-aggregationfunction-attributeaggregationfunction) */ public fun attributeAggregationFunction(): Any? = unwrap(this).getAttributeAggregationFunction() /** * Aggregation for categorical values. * * * `COUNT` : Aggregate by the total number of values, including duplicates. * * `DISTINCT_COUNT` : Aggregate by the total number of distinct values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationfunction.html#cfn-quicksight-dashboard-aggregationfunction-categoricalaggregationfunction) */ public fun categoricalAggregationFunction(): String? = unwrap(this).getCategoricalAggregationFunction() /** * Aggregation for date values. * * * `COUNT` : Aggregate by the total number of values, including duplicates. * * `DISTINCT_COUNT` : Aggregate by the total number of distinct values. * * `MIN` : Select the smallest date value. * * `MAX` : Select the largest date value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationfunction.html#cfn-quicksight-dashboard-aggregationfunction-dateaggregationfunction) */ public fun dateAggregationFunction(): String? = unwrap(this).getDateAggregationFunction() /** * Aggregation for numerical values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationfunction.html#cfn-quicksight-dashboard-aggregationfunction-numericalaggregationfunction) */ public fun numericalAggregationFunction(): Any? = unwrap(this).getNumericalAggregationFunction() /** * A builder for [AggregationFunctionProperty] */ @CdkDslMarker public interface Builder { /** * @param attributeAggregationFunction Aggregation for attributes. */ public fun attributeAggregationFunction(attributeAggregationFunction: IResolvable) /** * @param attributeAggregationFunction Aggregation for attributes. */ public fun attributeAggregationFunction(attributeAggregationFunction: AttributeAggregationFunctionProperty) /** * @param attributeAggregationFunction Aggregation for attributes. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("da20f5274e0b2f99964a9e1f927689385422486171eb4b5750f5cb19376c1f9d") public fun attributeAggregationFunction(attributeAggregationFunction: AttributeAggregationFunctionProperty.Builder.() -> Unit) /** * @param categoricalAggregationFunction Aggregation for categorical values. * * `COUNT` : Aggregate by the total number of values, including duplicates. * * `DISTINCT_COUNT` : Aggregate by the total number of distinct values. */ public fun categoricalAggregationFunction(categoricalAggregationFunction: String) /** * @param dateAggregationFunction Aggregation for date values. * * `COUNT` : Aggregate by the total number of values, including duplicates. * * `DISTINCT_COUNT` : Aggregate by the total number of distinct values. * * `MIN` : Select the smallest date value. * * `MAX` : Select the largest date value. */ public fun dateAggregationFunction(dateAggregationFunction: String) /** * @param numericalAggregationFunction Aggregation for numerical values. */ public fun numericalAggregationFunction(numericalAggregationFunction: IResolvable) /** * @param numericalAggregationFunction Aggregation for numerical values. */ public fun numericalAggregationFunction(numericalAggregationFunction: NumericalAggregationFunctionProperty) /** * @param numericalAggregationFunction Aggregation for numerical values. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7d507bdb807cdbfbe00d3bba3297c0bc6b8b9b690766b86461e0ed1f4ed3d0ec") public fun numericalAggregationFunction(numericalAggregationFunction: NumericalAggregationFunctionProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationFunctionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationFunctionProperty.builder() /** * @param attributeAggregationFunction Aggregation for attributes. */ override fun attributeAggregationFunction(attributeAggregationFunction: IResolvable) { cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param attributeAggregationFunction Aggregation for attributes. */ override fun attributeAggregationFunction(attributeAggregationFunction: AttributeAggregationFunctionProperty) { cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(AttributeAggregationFunctionProperty.Companion::unwrap)) } /** * @param attributeAggregationFunction Aggregation for attributes. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("da20f5274e0b2f99964a9e1f927689385422486171eb4b5750f5cb19376c1f9d") override fun attributeAggregationFunction(attributeAggregationFunction: AttributeAggregationFunctionProperty.Builder.() -> Unit): Unit = attributeAggregationFunction(AttributeAggregationFunctionProperty(attributeAggregationFunction)) /** * @param categoricalAggregationFunction Aggregation for categorical values. * * `COUNT` : Aggregate by the total number of values, including duplicates. * * `DISTINCT_COUNT` : Aggregate by the total number of distinct values. */ override fun categoricalAggregationFunction(categoricalAggregationFunction: String) { cdkBuilder.categoricalAggregationFunction(categoricalAggregationFunction) } /** * @param dateAggregationFunction Aggregation for date values. * * `COUNT` : Aggregate by the total number of values, including duplicates. * * `DISTINCT_COUNT` : Aggregate by the total number of distinct values. * * `MIN` : Select the smallest date value. * * `MAX` : Select the largest date value. */ override fun dateAggregationFunction(dateAggregationFunction: String) { cdkBuilder.dateAggregationFunction(dateAggregationFunction) } /** * @param numericalAggregationFunction Aggregation for numerical values. */ override fun numericalAggregationFunction(numericalAggregationFunction: IResolvable) { cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param numericalAggregationFunction Aggregation for numerical values. */ override fun numericalAggregationFunction(numericalAggregationFunction: NumericalAggregationFunctionProperty) { cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(NumericalAggregationFunctionProperty.Companion::unwrap)) } /** * @param numericalAggregationFunction Aggregation for numerical values. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7d507bdb807cdbfbe00d3bba3297c0bc6b8b9b690766b86461e0ed1f4ed3d0ec") override fun numericalAggregationFunction(numericalAggregationFunction: NumericalAggregationFunctionProperty.Builder.() -> Unit): Unit = numericalAggregationFunction(NumericalAggregationFunctionProperty(numericalAggregationFunction)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationFunctionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationFunctionProperty, ) : CdkObject(cdkObject), AggregationFunctionProperty { /** * Aggregation for attributes. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationfunction.html#cfn-quicksight-dashboard-aggregationfunction-attributeaggregationfunction) */ override fun attributeAggregationFunction(): Any? = unwrap(this).getAttributeAggregationFunction() /** * Aggregation for categorical values. * * * `COUNT` : Aggregate by the total number of values, including duplicates. * * `DISTINCT_COUNT` : Aggregate by the total number of distinct values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationfunction.html#cfn-quicksight-dashboard-aggregationfunction-categoricalaggregationfunction) */ override fun categoricalAggregationFunction(): String? = unwrap(this).getCategoricalAggregationFunction() /** * Aggregation for date values. * * * `COUNT` : Aggregate by the total number of values, including duplicates. * * `DISTINCT_COUNT` : Aggregate by the total number of distinct values. * * `MIN` : Select the smallest date value. * * `MAX` : Select the largest date value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationfunction.html#cfn-quicksight-dashboard-aggregationfunction-dateaggregationfunction) */ override fun dateAggregationFunction(): String? = unwrap(this).getDateAggregationFunction() /** * Aggregation for numerical values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationfunction.html#cfn-quicksight-dashboard-aggregationfunction-numericalaggregationfunction) */ override fun numericalAggregationFunction(): Any? = unwrap(this).getNumericalAggregationFunction() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AggregationFunctionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationFunctionProperty): AggregationFunctionProperty = CdkObjectWrappers.wrap(cdkObject) as? AggregationFunctionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AggregationFunctionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationFunctionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationFunctionProperty } } /** * The configuration options to sort aggregated values. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AggregationSortConfigurationProperty aggregationSortConfigurationProperty = * AggregationSortConfigurationProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sortDirection("sortDirection") * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationsortconfiguration.html) */ public interface AggregationSortConfigurationProperty { /** * The function that aggregates the values in `Column` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationsortconfiguration.html#cfn-quicksight-dashboard-aggregationsortconfiguration-aggregationfunction) */ public fun aggregationFunction(): Any? = unwrap(this).getAggregationFunction() /** * The column that determines the sort order of aggregated values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationsortconfiguration.html#cfn-quicksight-dashboard-aggregationsortconfiguration-column) */ public fun column(): Any /** * The sort direction of values. * * * `ASC` : Sort in ascending order. * * `DESC` : Sort in descending order. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationsortconfiguration.html#cfn-quicksight-dashboard-aggregationsortconfiguration-sortdirection) */ public fun sortDirection(): String /** * A builder for [AggregationSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param aggregationFunction The function that aggregates the values in `Column` . */ public fun aggregationFunction(aggregationFunction: IResolvable) /** * @param aggregationFunction The function that aggregates the values in `Column` . */ public fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) /** * @param aggregationFunction The function that aggregates the values in `Column` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7d30d85152c9d20e8fc13f98d6d7e098841558388980d1d2d22911302d3e761f") public fun aggregationFunction(aggregationFunction: AggregationFunctionProperty.Builder.() -> Unit) /** * @param column The column that determines the sort order of aggregated values. */ public fun column(column: IResolvable) /** * @param column The column that determines the sort order of aggregated values. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that determines the sort order of aggregated values. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ca339adc3e31370758e533b09e0a4d3af02d38f2dc52866e58526b7d6c67b4be") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param sortDirection The sort direction of values. * * `ASC` : Sort in ascending order. * * `DESC` : Sort in descending order. */ public fun sortDirection(sortDirection: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationSortConfigurationProperty.builder() /** * @param aggregationFunction The function that aggregates the values in `Column` . */ override fun aggregationFunction(aggregationFunction: IResolvable) { cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The function that aggregates the values in `Column` . */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** * @param aggregationFunction The function that aggregates the values in `Column` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7d30d85152c9d20e8fc13f98d6d7e098841558388980d1d2d22911302d3e761f") override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty.Builder.() -> Unit): Unit = aggregationFunction(AggregationFunctionProperty(aggregationFunction)) /** * @param column The column that determines the sort order of aggregated values. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that determines the sort order of aggregated values. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that determines the sort order of aggregated values. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ca339adc3e31370758e533b09e0a4d3af02d38f2dc52866e58526b7d6c67b4be") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param sortDirection The sort direction of values. * * `ASC` : Sort in ascending order. * * `DESC` : Sort in descending order. */ override fun sortDirection(sortDirection: String) { cdkBuilder.sortDirection(sortDirection) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationSortConfigurationProperty, ) : CdkObject(cdkObject), AggregationSortConfigurationProperty { /** * The function that aggregates the values in `Column` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationsortconfiguration.html#cfn-quicksight-dashboard-aggregationsortconfiguration-aggregationfunction) */ override fun aggregationFunction(): Any? = unwrap(this).getAggregationFunction() /** * The column that determines the sort order of aggregated values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationsortconfiguration.html#cfn-quicksight-dashboard-aggregationsortconfiguration-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The sort direction of values. * * * `ASC` : Sort in ascending order. * * `DESC` : Sort in descending order. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-aggregationsortconfiguration.html#cfn-quicksight-dashboard-aggregationsortconfiguration-sortdirection) */ override fun sortDirection(): String = unwrap(this).getSortDirection() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AggregationSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationSortConfigurationProperty): AggregationSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? AggregationSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AggregationSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationSortConfigurationProperty } } /** * The configuration for default analysis settings. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AnalysisDefaultsProperty analysisDefaultsProperty = AnalysisDefaultsProperty.builder() * .defaultNewSheetConfiguration(DefaultNewSheetConfigurationProperty.builder() * .interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty.builder() * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build()) * .grid(DefaultGridLayoutConfigurationProperty.builder() * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() * .resizeOption("resizeOption") * // the properties below are optional * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build()) * .build()) * .paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty.builder() * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() * .paperMargin(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .paperOrientation("paperOrientation") * .paperSize("paperSize") * .build()) * .build()) * .build()) * .build()) * .sheetContentType("sheetContentType") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-analysisdefaults.html) */ public interface AnalysisDefaultsProperty { /** * The configuration for default new sheet settings. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-analysisdefaults.html#cfn-quicksight-dashboard-analysisdefaults-defaultnewsheetconfiguration) */ public fun defaultNewSheetConfiguration(): Any /** * A builder for [AnalysisDefaultsProperty] */ @CdkDslMarker public interface Builder { /** * @param defaultNewSheetConfiguration The configuration for default new sheet settings. */ public fun defaultNewSheetConfiguration(defaultNewSheetConfiguration: IResolvable) /** * @param defaultNewSheetConfiguration The configuration for default new sheet settings. */ public fun defaultNewSheetConfiguration(defaultNewSheetConfiguration: DefaultNewSheetConfigurationProperty) /** * @param defaultNewSheetConfiguration The configuration for default new sheet settings. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8a090aa772a76acefccd2b961c8cae5767ff69ba0dba4d20ad25a1072c9a0c2a") public fun defaultNewSheetConfiguration(defaultNewSheetConfiguration: DefaultNewSheetConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AnalysisDefaultsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AnalysisDefaultsProperty.builder() /** * @param defaultNewSheetConfiguration The configuration for default new sheet settings. */ override fun defaultNewSheetConfiguration(defaultNewSheetConfiguration: IResolvable) { cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param defaultNewSheetConfiguration The configuration for default new sheet settings. */ override fun defaultNewSheetConfiguration(defaultNewSheetConfiguration: DefaultNewSheetConfigurationProperty) { cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(DefaultNewSheetConfigurationProperty.Companion::unwrap)) } /** * @param defaultNewSheetConfiguration The configuration for default new sheet settings. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8a090aa772a76acefccd2b961c8cae5767ff69ba0dba4d20ad25a1072c9a0c2a") override fun defaultNewSheetConfiguration(defaultNewSheetConfiguration: DefaultNewSheetConfigurationProperty.Builder.() -> Unit): Unit = defaultNewSheetConfiguration(DefaultNewSheetConfigurationProperty(defaultNewSheetConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AnalysisDefaultsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AnalysisDefaultsProperty, ) : CdkObject(cdkObject), AnalysisDefaultsProperty { /** * The configuration for default new sheet settings. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-analysisdefaults.html#cfn-quicksight-dashboard-analysisdefaults-defaultnewsheetconfiguration) */ override fun defaultNewSheetConfiguration(): Any = unwrap(this).getDefaultNewSheetConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AnalysisDefaultsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AnalysisDefaultsProperty): AnalysisDefaultsProperty = CdkObjectWrappers.wrap(cdkObject) as? AnalysisDefaultsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AnalysisDefaultsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AnalysisDefaultsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AnalysisDefaultsProperty } } /** * The date configuration of the filter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AnchorDateConfigurationProperty anchorDateConfigurationProperty = * AnchorDateConfigurationProperty.builder() * .anchorOption("anchorOption") * .parameterName("parameterName") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-anchordateconfiguration.html) */ public interface AnchorDateConfigurationProperty { /** * The options for the date configuration. Choose one of the options below:. * * * `NOW` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-anchordateconfiguration.html#cfn-quicksight-dashboard-anchordateconfiguration-anchoroption) */ public fun anchorOption(): String? = unwrap(this).getAnchorOption() /** * The name of the parameter that is used for the anchor date configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-anchordateconfiguration.html#cfn-quicksight-dashboard-anchordateconfiguration-parametername) */ public fun parameterName(): String? = unwrap(this).getParameterName() /** * A builder for [AnchorDateConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param anchorOption The options for the date configuration. Choose one of the options * below:. * * `NOW` */ public fun anchorOption(anchorOption: String) /** * @param parameterName The name of the parameter that is used for the anchor date * configuration. */ public fun parameterName(parameterName: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AnchorDateConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AnchorDateConfigurationProperty.builder() /** * @param anchorOption The options for the date configuration. Choose one of the options * below:. * * `NOW` */ override fun anchorOption(anchorOption: String) { cdkBuilder.anchorOption(anchorOption) } /** * @param parameterName The name of the parameter that is used for the anchor date * configuration. */ override fun parameterName(parameterName: String) { cdkBuilder.parameterName(parameterName) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AnchorDateConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AnchorDateConfigurationProperty, ) : CdkObject(cdkObject), AnchorDateConfigurationProperty { /** * The options for the date configuration. Choose one of the options below:. * * * `NOW` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-anchordateconfiguration.html#cfn-quicksight-dashboard-anchordateconfiguration-anchoroption) */ override fun anchorOption(): String? = unwrap(this).getAnchorOption() /** * The name of the parameter that is used for the anchor date configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-anchordateconfiguration.html#cfn-quicksight-dashboard-anchordateconfiguration-parametername) */ override fun parameterName(): String? = unwrap(this).getParameterName() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AnchorDateConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AnchorDateConfigurationProperty): AnchorDateConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? AnchorDateConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AnchorDateConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AnchorDateConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AnchorDateConfigurationProperty } } /** * The arc axis configuration of a `GaugeChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ArcAxisConfigurationProperty arcAxisConfigurationProperty = * ArcAxisConfigurationProperty.builder() * .range(ArcAxisDisplayRangeProperty.builder() * .max(123) * .min(123) * .build()) * .reserveRange(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcaxisconfiguration.html) */ public interface ArcAxisConfigurationProperty { /** * The arc axis range of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcaxisconfiguration.html#cfn-quicksight-dashboard-arcaxisconfiguration-range) */ public fun range(): Any? = unwrap(this).getRange() /** * The reserved range of the arc axis. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcaxisconfiguration.html#cfn-quicksight-dashboard-arcaxisconfiguration-reserverange) */ public fun reserveRange(): Number? = unwrap(this).getReserveRange() /** * A builder for [ArcAxisConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param range The arc axis range of a `GaugeChartVisual` . */ public fun range(range: IResolvable) /** * @param range The arc axis range of a `GaugeChartVisual` . */ public fun range(range: ArcAxisDisplayRangeProperty) /** * @param range The arc axis range of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4148135f1b709a02e7dc9f85e16f916db146a05354a30f3468197fa2d5ce9823") public fun range(range: ArcAxisDisplayRangeProperty.Builder.() -> Unit) /** * @param reserveRange The reserved range of the arc axis. */ public fun reserveRange(reserveRange: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisConfigurationProperty.builder() /** * @param range The arc axis range of a `GaugeChartVisual` . */ override fun range(range: IResolvable) { cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range The arc axis range of a `GaugeChartVisual` . */ override fun range(range: ArcAxisDisplayRangeProperty) { cdkBuilder.range(range.let(ArcAxisDisplayRangeProperty.Companion::unwrap)) } /** * @param range The arc axis range of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4148135f1b709a02e7dc9f85e16f916db146a05354a30f3468197fa2d5ce9823") override fun range(range: ArcAxisDisplayRangeProperty.Builder.() -> Unit): Unit = range(ArcAxisDisplayRangeProperty(range)) /** * @param reserveRange The reserved range of the arc axis. */ override fun reserveRange(reserveRange: Number) { cdkBuilder.reserveRange(reserveRange) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisConfigurationProperty, ) : CdkObject(cdkObject), ArcAxisConfigurationProperty { /** * The arc axis range of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcaxisconfiguration.html#cfn-quicksight-dashboard-arcaxisconfiguration-range) */ override fun range(): Any? = unwrap(this).getRange() /** * The reserved range of the arc axis. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcaxisconfiguration.html#cfn-quicksight-dashboard-arcaxisconfiguration-reserverange) */ override fun reserveRange(): Number? = unwrap(this).getReserveRange() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ArcAxisConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisConfigurationProperty): ArcAxisConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ArcAxisConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ArcAxisConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisConfigurationProperty } } /** * The arc axis range of a `GaugeChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ArcAxisDisplayRangeProperty arcAxisDisplayRangeProperty = ArcAxisDisplayRangeProperty.builder() * .max(123) * .min(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcaxisdisplayrange.html) */ public interface ArcAxisDisplayRangeProperty { /** * The maximum value of the arc axis range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcaxisdisplayrange.html#cfn-quicksight-dashboard-arcaxisdisplayrange-max) */ public fun max(): Number? = unwrap(this).getMax() /** * The minimum value of the arc axis range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcaxisdisplayrange.html#cfn-quicksight-dashboard-arcaxisdisplayrange-min) */ public fun min(): Number? = unwrap(this).getMin() /** * A builder for [ArcAxisDisplayRangeProperty] */ @CdkDslMarker public interface Builder { /** * @param max The maximum value of the arc axis range. */ public fun max(max: Number) /** * @param min The minimum value of the arc axis range. */ public fun min(min: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisDisplayRangeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisDisplayRangeProperty.builder() /** * @param max The maximum value of the arc axis range. */ override fun max(max: Number) { cdkBuilder.max(max) } /** * @param min The minimum value of the arc axis range. */ override fun min(min: Number) { cdkBuilder.min(min) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisDisplayRangeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisDisplayRangeProperty, ) : CdkObject(cdkObject), ArcAxisDisplayRangeProperty { /** * The maximum value of the arc axis range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcaxisdisplayrange.html#cfn-quicksight-dashboard-arcaxisdisplayrange-max) */ override fun max(): Number? = unwrap(this).getMax() /** * The minimum value of the arc axis range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcaxisdisplayrange.html#cfn-quicksight-dashboard-arcaxisdisplayrange-min) */ override fun min(): Number? = unwrap(this).getMin() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ArcAxisDisplayRangeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisDisplayRangeProperty): ArcAxisDisplayRangeProperty = CdkObjectWrappers.wrap(cdkObject) as? ArcAxisDisplayRangeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ArcAxisDisplayRangeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisDisplayRangeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ArcAxisDisplayRangeProperty } } /** * The arc configuration of a `GaugeChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ArcConfigurationProperty arcConfigurationProperty = ArcConfigurationProperty.builder() * .arcAngle(123) * .arcThickness("arcThickness") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcconfiguration.html) */ public interface ArcConfigurationProperty { /** * The option that determines the arc angle of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcconfiguration.html#cfn-quicksight-dashboard-arcconfiguration-arcangle) */ public fun arcAngle(): Number? = unwrap(this).getArcAngle() /** * The options that determine the arc thickness of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcconfiguration.html#cfn-quicksight-dashboard-arcconfiguration-arcthickness) */ public fun arcThickness(): String? = unwrap(this).getArcThickness() /** * A builder for [ArcConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param arcAngle The option that determines the arc angle of a `GaugeChartVisual` . */ public fun arcAngle(arcAngle: Number) /** * @param arcThickness The options that determine the arc thickness of a `GaugeChartVisual` . */ public fun arcThickness(arcThickness: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ArcConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ArcConfigurationProperty.builder() /** * @param arcAngle The option that determines the arc angle of a `GaugeChartVisual` . */ override fun arcAngle(arcAngle: Number) { cdkBuilder.arcAngle(arcAngle) } /** * @param arcThickness The options that determine the arc thickness of a `GaugeChartVisual` . */ override fun arcThickness(arcThickness: String) { cdkBuilder.arcThickness(arcThickness) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ArcConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ArcConfigurationProperty, ) : CdkObject(cdkObject), ArcConfigurationProperty { /** * The option that determines the arc angle of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcconfiguration.html#cfn-quicksight-dashboard-arcconfiguration-arcangle) */ override fun arcAngle(): Number? = unwrap(this).getArcAngle() /** * The options that determine the arc thickness of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcconfiguration.html#cfn-quicksight-dashboard-arcconfiguration-arcthickness) */ override fun arcThickness(): String? = unwrap(this).getArcThickness() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ArcConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ArcConfigurationProperty): ArcConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ArcConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ArcConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ArcConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ArcConfigurationProperty } } /** * The options that determine the arc thickness of a `GaugeChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ArcOptionsProperty arcOptionsProperty = ArcOptionsProperty.builder() * .arcThickness("arcThickness") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcoptions.html) */ public interface ArcOptionsProperty { /** * The arc thickness of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcoptions.html#cfn-quicksight-dashboard-arcoptions-arcthickness) */ public fun arcThickness(): String? = unwrap(this).getArcThickness() /** * A builder for [ArcOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param arcThickness The arc thickness of a `GaugeChartVisual` . */ public fun arcThickness(arcThickness: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ArcOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ArcOptionsProperty.builder() /** * @param arcThickness The arc thickness of a `GaugeChartVisual` . */ override fun arcThickness(arcThickness: String) { cdkBuilder.arcThickness(arcThickness) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ArcOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ArcOptionsProperty, ) : CdkObject(cdkObject), ArcOptionsProperty { /** * The arc thickness of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-arcoptions.html#cfn-quicksight-dashboard-arcoptions-arcthickness) */ override fun arcThickness(): String? = unwrap(this).getArcThickness() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ArcOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ArcOptionsProperty): ArcOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? ArcOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ArcOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ArcOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ArcOptionsProperty } } /** * An array of analysis level configurations. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AssetOptionsProperty assetOptionsProperty = AssetOptionsProperty.builder() * .timezone("timezone") * .weekStart("weekStart") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-assetoptions.html) */ public interface AssetOptionsProperty { /** * Determines the timezone for the analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-assetoptions.html#cfn-quicksight-dashboard-assetoptions-timezone) */ public fun timezone(): String? = unwrap(this).getTimezone() /** * Determines the week start day for an analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-assetoptions.html#cfn-quicksight-dashboard-assetoptions-weekstart) */ public fun weekStart(): String? = unwrap(this).getWeekStart() /** * A builder for [AssetOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param timezone Determines the timezone for the analysis. */ public fun timezone(timezone: String) /** * @param weekStart Determines the week start day for an analysis. */ public fun weekStart(weekStart: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AssetOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AssetOptionsProperty.builder() /** * @param timezone Determines the timezone for the analysis. */ override fun timezone(timezone: String) { cdkBuilder.timezone(timezone) } /** * @param weekStart Determines the week start day for an analysis. */ override fun weekStart(weekStart: String) { cdkBuilder.weekStart(weekStart) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AssetOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AssetOptionsProperty, ) : CdkObject(cdkObject), AssetOptionsProperty { /** * Determines the timezone for the analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-assetoptions.html#cfn-quicksight-dashboard-assetoptions-timezone) */ override fun timezone(): String? = unwrap(this).getTimezone() /** * Determines the week start day for an analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-assetoptions.html#cfn-quicksight-dashboard-assetoptions-weekstart) */ override fun weekStart(): String? = unwrap(this).getWeekStart() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AssetOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AssetOptionsProperty): AssetOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? AssetOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AssetOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AssetOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AssetOptionsProperty } } /** * Aggregation for attributes. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AttributeAggregationFunctionProperty attributeAggregationFunctionProperty = * AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-attributeaggregationfunction.html) */ public interface AttributeAggregationFunctionProperty { /** * The built-in aggregation functions for attributes. * * * `UNIQUE_VALUE` : Returns the unique value for a field, aggregated by the dimension fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-attributeaggregationfunction.html#cfn-quicksight-dashboard-attributeaggregationfunction-simpleattributeaggregation) */ public fun simpleAttributeAggregation(): String? = unwrap(this).getSimpleAttributeAggregation() /** * Used by the `UNIQUE_VALUE` aggregation function. * * If there are multiple values for the field used by the aggregation, the value for this * property will be returned instead. Defaults to '*'. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-attributeaggregationfunction.html#cfn-quicksight-dashboard-attributeaggregationfunction-valueformultiplevalues) */ public fun valueForMultipleValues(): String? = unwrap(this).getValueForMultipleValues() /** * A builder for [AttributeAggregationFunctionProperty] */ @CdkDslMarker public interface Builder { /** * @param simpleAttributeAggregation The built-in aggregation functions for attributes. * * `UNIQUE_VALUE` : Returns the unique value for a field, aggregated by the dimension * fields. */ public fun simpleAttributeAggregation(simpleAttributeAggregation: String) /** * @param valueForMultipleValues Used by the `UNIQUE_VALUE` aggregation function. * If there are multiple values for the field used by the aggregation, the value for this * property will be returned instead. Defaults to '*'. */ public fun valueForMultipleValues(valueForMultipleValues: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AttributeAggregationFunctionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AttributeAggregationFunctionProperty.builder() /** * @param simpleAttributeAggregation The built-in aggregation functions for attributes. * * `UNIQUE_VALUE` : Returns the unique value for a field, aggregated by the dimension * fields. */ override fun simpleAttributeAggregation(simpleAttributeAggregation: String) { cdkBuilder.simpleAttributeAggregation(simpleAttributeAggregation) } /** * @param valueForMultipleValues Used by the `UNIQUE_VALUE` aggregation function. * If there are multiple values for the field used by the aggregation, the value for this * property will be returned instead. Defaults to '*'. */ override fun valueForMultipleValues(valueForMultipleValues: String) { cdkBuilder.valueForMultipleValues(valueForMultipleValues) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AttributeAggregationFunctionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AttributeAggregationFunctionProperty, ) : CdkObject(cdkObject), AttributeAggregationFunctionProperty { /** * The built-in aggregation functions for attributes. * * * `UNIQUE_VALUE` : Returns the unique value for a field, aggregated by the dimension * fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-attributeaggregationfunction.html#cfn-quicksight-dashboard-attributeaggregationfunction-simpleattributeaggregation) */ override fun simpleAttributeAggregation(): String? = unwrap(this).getSimpleAttributeAggregation() /** * Used by the `UNIQUE_VALUE` aggregation function. * * If there are multiple values for the field used by the aggregation, the value for this * property will be returned instead. Defaults to '*'. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-attributeaggregationfunction.html#cfn-quicksight-dashboard-attributeaggregationfunction-valueformultiplevalues) */ override fun valueForMultipleValues(): String? = unwrap(this).getValueForMultipleValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AttributeAggregationFunctionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AttributeAggregationFunctionProperty): AttributeAggregationFunctionProperty = CdkObjectWrappers.wrap(cdkObject) as? AttributeAggregationFunctionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AttributeAggregationFunctionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AttributeAggregationFunctionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AttributeAggregationFunctionProperty } } /** * The data options for an axis. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * Object dataDriven; * AxisDataOptionsProperty axisDataOptionsProperty = AxisDataOptionsProperty.builder() * .dateAxisOptions(DateAxisOptionsProperty.builder() * .missingDateVisibility("missingDateVisibility") * .build()) * .numericAxisOptions(NumericAxisOptionsProperty.builder() * .range(AxisDisplayRangeProperty.builder() * .dataDriven(dataDriven) * .minMax(AxisDisplayMinMaxRangeProperty.builder() * .maximum(123) * .minimum(123) * .build()) * .build()) * .scale(AxisScaleProperty.builder() * .linear(AxisLinearScaleProperty.builder() * .stepCount(123) * .stepSize(123) * .build()) * .logarithmic(AxisLogarithmicScaleProperty.builder() * .base(123) * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdataoptions.html) */ public interface AxisDataOptionsProperty { /** * The options for an axis with a date field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdataoptions.html#cfn-quicksight-dashboard-axisdataoptions-dateaxisoptions) */ public fun dateAxisOptions(): Any? = unwrap(this).getDateAxisOptions() /** * The options for an axis with a numeric field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdataoptions.html#cfn-quicksight-dashboard-axisdataoptions-numericaxisoptions) */ public fun numericAxisOptions(): Any? = unwrap(this).getNumericAxisOptions() /** * A builder for [AxisDataOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param dateAxisOptions The options for an axis with a date field. */ public fun dateAxisOptions(dateAxisOptions: IResolvable) /** * @param dateAxisOptions The options for an axis with a date field. */ public fun dateAxisOptions(dateAxisOptions: DateAxisOptionsProperty) /** * @param dateAxisOptions The options for an axis with a date field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e62cb1e54f05f6e5a1b8880c912b464ef0db39066b14c86a2948ee05deb92836") public fun dateAxisOptions(dateAxisOptions: DateAxisOptionsProperty.Builder.() -> Unit) /** * @param numericAxisOptions The options for an axis with a numeric field. */ public fun numericAxisOptions(numericAxisOptions: IResolvable) /** * @param numericAxisOptions The options for an axis with a numeric field. */ public fun numericAxisOptions(numericAxisOptions: NumericAxisOptionsProperty) /** * @param numericAxisOptions The options for an axis with a numeric field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a5f26d0d6984dacfb93d5d810c701051f5b13278fc5a99d3d5c12af7632eb8fc") public fun numericAxisOptions(numericAxisOptions: NumericAxisOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDataOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDataOptionsProperty.builder() /** * @param dateAxisOptions The options for an axis with a date field. */ override fun dateAxisOptions(dateAxisOptions: IResolvable) { cdkBuilder.dateAxisOptions(dateAxisOptions.let(IResolvable.Companion::unwrap)) } /** * @param dateAxisOptions The options for an axis with a date field. */ override fun dateAxisOptions(dateAxisOptions: DateAxisOptionsProperty) { cdkBuilder.dateAxisOptions(dateAxisOptions.let(DateAxisOptionsProperty.Companion::unwrap)) } /** * @param dateAxisOptions The options for an axis with a date field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e62cb1e54f05f6e5a1b8880c912b464ef0db39066b14c86a2948ee05deb92836") override fun dateAxisOptions(dateAxisOptions: DateAxisOptionsProperty.Builder.() -> Unit): Unit = dateAxisOptions(DateAxisOptionsProperty(dateAxisOptions)) /** * @param numericAxisOptions The options for an axis with a numeric field. */ override fun numericAxisOptions(numericAxisOptions: IResolvable) { cdkBuilder.numericAxisOptions(numericAxisOptions.let(IResolvable.Companion::unwrap)) } /** * @param numericAxisOptions The options for an axis with a numeric field. */ override fun numericAxisOptions(numericAxisOptions: NumericAxisOptionsProperty) { cdkBuilder.numericAxisOptions(numericAxisOptions.let(NumericAxisOptionsProperty.Companion::unwrap)) } /** * @param numericAxisOptions The options for an axis with a numeric field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a5f26d0d6984dacfb93d5d810c701051f5b13278fc5a99d3d5c12af7632eb8fc") override fun numericAxisOptions(numericAxisOptions: NumericAxisOptionsProperty.Builder.() -> Unit): Unit = numericAxisOptions(NumericAxisOptionsProperty(numericAxisOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDataOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDataOptionsProperty, ) : CdkObject(cdkObject), AxisDataOptionsProperty { /** * The options for an axis with a date field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdataoptions.html#cfn-quicksight-dashboard-axisdataoptions-dateaxisoptions) */ override fun dateAxisOptions(): Any? = unwrap(this).getDateAxisOptions() /** * The options for an axis with a numeric field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdataoptions.html#cfn-quicksight-dashboard-axisdataoptions-numericaxisoptions) */ override fun numericAxisOptions(): Any? = unwrap(this).getNumericAxisOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AxisDataOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDataOptionsProperty): AxisDataOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? AxisDataOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AxisDataOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDataOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDataOptionsProperty } } /** * The minimum and maximum setup for an axis display range. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AxisDisplayMinMaxRangeProperty axisDisplayMinMaxRangeProperty = * AxisDisplayMinMaxRangeProperty.builder() * .maximum(123) * .minimum(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayminmaxrange.html) */ public interface AxisDisplayMinMaxRangeProperty { /** * The maximum setup for an axis display range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayminmaxrange.html#cfn-quicksight-dashboard-axisdisplayminmaxrange-maximum) */ public fun maximum(): Number? = unwrap(this).getMaximum() /** * The minimum setup for an axis display range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayminmaxrange.html#cfn-quicksight-dashboard-axisdisplayminmaxrange-minimum) */ public fun minimum(): Number? = unwrap(this).getMinimum() /** * A builder for [AxisDisplayMinMaxRangeProperty] */ @CdkDslMarker public interface Builder { /** * @param maximum The maximum setup for an axis display range. */ public fun maximum(maximum: Number) /** * @param minimum The minimum setup for an axis display range. */ public fun minimum(minimum: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayMinMaxRangeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayMinMaxRangeProperty.builder() /** * @param maximum The maximum setup for an axis display range. */ override fun maximum(maximum: Number) { cdkBuilder.maximum(maximum) } /** * @param minimum The minimum setup for an axis display range. */ override fun minimum(minimum: Number) { cdkBuilder.minimum(minimum) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayMinMaxRangeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayMinMaxRangeProperty, ) : CdkObject(cdkObject), AxisDisplayMinMaxRangeProperty { /** * The maximum setup for an axis display range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayminmaxrange.html#cfn-quicksight-dashboard-axisdisplayminmaxrange-maximum) */ override fun maximum(): Number? = unwrap(this).getMaximum() /** * The minimum setup for an axis display range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayminmaxrange.html#cfn-quicksight-dashboard-axisdisplayminmaxrange-minimum) */ override fun minimum(): Number? = unwrap(this).getMinimum() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AxisDisplayMinMaxRangeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayMinMaxRangeProperty): AxisDisplayMinMaxRangeProperty = CdkObjectWrappers.wrap(cdkObject) as? AxisDisplayMinMaxRangeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AxisDisplayMinMaxRangeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayMinMaxRangeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayMinMaxRangeProperty } } /** * The display options for the axis label. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * Object dataDriven; * AxisDisplayOptionsProperty axisDisplayOptionsProperty = AxisDisplayOptionsProperty.builder() * .axisLineVisibility("axisLineVisibility") * .axisOffset("axisOffset") * .dataOptions(AxisDataOptionsProperty.builder() * .dateAxisOptions(DateAxisOptionsProperty.builder() * .missingDateVisibility("missingDateVisibility") * .build()) * .numericAxisOptions(NumericAxisOptionsProperty.builder() * .range(AxisDisplayRangeProperty.builder() * .dataDriven(dataDriven) * .minMax(AxisDisplayMinMaxRangeProperty.builder() * .maximum(123) * .minimum(123) * .build()) * .build()) * .scale(AxisScaleProperty.builder() * .linear(AxisLinearScaleProperty.builder() * .stepCount(123) * .stepSize(123) * .build()) * .logarithmic(AxisLogarithmicScaleProperty.builder() * .base(123) * .build()) * .build()) * .build()) * .build()) * .gridLineVisibility("gridLineVisibility") * .scrollbarOptions(ScrollBarOptionsProperty.builder() * .visibility("visibility") * .visibleRange(VisibleRangeOptionsProperty.builder() * .percentRange(PercentVisibleRangeProperty.builder() * .from(123) * .to(123) * .build()) * .build()) * .build()) * .tickLabelOptions(AxisTickLabelOptionsProperty.builder() * .labelOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .rotationAngle(123) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html) */ public interface AxisDisplayOptionsProperty { /** * Determines whether or not the axis line is visible. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html#cfn-quicksight-dashboard-axisdisplayoptions-axislinevisibility) */ public fun axisLineVisibility(): String? = unwrap(this).getAxisLineVisibility() /** * The offset value that determines the starting placement of the axis within a visual's bounds. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html#cfn-quicksight-dashboard-axisdisplayoptions-axisoffset) */ public fun axisOffset(): String? = unwrap(this).getAxisOffset() /** * The data options for an axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html#cfn-quicksight-dashboard-axisdisplayoptions-dataoptions) */ public fun dataOptions(): Any? = unwrap(this).getDataOptions() /** * Determines whether or not the grid line is visible. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html#cfn-quicksight-dashboard-axisdisplayoptions-gridlinevisibility) */ public fun gridLineVisibility(): String? = unwrap(this).getGridLineVisibility() /** * The scroll bar options for an axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html#cfn-quicksight-dashboard-axisdisplayoptions-scrollbaroptions) */ public fun scrollbarOptions(): Any? = unwrap(this).getScrollbarOptions() /** * The tick label options of an axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html#cfn-quicksight-dashboard-axisdisplayoptions-ticklabeloptions) */ public fun tickLabelOptions(): Any? = unwrap(this).getTickLabelOptions() /** * A builder for [AxisDisplayOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param axisLineVisibility Determines whether or not the axis line is visible. */ public fun axisLineVisibility(axisLineVisibility: String) /** * @param axisOffset The offset value that determines the starting placement of the axis * within a visual's bounds. */ public fun axisOffset(axisOffset: String) /** * @param dataOptions The data options for an axis. */ public fun dataOptions(dataOptions: IResolvable) /** * @param dataOptions The data options for an axis. */ public fun dataOptions(dataOptions: AxisDataOptionsProperty) /** * @param dataOptions The data options for an axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6bd9783db42aedf47e53e4a4567b86cb6e819b30241f975208f1b0ceb26d7e0f") public fun dataOptions(dataOptions: AxisDataOptionsProperty.Builder.() -> Unit) /** * @param gridLineVisibility Determines whether or not the grid line is visible. */ public fun gridLineVisibility(gridLineVisibility: String) /** * @param scrollbarOptions The scroll bar options for an axis. */ public fun scrollbarOptions(scrollbarOptions: IResolvable) /** * @param scrollbarOptions The scroll bar options for an axis. */ public fun scrollbarOptions(scrollbarOptions: ScrollBarOptionsProperty) /** * @param scrollbarOptions The scroll bar options for an axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f74a180e6fb189b1c22e63ae66a95508391b7755ff0be89d9bdb9f0a31ae195f") public fun scrollbarOptions(scrollbarOptions: ScrollBarOptionsProperty.Builder.() -> Unit) /** * @param tickLabelOptions The tick label options of an axis. */ public fun tickLabelOptions(tickLabelOptions: IResolvable) /** * @param tickLabelOptions The tick label options of an axis. */ public fun tickLabelOptions(tickLabelOptions: AxisTickLabelOptionsProperty) /** * @param tickLabelOptions The tick label options of an axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("18f1d9c78aecc058c91fc0f1d28817588639997be2430e8c0e0924e1c53023f4") public fun tickLabelOptions(tickLabelOptions: AxisTickLabelOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayOptionsProperty.builder() /** * @param axisLineVisibility Determines whether or not the axis line is visible. */ override fun axisLineVisibility(axisLineVisibility: String) { cdkBuilder.axisLineVisibility(axisLineVisibility) } /** * @param axisOffset The offset value that determines the starting placement of the axis * within a visual's bounds. */ override fun axisOffset(axisOffset: String) { cdkBuilder.axisOffset(axisOffset) } /** * @param dataOptions The data options for an axis. */ override fun dataOptions(dataOptions: IResolvable) { cdkBuilder.dataOptions(dataOptions.let(IResolvable.Companion::unwrap)) } /** * @param dataOptions The data options for an axis. */ override fun dataOptions(dataOptions: AxisDataOptionsProperty) { cdkBuilder.dataOptions(dataOptions.let(AxisDataOptionsProperty.Companion::unwrap)) } /** * @param dataOptions The data options for an axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6bd9783db42aedf47e53e4a4567b86cb6e819b30241f975208f1b0ceb26d7e0f") override fun dataOptions(dataOptions: AxisDataOptionsProperty.Builder.() -> Unit): Unit = dataOptions(AxisDataOptionsProperty(dataOptions)) /** * @param gridLineVisibility Determines whether or not the grid line is visible. */ override fun gridLineVisibility(gridLineVisibility: String) { cdkBuilder.gridLineVisibility(gridLineVisibility) } /** * @param scrollbarOptions The scroll bar options for an axis. */ override fun scrollbarOptions(scrollbarOptions: IResolvable) { cdkBuilder.scrollbarOptions(scrollbarOptions.let(IResolvable.Companion::unwrap)) } /** * @param scrollbarOptions The scroll bar options for an axis. */ override fun scrollbarOptions(scrollbarOptions: ScrollBarOptionsProperty) { cdkBuilder.scrollbarOptions(scrollbarOptions.let(ScrollBarOptionsProperty.Companion::unwrap)) } /** * @param scrollbarOptions The scroll bar options for an axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f74a180e6fb189b1c22e63ae66a95508391b7755ff0be89d9bdb9f0a31ae195f") override fun scrollbarOptions(scrollbarOptions: ScrollBarOptionsProperty.Builder.() -> Unit): Unit = scrollbarOptions(ScrollBarOptionsProperty(scrollbarOptions)) /** * @param tickLabelOptions The tick label options of an axis. */ override fun tickLabelOptions(tickLabelOptions: IResolvable) { cdkBuilder.tickLabelOptions(tickLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param tickLabelOptions The tick label options of an axis. */ override fun tickLabelOptions(tickLabelOptions: AxisTickLabelOptionsProperty) { cdkBuilder.tickLabelOptions(tickLabelOptions.let(AxisTickLabelOptionsProperty.Companion::unwrap)) } /** * @param tickLabelOptions The tick label options of an axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("18f1d9c78aecc058c91fc0f1d28817588639997be2430e8c0e0924e1c53023f4") override fun tickLabelOptions(tickLabelOptions: AxisTickLabelOptionsProperty.Builder.() -> Unit): Unit = tickLabelOptions(AxisTickLabelOptionsProperty(tickLabelOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayOptionsProperty, ) : CdkObject(cdkObject), AxisDisplayOptionsProperty { /** * Determines whether or not the axis line is visible. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html#cfn-quicksight-dashboard-axisdisplayoptions-axislinevisibility) */ override fun axisLineVisibility(): String? = unwrap(this).getAxisLineVisibility() /** * The offset value that determines the starting placement of the axis within a visual's * bounds. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html#cfn-quicksight-dashboard-axisdisplayoptions-axisoffset) */ override fun axisOffset(): String? = unwrap(this).getAxisOffset() /** * The data options for an axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html#cfn-quicksight-dashboard-axisdisplayoptions-dataoptions) */ override fun dataOptions(): Any? = unwrap(this).getDataOptions() /** * Determines whether or not the grid line is visible. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html#cfn-quicksight-dashboard-axisdisplayoptions-gridlinevisibility) */ override fun gridLineVisibility(): String? = unwrap(this).getGridLineVisibility() /** * The scroll bar options for an axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html#cfn-quicksight-dashboard-axisdisplayoptions-scrollbaroptions) */ override fun scrollbarOptions(): Any? = unwrap(this).getScrollbarOptions() /** * The tick label options of an axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayoptions.html#cfn-quicksight-dashboard-axisdisplayoptions-ticklabeloptions) */ override fun tickLabelOptions(): Any? = unwrap(this).getTickLabelOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AxisDisplayOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayOptionsProperty): AxisDisplayOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? AxisDisplayOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AxisDisplayOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayOptionsProperty } } /** * The range setup of a numeric axis display range. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * Object dataDriven; * AxisDisplayRangeProperty axisDisplayRangeProperty = AxisDisplayRangeProperty.builder() * .dataDriven(dataDriven) * .minMax(AxisDisplayMinMaxRangeProperty.builder() * .maximum(123) * .minimum(123) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayrange.html) */ public interface AxisDisplayRangeProperty { /** * The data-driven setup of an axis display range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayrange.html#cfn-quicksight-dashboard-axisdisplayrange-datadriven) */ public fun dataDriven(): Any? = unwrap(this).getDataDriven() /** * The minimum and maximum setup of an axis display range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayrange.html#cfn-quicksight-dashboard-axisdisplayrange-minmax) */ public fun minMax(): Any? = unwrap(this).getMinMax() /** * A builder for [AxisDisplayRangeProperty] */ @CdkDslMarker public interface Builder { /** * @param dataDriven The data-driven setup of an axis display range. */ public fun dataDriven(dataDriven: Any) /** * @param minMax The minimum and maximum setup of an axis display range. */ public fun minMax(minMax: IResolvable) /** * @param minMax The minimum and maximum setup of an axis display range. */ public fun minMax(minMax: AxisDisplayMinMaxRangeProperty) /** * @param minMax The minimum and maximum setup of an axis display range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("58c5d6bc762cf9b2e52ed6fa3b2ca73e663dbdb3ebe6f6b5720c7d8999eb64fe") public fun minMax(minMax: AxisDisplayMinMaxRangeProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayRangeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayRangeProperty.builder() /** * @param dataDriven The data-driven setup of an axis display range. */ override fun dataDriven(dataDriven: Any) { cdkBuilder.dataDriven(dataDriven) } /** * @param minMax The minimum and maximum setup of an axis display range. */ override fun minMax(minMax: IResolvable) { cdkBuilder.minMax(minMax.let(IResolvable.Companion::unwrap)) } /** * @param minMax The minimum and maximum setup of an axis display range. */ override fun minMax(minMax: AxisDisplayMinMaxRangeProperty) { cdkBuilder.minMax(minMax.let(AxisDisplayMinMaxRangeProperty.Companion::unwrap)) } /** * @param minMax The minimum and maximum setup of an axis display range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("58c5d6bc762cf9b2e52ed6fa3b2ca73e663dbdb3ebe6f6b5720c7d8999eb64fe") override fun minMax(minMax: AxisDisplayMinMaxRangeProperty.Builder.() -> Unit): Unit = minMax(AxisDisplayMinMaxRangeProperty(minMax)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayRangeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayRangeProperty, ) : CdkObject(cdkObject), AxisDisplayRangeProperty { /** * The data-driven setup of an axis display range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayrange.html#cfn-quicksight-dashboard-axisdisplayrange-datadriven) */ override fun dataDriven(): Any? = unwrap(this).getDataDriven() /** * The minimum and maximum setup of an axis display range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisdisplayrange.html#cfn-quicksight-dashboard-axisdisplayrange-minmax) */ override fun minMax(): Any? = unwrap(this).getMinMax() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AxisDisplayRangeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayRangeProperty): AxisDisplayRangeProperty = CdkObjectWrappers.wrap(cdkObject) as? AxisDisplayRangeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AxisDisplayRangeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayRangeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AxisDisplayRangeProperty } } /** * The label options for a chart axis. * * You must specify the field that the label is targeted to. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AxisLabelOptionsProperty axisLabelOptionsProperty = AxisLabelOptionsProperty.builder() * .applyTo(AxisLabelReferenceOptionsProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * .build()) * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislabeloptions.html) */ public interface AxisLabelOptionsProperty { /** * The options that indicate which field the label belongs to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislabeloptions.html#cfn-quicksight-dashboard-axislabeloptions-applyto) */ public fun applyTo(): Any? = unwrap(this).getApplyTo() /** * The text for the axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislabeloptions.html#cfn-quicksight-dashboard-axislabeloptions-customlabel) */ public fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The font configuration of the axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislabeloptions.html#cfn-quicksight-dashboard-axislabeloptions-fontconfiguration) */ public fun fontConfiguration(): Any? = unwrap(this).getFontConfiguration() /** * A builder for [AxisLabelOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param applyTo The options that indicate which field the label belongs to. */ public fun applyTo(applyTo: IResolvable) /** * @param applyTo The options that indicate which field the label belongs to. */ public fun applyTo(applyTo: AxisLabelReferenceOptionsProperty) /** * @param applyTo The options that indicate which field the label belongs to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d3627f9e56dd574a519dd4934fb100c87e88875956e9ebf10d251ec5078d0c02") public fun applyTo(applyTo: AxisLabelReferenceOptionsProperty.Builder.() -> Unit) /** * @param customLabel The text for the axis label. */ public fun customLabel(customLabel: String) /** * @param fontConfiguration The font configuration of the axis label. */ public fun fontConfiguration(fontConfiguration: IResolvable) /** * @param fontConfiguration The font configuration of the axis label. */ public fun fontConfiguration(fontConfiguration: FontConfigurationProperty) /** * @param fontConfiguration The font configuration of the axis label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7ef910feba4437c6271e444a7103161322a45069596a7484c42134fe84edb3c4") public fun fontConfiguration(fontConfiguration: FontConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelOptionsProperty.builder() /** * @param applyTo The options that indicate which field the label belongs to. */ override fun applyTo(applyTo: IResolvable) { cdkBuilder.applyTo(applyTo.let(IResolvable.Companion::unwrap)) } /** * @param applyTo The options that indicate which field the label belongs to. */ override fun applyTo(applyTo: AxisLabelReferenceOptionsProperty) { cdkBuilder.applyTo(applyTo.let(AxisLabelReferenceOptionsProperty.Companion::unwrap)) } /** * @param applyTo The options that indicate which field the label belongs to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d3627f9e56dd574a519dd4934fb100c87e88875956e9ebf10d251ec5078d0c02") override fun applyTo(applyTo: AxisLabelReferenceOptionsProperty.Builder.() -> Unit): Unit = applyTo(AxisLabelReferenceOptionsProperty(applyTo)) /** * @param customLabel The text for the axis label. */ override fun customLabel(customLabel: String) { cdkBuilder.customLabel(customLabel) } /** * @param fontConfiguration The font configuration of the axis label. */ override fun fontConfiguration(fontConfiguration: IResolvable) { cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the axis label. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the axis label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7ef910feba4437c6271e444a7103161322a45069596a7484c42134fe84edb3c4") override fun fontConfiguration(fontConfiguration: FontConfigurationProperty.Builder.() -> Unit): Unit = fontConfiguration(FontConfigurationProperty(fontConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelOptionsProperty, ) : CdkObject(cdkObject), AxisLabelOptionsProperty { /** * The options that indicate which field the label belongs to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislabeloptions.html#cfn-quicksight-dashboard-axislabeloptions-applyto) */ override fun applyTo(): Any? = unwrap(this).getApplyTo() /** * The text for the axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislabeloptions.html#cfn-quicksight-dashboard-axislabeloptions-customlabel) */ override fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The font configuration of the axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislabeloptions.html#cfn-quicksight-dashboard-axislabeloptions-fontconfiguration) */ override fun fontConfiguration(): Any? = unwrap(this).getFontConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AxisLabelOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelOptionsProperty): AxisLabelOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? AxisLabelOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AxisLabelOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelOptionsProperty } } /** * The reference that specifies where the axis label is applied to. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AxisLabelReferenceOptionsProperty axisLabelReferenceOptionsProperty = * AxisLabelReferenceOptionsProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislabelreferenceoptions.html) */ public interface AxisLabelReferenceOptionsProperty { /** * The column that the axis label is targeted to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislabelreferenceoptions.html#cfn-quicksight-dashboard-axislabelreferenceoptions-column) */ public fun column(): Any /** * The field that the axis label is targeted to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislabelreferenceoptions.html#cfn-quicksight-dashboard-axislabelreferenceoptions-fieldid) */ public fun fieldId(): String /** * A builder for [AxisLabelReferenceOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param column The column that the axis label is targeted to. */ public fun column(column: IResolvable) /** * @param column The column that the axis label is targeted to. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the axis label is targeted to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0eeb6b89dc6341a95031adf1c2deec735db01bde2cba03818be6b57d2fe74f8e") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param fieldId The field that the axis label is targeted to. */ public fun fieldId(fieldId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelReferenceOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelReferenceOptionsProperty.builder() /** * @param column The column that the axis label is targeted to. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the axis label is targeted to. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the axis label is targeted to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0eeb6b89dc6341a95031adf1c2deec735db01bde2cba03818be6b57d2fe74f8e") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param fieldId The field that the axis label is targeted to. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelReferenceOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelReferenceOptionsProperty, ) : CdkObject(cdkObject), AxisLabelReferenceOptionsProperty { /** * The column that the axis label is targeted to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislabelreferenceoptions.html#cfn-quicksight-dashboard-axislabelreferenceoptions-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The field that the axis label is targeted to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislabelreferenceoptions.html#cfn-quicksight-dashboard-axislabelreferenceoptions-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AxisLabelReferenceOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelReferenceOptionsProperty): AxisLabelReferenceOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? AxisLabelReferenceOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AxisLabelReferenceOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelReferenceOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelReferenceOptionsProperty } } /** * The liner axis scale setup. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AxisLinearScaleProperty axisLinearScaleProperty = AxisLinearScaleProperty.builder() * .stepCount(123) * .stepSize(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislinearscale.html) */ public interface AxisLinearScaleProperty { /** * The step count setup of a linear axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislinearscale.html#cfn-quicksight-dashboard-axislinearscale-stepcount) */ public fun stepCount(): Number? = unwrap(this).getStepCount() /** * The step size setup of a linear axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislinearscale.html#cfn-quicksight-dashboard-axislinearscale-stepsize) */ public fun stepSize(): Number? = unwrap(this).getStepSize() /** * A builder for [AxisLinearScaleProperty] */ @CdkDslMarker public interface Builder { /** * @param stepCount The step count setup of a linear axis. */ public fun stepCount(stepCount: Number) /** * @param stepSize The step size setup of a linear axis. */ public fun stepSize(stepSize: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLinearScaleProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLinearScaleProperty.builder() /** * @param stepCount The step count setup of a linear axis. */ override fun stepCount(stepCount: Number) { cdkBuilder.stepCount(stepCount) } /** * @param stepSize The step size setup of a linear axis. */ override fun stepSize(stepSize: Number) { cdkBuilder.stepSize(stepSize) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLinearScaleProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLinearScaleProperty, ) : CdkObject(cdkObject), AxisLinearScaleProperty { /** * The step count setup of a linear axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislinearscale.html#cfn-quicksight-dashboard-axislinearscale-stepcount) */ override fun stepCount(): Number? = unwrap(this).getStepCount() /** * The step size setup of a linear axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislinearscale.html#cfn-quicksight-dashboard-axislinearscale-stepsize) */ override fun stepSize(): Number? = unwrap(this).getStepSize() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AxisLinearScaleProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLinearScaleProperty): AxisLinearScaleProperty = CdkObjectWrappers.wrap(cdkObject) as? AxisLinearScaleProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AxisLinearScaleProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLinearScaleProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLinearScaleProperty } } /** * The logarithmic axis scale setup. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AxisLogarithmicScaleProperty axisLogarithmicScaleProperty = * AxisLogarithmicScaleProperty.builder() * .base(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislogarithmicscale.html) */ public interface AxisLogarithmicScaleProperty { /** * The base setup of a logarithmic axis scale. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislogarithmicscale.html#cfn-quicksight-dashboard-axislogarithmicscale-base) */ public fun base(): Number? = unwrap(this).getBase() /** * A builder for [AxisLogarithmicScaleProperty] */ @CdkDslMarker public interface Builder { /** * @param base The base setup of a logarithmic axis scale. */ public fun base(base: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLogarithmicScaleProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLogarithmicScaleProperty.builder() /** * @param base The base setup of a logarithmic axis scale. */ override fun base(base: Number) { cdkBuilder.base(base) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLogarithmicScaleProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLogarithmicScaleProperty, ) : CdkObject(cdkObject), AxisLogarithmicScaleProperty { /** * The base setup of a logarithmic axis scale. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axislogarithmicscale.html#cfn-quicksight-dashboard-axislogarithmicscale-base) */ override fun base(): Number? = unwrap(this).getBase() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AxisLogarithmicScaleProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLogarithmicScaleProperty): AxisLogarithmicScaleProperty = CdkObjectWrappers.wrap(cdkObject) as? AxisLogarithmicScaleProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AxisLogarithmicScaleProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLogarithmicScaleProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLogarithmicScaleProperty } } /** * The scale setup options for a numeric axis display. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AxisScaleProperty axisScaleProperty = AxisScaleProperty.builder() * .linear(AxisLinearScaleProperty.builder() * .stepCount(123) * .stepSize(123) * .build()) * .logarithmic(AxisLogarithmicScaleProperty.builder() * .base(123) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisscale.html) */ public interface AxisScaleProperty { /** * The linear axis scale setup. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisscale.html#cfn-quicksight-dashboard-axisscale-linear) */ public fun linear(): Any? = unwrap(this).getLinear() /** * The logarithmic axis scale setup. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisscale.html#cfn-quicksight-dashboard-axisscale-logarithmic) */ public fun logarithmic(): Any? = unwrap(this).getLogarithmic() /** * A builder for [AxisScaleProperty] */ @CdkDslMarker public interface Builder { /** * @param linear The linear axis scale setup. */ public fun linear(linear: IResolvable) /** * @param linear The linear axis scale setup. */ public fun linear(linear: AxisLinearScaleProperty) /** * @param linear The linear axis scale setup. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9b1d76c6054981b0178b4a67fefc5c45909c2d1ba0ea0811c8f084ee568c84bc") public fun linear(linear: AxisLinearScaleProperty.Builder.() -> Unit) /** * @param logarithmic The logarithmic axis scale setup. */ public fun logarithmic(logarithmic: IResolvable) /** * @param logarithmic The logarithmic axis scale setup. */ public fun logarithmic(logarithmic: AxisLogarithmicScaleProperty) /** * @param logarithmic The logarithmic axis scale setup. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1f66e03b8e9361712c62707a3256211d1204c87009b0aada7d6831234638590a") public fun logarithmic(logarithmic: AxisLogarithmicScaleProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisScaleProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AxisScaleProperty.builder() /** * @param linear The linear axis scale setup. */ override fun linear(linear: IResolvable) { cdkBuilder.linear(linear.let(IResolvable.Companion::unwrap)) } /** * @param linear The linear axis scale setup. */ override fun linear(linear: AxisLinearScaleProperty) { cdkBuilder.linear(linear.let(AxisLinearScaleProperty.Companion::unwrap)) } /** * @param linear The linear axis scale setup. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9b1d76c6054981b0178b4a67fefc5c45909c2d1ba0ea0811c8f084ee568c84bc") override fun linear(linear: AxisLinearScaleProperty.Builder.() -> Unit): Unit = linear(AxisLinearScaleProperty(linear)) /** * @param logarithmic The logarithmic axis scale setup. */ override fun logarithmic(logarithmic: IResolvable) { cdkBuilder.logarithmic(logarithmic.let(IResolvable.Companion::unwrap)) } /** * @param logarithmic The logarithmic axis scale setup. */ override fun logarithmic(logarithmic: AxisLogarithmicScaleProperty) { cdkBuilder.logarithmic(logarithmic.let(AxisLogarithmicScaleProperty.Companion::unwrap)) } /** * @param logarithmic The logarithmic axis scale setup. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1f66e03b8e9361712c62707a3256211d1204c87009b0aada7d6831234638590a") override fun logarithmic(logarithmic: AxisLogarithmicScaleProperty.Builder.() -> Unit): Unit = logarithmic(AxisLogarithmicScaleProperty(logarithmic)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisScaleProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisScaleProperty, ) : CdkObject(cdkObject), AxisScaleProperty { /** * The linear axis scale setup. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisscale.html#cfn-quicksight-dashboard-axisscale-linear) */ override fun linear(): Any? = unwrap(this).getLinear() /** * The logarithmic axis scale setup. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisscale.html#cfn-quicksight-dashboard-axisscale-logarithmic) */ override fun logarithmic(): Any? = unwrap(this).getLogarithmic() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AxisScaleProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisScaleProperty): AxisScaleProperty = CdkObjectWrappers.wrap(cdkObject) as? AxisScaleProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AxisScaleProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisScaleProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AxisScaleProperty } } /** * The tick label options of an axis. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * AxisTickLabelOptionsProperty axisTickLabelOptionsProperty = * AxisTickLabelOptionsProperty.builder() * .labelOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .rotationAngle(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisticklabeloptions.html) */ public interface AxisTickLabelOptionsProperty { /** * Determines whether or not the axis ticks are visible. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisticklabeloptions.html#cfn-quicksight-dashboard-axisticklabeloptions-labeloptions) */ public fun labelOptions(): Any? = unwrap(this).getLabelOptions() /** * The rotation angle of the axis tick labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisticklabeloptions.html#cfn-quicksight-dashboard-axisticklabeloptions-rotationangle) */ public fun rotationAngle(): Number? = unwrap(this).getRotationAngle() /** * A builder for [AxisTickLabelOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param labelOptions Determines whether or not the axis ticks are visible. */ public fun labelOptions(labelOptions: IResolvable) /** * @param labelOptions Determines whether or not the axis ticks are visible. */ public fun labelOptions(labelOptions: LabelOptionsProperty) /** * @param labelOptions Determines whether or not the axis ticks are visible. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4a1e0e96f6bda37a0f7b5f3bc7e18bdd8cbabebfacf7804197babaa1cc71ea1a") public fun labelOptions(labelOptions: LabelOptionsProperty.Builder.() -> Unit) /** * @param rotationAngle The rotation angle of the axis tick labels. */ public fun rotationAngle(rotationAngle: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisTickLabelOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.AxisTickLabelOptionsProperty.builder() /** * @param labelOptions Determines whether or not the axis ticks are visible. */ override fun labelOptions(labelOptions: IResolvable) { cdkBuilder.labelOptions(labelOptions.let(IResolvable.Companion::unwrap)) } /** * @param labelOptions Determines whether or not the axis ticks are visible. */ override fun labelOptions(labelOptions: LabelOptionsProperty) { cdkBuilder.labelOptions(labelOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** * @param labelOptions Determines whether or not the axis ticks are visible. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4a1e0e96f6bda37a0f7b5f3bc7e18bdd8cbabebfacf7804197babaa1cc71ea1a") override fun labelOptions(labelOptions: LabelOptionsProperty.Builder.() -> Unit): Unit = labelOptions(LabelOptionsProperty(labelOptions)) /** * @param rotationAngle The rotation angle of the axis tick labels. */ override fun rotationAngle(rotationAngle: Number) { cdkBuilder.rotationAngle(rotationAngle) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisTickLabelOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisTickLabelOptionsProperty, ) : CdkObject(cdkObject), AxisTickLabelOptionsProperty { /** * Determines whether or not the axis ticks are visible. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisticklabeloptions.html#cfn-quicksight-dashboard-axisticklabeloptions-labeloptions) */ override fun labelOptions(): Any? = unwrap(this).getLabelOptions() /** * The rotation angle of the axis tick labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-axisticklabeloptions.html#cfn-quicksight-dashboard-axisticklabeloptions-rotationangle) */ override fun rotationAngle(): Number? = unwrap(this).getRotationAngle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): AxisTickLabelOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.AxisTickLabelOptionsProperty): AxisTickLabelOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? AxisTickLabelOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: AxisTickLabelOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.AxisTickLabelOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.AxisTickLabelOptionsProperty } } /** * The aggregated field wells of a bar chart. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartaggregatedfieldwells.html) */ public interface BarChartAggregatedFieldWellsProperty { /** * The category (y-axis) field well of a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartaggregatedfieldwells.html#cfn-quicksight-dashboard-barchartaggregatedfieldwells-category) */ public fun category(): Any? = unwrap(this).getCategory() /** * The color (group/color) field well of a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartaggregatedfieldwells.html#cfn-quicksight-dashboard-barchartaggregatedfieldwells-colors) */ public fun colors(): Any? = unwrap(this).getColors() /** * The small multiples field well of a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartaggregatedfieldwells.html#cfn-quicksight-dashboard-barchartaggregatedfieldwells-smallmultiples) */ public fun smallMultiples(): Any? = unwrap(this).getSmallMultiples() /** * The value field wells of a bar chart. * * Values are aggregated by category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartaggregatedfieldwells.html#cfn-quicksight-dashboard-barchartaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [BarChartAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param category The category (y-axis) field well of a bar chart. */ public fun category(category: IResolvable) /** * @param category The category (y-axis) field well of a bar chart. */ public fun category(category: List) /** * @param category The category (y-axis) field well of a bar chart. */ public fun category(vararg category: Any) /** * @param colors The color (group/color) field well of a bar chart. */ public fun colors(colors: IResolvable) /** * @param colors The color (group/color) field well of a bar chart. */ public fun colors(colors: List) /** * @param colors The color (group/color) field well of a bar chart. */ public fun colors(vararg colors: Any) /** * @param smallMultiples The small multiples field well of a bar chart. */ public fun smallMultiples(smallMultiples: IResolvable) /** * @param smallMultiples The small multiples field well of a bar chart. */ public fun smallMultiples(smallMultiples: List) /** * @param smallMultiples The small multiples field well of a bar chart. */ public fun smallMultiples(vararg smallMultiples: Any) /** * @param values The value field wells of a bar chart. * Values are aggregated by category. */ public fun values(values: IResolvable) /** * @param values The value field wells of a bar chart. * Values are aggregated by category. */ public fun values(values: List) /** * @param values The value field wells of a bar chart. * Values are aggregated by category. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartAggregatedFieldWellsProperty.builder() /** * @param category The category (y-axis) field well of a bar chart. */ override fun category(category: IResolvable) { cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category (y-axis) field well of a bar chart. */ override fun category(category: List) { cdkBuilder.category(category.map{CdkObjectWrappers.unwrap(it)}) } /** * @param category The category (y-axis) field well of a bar chart. */ override fun category(vararg category: Any): Unit = category(category.toList()) /** * @param colors The color (group/color) field well of a bar chart. */ override fun colors(colors: IResolvable) { cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** * @param colors The color (group/color) field well of a bar chart. */ override fun colors(colors: List) { cdkBuilder.colors(colors.map{CdkObjectWrappers.unwrap(it)}) } /** * @param colors The color (group/color) field well of a bar chart. */ override fun colors(vararg colors: Any): Unit = colors(colors.toList()) /** * @param smallMultiples The small multiples field well of a bar chart. */ override fun smallMultiples(smallMultiples: IResolvable) { cdkBuilder.smallMultiples(smallMultiples.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiples The small multiples field well of a bar chart. */ override fun smallMultiples(smallMultiples: List) { cdkBuilder.smallMultiples(smallMultiples.map{CdkObjectWrappers.unwrap(it)}) } /** * @param smallMultiples The small multiples field well of a bar chart. */ override fun smallMultiples(vararg smallMultiples: Any): Unit = smallMultiples(smallMultiples.toList()) /** * @param values The value field wells of a bar chart. * Values are aggregated by category. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The value field wells of a bar chart. * Values are aggregated by category. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The value field wells of a bar chart. * Values are aggregated by category. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), BarChartAggregatedFieldWellsProperty { /** * The category (y-axis) field well of a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartaggregatedfieldwells.html#cfn-quicksight-dashboard-barchartaggregatedfieldwells-category) */ override fun category(): Any? = unwrap(this).getCategory() /** * The color (group/color) field well of a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartaggregatedfieldwells.html#cfn-quicksight-dashboard-barchartaggregatedfieldwells-colors) */ override fun colors(): Any? = unwrap(this).getColors() /** * The small multiples field well of a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartaggregatedfieldwells.html#cfn-quicksight-dashboard-barchartaggregatedfieldwells-smallmultiples) */ override fun smallMultiples(): Any? = unwrap(this).getSmallMultiples() /** * The value field wells of a bar chart. * * Values are aggregated by category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartaggregatedfieldwells.html#cfn-quicksight-dashboard-barchartaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BarChartAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartAggregatedFieldWellsProperty): BarChartAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? BarChartAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BarChartAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartAggregatedFieldWellsProperty } } /** * The configuration of a `BarChartVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html) */ public interface BarChartConfigurationProperty { /** * Determines the arrangement of the bars. * * The orientation and arrangement of bars determine the type of bar that is used in the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-barsarrangement) */ public fun barsArrangement(): String? = unwrap(this).getBarsArrangement() /** * The label display options (grid line, range, scale, axis step) for bar chart category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-categoryaxis) */ public fun categoryAxis(): Any? = unwrap(this).getCategoryAxis() /** * The label options (label text, label visibility and sort icon visibility) for a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-categorylabeloptions) */ public fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The label options (label text, label visibility and sort icon visibility) for a color that is * used in a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-colorlabeloptions) */ public fun colorLabelOptions(): Any? = unwrap(this).getColorLabelOptions() /** * The contribution analysis (anomaly configuration) setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-contributionanalysisdefaults) */ public fun contributionAnalysisDefaults(): Any? = unwrap(this).getContributionAnalysisDefaults() /** * The options that determine if visual data labels are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-datalabels) */ public fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-legend) */ public fun legend(): Any? = unwrap(this).getLegend() /** * The orientation of the bars in a bar chart visual. There are two valid values in this * structure:. * * * `HORIZONTAL` : Used for charts that have horizontal bars. Visuals that use this value are * horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts. * * `VERTICAL` : Used for charts that have vertical bars. Visuals that use this value are * vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-orientation) */ public fun orientation(): String? = unwrap(this).getOrientation() /** * The reference line setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-referencelines) */ public fun referenceLines(): Any? = unwrap(this).getReferenceLines() /** * The small multiples setup for the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-smallmultiplesoptions) */ public fun smallMultiplesOptions(): Any? = unwrap(this).getSmallMultiplesOptions() /** * The sort configuration of a `BarChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-tooltip) */ public fun tooltip(): Any? = unwrap(this).getTooltip() /** * The label display options (grid line, range, scale, axis step) for a bar chart value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-valueaxis) */ public fun valueAxis(): Any? = unwrap(this).getValueAxis() /** * The label options (label text, label visibility and sort icon visibility) for a bar chart * value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-valuelabeloptions) */ public fun valueLabelOptions(): Any? = unwrap(this).getValueLabelOptions() /** * The palette (chart color) display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-visualpalette) */ public fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * A builder for [BarChartConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param barsArrangement Determines the arrangement of the bars. * The orientation and arrangement of bars determine the type of bar that is used in the * visual. */ public fun barsArrangement(barsArrangement: String) /** * @param categoryAxis The label display options (grid line, range, scale, axis step) for bar * chart category. */ public fun categoryAxis(categoryAxis: IResolvable) /** * @param categoryAxis The label display options (grid line, range, scale, axis step) for bar * chart category. */ public fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) /** * @param categoryAxis The label display options (grid line, range, scale, axis step) for bar * chart category. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("234646e4e98b0c84fa5c2a1eb9d1973c28144b05cfaab675b5826c46d33fefeb") public fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param categoryLabelOptions The label options (label text, label visibility and sort icon * visibility) for a bar chart. */ public fun categoryLabelOptions(categoryLabelOptions: IResolvable) /** * @param categoryLabelOptions The label options (label text, label visibility and sort icon * visibility) for a bar chart. */ public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) /** * @param categoryLabelOptions The label options (label text, label visibility and sort icon * visibility) for a bar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1b933c7e6298acce298cef39d7e1b988074747ab68e099f15692b09b1788e673") public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param colorLabelOptions The label options (label text, label visibility and sort icon * visibility) for a color that is used in a bar chart. */ public fun colorLabelOptions(colorLabelOptions: IResolvable) /** * @param colorLabelOptions The label options (label text, label visibility and sort icon * visibility) for a color that is used in a bar chart. */ public fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) /** * @param colorLabelOptions The label options (label text, label visibility and sort icon * visibility) for a color that is used in a bar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a1750cfd639518cd9e4e134195413b65e0aef0cadb8589e703709dc2b348488e") public fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup * of the visual. */ public fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) /** * @param contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup * of the visual. */ public fun contributionAnalysisDefaults(contributionAnalysisDefaults: List) /** * @param contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup * of the visual. */ public fun contributionAnalysisDefaults(vararg contributionAnalysisDefaults: Any) /** * @param dataLabels The options that determine if visual data labels are displayed. */ public fun dataLabels(dataLabels: IResolvable) /** * @param dataLabels The options that determine if visual data labels are displayed. */ public fun dataLabels(dataLabels: DataLabelOptionsProperty) /** * @param dataLabels The options that determine if visual data labels are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9b7ebb3c7cfdb282ff4e2e04c2a422d1563c7f6581cbb3623100db614116afd5") public fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: BarChartFieldWellsProperty) /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4dfd603421afb607f18479fe9b1c7db753c26e1e3ab8fbb2c51b1e9f1564cdd9") public fun fieldWells(fieldWells: BarChartFieldWellsProperty.Builder.() -> Unit) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: IResolvable) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: LegendOptionsProperty) /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("168e2021b88f8210d26bb34bce62acae0cd8919db1b48cf0c4dceac94ccf381f") public fun legend(legend: LegendOptionsProperty.Builder.() -> Unit) /** * @param orientation The orientation of the bars in a bar chart visual. There are two valid * values in this structure:. * * `HORIZONTAL` : Used for charts that have horizontal bars. Visuals that use this value are * horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts. * * `VERTICAL` : Used for charts that have vertical bars. Visuals that use this value are * vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts. */ public fun orientation(orientation: String) /** * @param referenceLines The reference line setup of the visual. */ public fun referenceLines(referenceLines: IResolvable) /** * @param referenceLines The reference line setup of the visual. */ public fun referenceLines(referenceLines: List) /** * @param referenceLines The reference line setup of the visual. */ public fun referenceLines(vararg referenceLines: Any) /** * @param smallMultiplesOptions The small multiples setup for the visual. */ public fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) /** * @param smallMultiplesOptions The small multiples setup for the visual. */ public fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) /** * @param smallMultiplesOptions The small multiples setup for the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0059723929286a6b8153b329c53a561b03caf8ae18725d04bc5883bcd116068f") public fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration of a `BarChartVisual` . */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a `BarChartVisual` . */ public fun sortConfiguration(sortConfiguration: BarChartSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a `BarChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("46ca292438ecafdda20b7daabf3f1ca607adc8e730816748a1d0d9449b60bf25") public fun sortConfiguration(sortConfiguration: BarChartSortConfigurationProperty.Builder.() -> Unit) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: IResolvable) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: TooltipOptionsProperty) /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ff228f417e23a19cf4f2dda7fcc5df72dbcb44d954f4178f71a873eaddb4c960") public fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit) /** * @param valueAxis The label display options (grid line, range, scale, axis step) for a bar * chart value. */ public fun valueAxis(valueAxis: IResolvable) /** * @param valueAxis The label display options (grid line, range, scale, axis step) for a bar * chart value. */ public fun valueAxis(valueAxis: AxisDisplayOptionsProperty) /** * @param valueAxis The label display options (grid line, range, scale, axis step) for a bar * chart value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ae70a421e5d1aec9e53bf549e26d8958d1631f1f074ba57744601518fd8edd9c") public fun valueAxis(valueAxis: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param valueLabelOptions The label options (label text, label visibility and sort icon * visibility) for a bar chart value. */ public fun valueLabelOptions(valueLabelOptions: IResolvable) /** * @param valueLabelOptions The label options (label text, label visibility and sort icon * visibility) for a bar chart value. */ public fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) /** * @param valueLabelOptions The label options (label text, label visibility and sort icon * visibility) for a bar chart value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("051ab9bfb73efcfbb2d4dee8927f18ba8ed5ef9c87defe81f2f45e510e64630b") public fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param visualPalette The palette (chart color) display setup of the visual. */ public fun visualPalette(visualPalette: IResolvable) /** * @param visualPalette The palette (chart color) display setup of the visual. */ public fun visualPalette(visualPalette: VisualPaletteProperty) /** * @param visualPalette The palette (chart color) display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b0386ecdc35df1efddc7b9da73263a131ca55b905dbaf873c9bf6c8a0ce698a2") public fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartConfigurationProperty.builder() /** * @param barsArrangement Determines the arrangement of the bars. * The orientation and arrangement of bars determine the type of bar that is used in the * visual. */ override fun barsArrangement(barsArrangement: String) { cdkBuilder.barsArrangement(barsArrangement) } /** * @param categoryAxis The label display options (grid line, range, scale, axis step) for bar * chart category. */ override fun categoryAxis(categoryAxis: IResolvable) { cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** * @param categoryAxis The label display options (grid line, range, scale, axis step) for bar * chart category. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param categoryAxis The label display options (grid line, range, scale, axis step) for bar * chart category. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("234646e4e98b0c84fa5c2a1eb9d1973c28144b05cfaab675b5826c46d33fefeb") override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = categoryAxis(AxisDisplayOptionsProperty(categoryAxis)) /** * @param categoryLabelOptions The label options (label text, label visibility and sort icon * visibility) for a bar chart. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param categoryLabelOptions The label options (label text, label visibility and sort icon * visibility) for a bar chart. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param categoryLabelOptions The label options (label text, label visibility and sort icon * visibility) for a bar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1b933c7e6298acce298cef39d7e1b988074747ab68e099f15692b09b1788e673") override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = categoryLabelOptions(ChartAxisLabelOptionsProperty(categoryLabelOptions)) /** * @param colorLabelOptions The label options (label text, label visibility and sort icon * visibility) for a color that is used in a bar chart. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param colorLabelOptions The label options (label text, label visibility and sort icon * visibility) for a color that is used in a bar chart. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param colorLabelOptions The label options (label text, label visibility and sort icon * visibility) for a color that is used in a bar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a1750cfd639518cd9e4e134195413b65e0aef0cadb8589e703709dc2b348488e") override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = colorLabelOptions(ChartAxisLabelOptionsProperty(colorLabelOptions)) /** * @param contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup * of the visual. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) { cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable.Companion::unwrap)) } /** * @param contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup * of the visual. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: List) { cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.map{CdkObjectWrappers.unwrap(it)}) } /** * @param contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup * of the visual. */ override fun contributionAnalysisDefaults(vararg contributionAnalysisDefaults: Any): Unit = contributionAnalysisDefaults(contributionAnalysisDefaults.toList()) /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9b7ebb3c7cfdb282ff4e2e04c2a422d1563c7f6581cbb3623100db614116afd5") override fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit): Unit = dataLabels(DataLabelOptionsProperty(dataLabels)) /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: BarChartFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(BarChartFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4dfd603421afb607f18479fe9b1c7db753c26e1e3ab8fbb2c51b1e9f1564cdd9") override fun fieldWells(fieldWells: BarChartFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(BarChartFieldWellsProperty(fieldWells)) /** * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("168e2021b88f8210d26bb34bce62acae0cd8919db1b48cf0c4dceac94ccf381f") override fun legend(legend: LegendOptionsProperty.Builder.() -> Unit): Unit = legend(LegendOptionsProperty(legend)) /** * @param orientation The orientation of the bars in a bar chart visual. There are two valid * values in this structure:. * * `HORIZONTAL` : Used for charts that have horizontal bars. Visuals that use this value are * horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts. * * `VERTICAL` : Used for charts that have vertical bars. Visuals that use this value are * vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts. */ override fun orientation(orientation: String) { cdkBuilder.orientation(orientation) } /** * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: IResolvable) { cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: List) { cdkBuilder.referenceLines(referenceLines.map{CdkObjectWrappers.unwrap(it)}) } /** * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(vararg referenceLines: Any): Unit = referenceLines(referenceLines.toList()) /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) { cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) { cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0059723929286a6b8153b329c53a561b03caf8ae18725d04bc5883bcd116068f") override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty.Builder.() -> Unit): Unit = smallMultiplesOptions(SmallMultiplesOptionsProperty(smallMultiplesOptions)) /** * @param sortConfiguration The sort configuration of a `BarChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `BarChartVisual` . */ override fun sortConfiguration(sortConfiguration: BarChartSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(BarChartSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `BarChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("46ca292438ecafdda20b7daabf3f1ca607adc8e730816748a1d0d9449b60bf25") override fun sortConfiguration(sortConfiguration: BarChartSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(BarChartSortConfigurationProperty(sortConfiguration)) /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ff228f417e23a19cf4f2dda7fcc5df72dbcb44d954f4178f71a873eaddb4c960") override fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltip(TooltipOptionsProperty(tooltip)) /** * @param valueAxis The label display options (grid line, range, scale, axis step) for a bar * chart value. */ override fun valueAxis(valueAxis: IResolvable) { cdkBuilder.valueAxis(valueAxis.let(IResolvable.Companion::unwrap)) } /** * @param valueAxis The label display options (grid line, range, scale, axis step) for a bar * chart value. */ override fun valueAxis(valueAxis: AxisDisplayOptionsProperty) { cdkBuilder.valueAxis(valueAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param valueAxis The label display options (grid line, range, scale, axis step) for a bar * chart value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ae70a421e5d1aec9e53bf549e26d8958d1631f1f074ba57744601518fd8edd9c") override fun valueAxis(valueAxis: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = valueAxis(AxisDisplayOptionsProperty(valueAxis)) /** * @param valueLabelOptions The label options (label text, label visibility and sort icon * visibility) for a bar chart value. */ override fun valueLabelOptions(valueLabelOptions: IResolvable) { cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param valueLabelOptions The label options (label text, label visibility and sort icon * visibility) for a bar chart value. */ override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param valueLabelOptions The label options (label text, label visibility and sort icon * visibility) for a bar chart value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("051ab9bfb73efcfbb2d4dee8927f18ba8ed5ef9c87defe81f2f45e510e64630b") override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = valueLabelOptions(ChartAxisLabelOptionsProperty(valueLabelOptions)) /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b0386ecdc35df1efddc7b9da73263a131ca55b905dbaf873c9bf6c8a0ce698a2") override fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit): Unit = visualPalette(VisualPaletteProperty(visualPalette)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartConfigurationProperty, ) : CdkObject(cdkObject), BarChartConfigurationProperty { /** * Determines the arrangement of the bars. * * The orientation and arrangement of bars determine the type of bar that is used in the * visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-barsarrangement) */ override fun barsArrangement(): String? = unwrap(this).getBarsArrangement() /** * The label display options (grid line, range, scale, axis step) for bar chart category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-categoryaxis) */ override fun categoryAxis(): Any? = unwrap(this).getCategoryAxis() /** * The label options (label text, label visibility and sort icon visibility) for a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-categorylabeloptions) */ override fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The label options (label text, label visibility and sort icon visibility) for a color that * is used in a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-colorlabeloptions) */ override fun colorLabelOptions(): Any? = unwrap(this).getColorLabelOptions() /** * The contribution analysis (anomaly configuration) setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-contributionanalysisdefaults) */ override fun contributionAnalysisDefaults(): Any? = unwrap(this).getContributionAnalysisDefaults() /** * The options that determine if visual data labels are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-datalabels) */ override fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-legend) */ override fun legend(): Any? = unwrap(this).getLegend() /** * The orientation of the bars in a bar chart visual. There are two valid values in this * structure:. * * * `HORIZONTAL` : Used for charts that have horizontal bars. Visuals that use this value are * horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts. * * `VERTICAL` : Used for charts that have vertical bars. Visuals that use this value are * vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-orientation) */ override fun orientation(): String? = unwrap(this).getOrientation() /** * The reference line setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-referencelines) */ override fun referenceLines(): Any? = unwrap(this).getReferenceLines() /** * The small multiples setup for the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-smallmultiplesoptions) */ override fun smallMultiplesOptions(): Any? = unwrap(this).getSmallMultiplesOptions() /** * The sort configuration of a `BarChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-tooltip) */ override fun tooltip(): Any? = unwrap(this).getTooltip() /** * The label display options (grid line, range, scale, axis step) for a bar chart value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-valueaxis) */ override fun valueAxis(): Any? = unwrap(this).getValueAxis() /** * The label options (label text, label visibility and sort icon visibility) for a bar chart * value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-valuelabeloptions) */ override fun valueLabelOptions(): Any? = unwrap(this).getValueLabelOptions() /** * The palette (chart color) display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartconfiguration.html#cfn-quicksight-dashboard-barchartconfiguration-visualpalette) */ override fun visualPalette(): Any? = unwrap(this).getVisualPalette() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BarChartConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartConfigurationProperty): BarChartConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? BarChartConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BarChartConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartConfigurationProperty } } /** * The field wells of a `BarChartVisual` . * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartfieldwells.html) */ public interface BarChartFieldWellsProperty { /** * The aggregated field wells of a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartfieldwells.html#cfn-quicksight-dashboard-barchartfieldwells-barchartaggregatedfieldwells) */ public fun barChartAggregatedFieldWells(): Any? = unwrap(this).getBarChartAggregatedFieldWells() /** * A builder for [BarChartFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param barChartAggregatedFieldWells The aggregated field wells of a bar chart. */ public fun barChartAggregatedFieldWells(barChartAggregatedFieldWells: IResolvable) /** * @param barChartAggregatedFieldWells The aggregated field wells of a bar chart. */ public fun barChartAggregatedFieldWells(barChartAggregatedFieldWells: BarChartAggregatedFieldWellsProperty) /** * @param barChartAggregatedFieldWells The aggregated field wells of a bar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("483005e61ee5a32679de93f514d65496bb1910bee4f6705c59fb06c36a881c67") public fun barChartAggregatedFieldWells(barChartAggregatedFieldWells: BarChartAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartFieldWellsProperty.builder() /** * @param barChartAggregatedFieldWells The aggregated field wells of a bar chart. */ override fun barChartAggregatedFieldWells(barChartAggregatedFieldWells: IResolvable) { cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param barChartAggregatedFieldWells The aggregated field wells of a bar chart. */ override fun barChartAggregatedFieldWells(barChartAggregatedFieldWells: BarChartAggregatedFieldWellsProperty) { cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(BarChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param barChartAggregatedFieldWells The aggregated field wells of a bar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("483005e61ee5a32679de93f514d65496bb1910bee4f6705c59fb06c36a881c67") override fun barChartAggregatedFieldWells(barChartAggregatedFieldWells: BarChartAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = barChartAggregatedFieldWells(BarChartAggregatedFieldWellsProperty(barChartAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartFieldWellsProperty, ) : CdkObject(cdkObject), BarChartFieldWellsProperty { /** * The aggregated field wells of a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartfieldwells.html#cfn-quicksight-dashboard-barchartfieldwells-barchartaggregatedfieldwells) */ override fun barChartAggregatedFieldWells(): Any? = unwrap(this).getBarChartAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BarChartFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartFieldWellsProperty): BarChartFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? BarChartFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BarChartFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartFieldWellsProperty } } /** * sort-configuration-description. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * BarChartSortConfigurationProperty barChartSortConfigurationProperty = * BarChartSortConfigurationProperty.builder() * .categoryItemsLimit(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .categorySort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .colorItemsLimit(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .colorSort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .smallMultiplesLimitConfiguration(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .smallMultiplesSort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html) */ public interface BarChartSortConfigurationProperty { /** * The limit on the number of categories displayed in a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html#cfn-quicksight-dashboard-barchartsortconfiguration-categoryitemslimit) */ public fun categoryItemsLimit(): Any? = unwrap(this).getCategoryItemsLimit() /** * The sort configuration of category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html#cfn-quicksight-dashboard-barchartsortconfiguration-categorysort) */ public fun categorySort(): Any? = unwrap(this).getCategorySort() /** * The limit on the number of values displayed in a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html#cfn-quicksight-dashboard-barchartsortconfiguration-coloritemslimit) */ public fun colorItemsLimit(): Any? = unwrap(this).getColorItemsLimit() /** * The sort configuration of color fields in a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html#cfn-quicksight-dashboard-barchartsortconfiguration-colorsort) */ public fun colorSort(): Any? = unwrap(this).getColorSort() /** * The limit on the number of small multiples panels that are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html#cfn-quicksight-dashboard-barchartsortconfiguration-smallmultipleslimitconfiguration) */ public fun smallMultiplesLimitConfiguration(): Any? = unwrap(this).getSmallMultiplesLimitConfiguration() /** * The sort configuration of the small multiples field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html#cfn-quicksight-dashboard-barchartsortconfiguration-smallmultiplessort) */ public fun smallMultiplesSort(): Any? = unwrap(this).getSmallMultiplesSort() /** * A builder for [BarChartSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryItemsLimit The limit on the number of categories displayed in a bar chart. */ public fun categoryItemsLimit(categoryItemsLimit: IResolvable) /** * @param categoryItemsLimit The limit on the number of categories displayed in a bar chart. */ public fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) /** * @param categoryItemsLimit The limit on the number of categories displayed in a bar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8595ff320895801f3004eab66a3a4fb160c4cda2e809d72cf2acd02a602e788a") public fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param categorySort The sort configuration of category fields. */ public fun categorySort(categorySort: IResolvable) /** * @param categorySort The sort configuration of category fields. */ public fun categorySort(categorySort: List) /** * @param categorySort The sort configuration of category fields. */ public fun categorySort(vararg categorySort: Any) /** * @param colorItemsLimit The limit on the number of values displayed in a bar chart. */ public fun colorItemsLimit(colorItemsLimit: IResolvable) /** * @param colorItemsLimit The limit on the number of values displayed in a bar chart. */ public fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) /** * @param colorItemsLimit The limit on the number of values displayed in a bar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("49e56d1b703bd39c4c525cac5a307c969908e30eb87bfcc113d4d36e9873c20f") public fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param colorSort The sort configuration of color fields in a bar chart. */ public fun colorSort(colorSort: IResolvable) /** * @param colorSort The sort configuration of color fields in a bar chart. */ public fun colorSort(colorSort: List) /** * @param colorSort The sort configuration of color fields in a bar chart. */ public fun colorSort(vararg colorSort: Any) /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ public fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ public fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0373c23c9093cebb516df399de80e5c7d2f5accdc6427f7cdd3fab23ce72edbf") public fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ public fun smallMultiplesSort(smallMultiplesSort: IResolvable) /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ public fun smallMultiplesSort(smallMultiplesSort: List) /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ public fun smallMultiplesSort(vararg smallMultiplesSort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartSortConfigurationProperty.builder() /** * @param categoryItemsLimit The limit on the number of categories displayed in a bar chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of categories displayed in a bar chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of categories displayed in a bar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8595ff320895801f3004eab66a3a4fb160c4cda2e809d72cf2acd02a602e788a") override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = categoryItemsLimit(ItemsLimitConfigurationProperty(categoryItemsLimit)) /** * @param categorySort The sort configuration of category fields. */ override fun categorySort(categorySort: IResolvable) { cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** * @param categorySort The sort configuration of category fields. */ override fun categorySort(categorySort: List) { cdkBuilder.categorySort(categorySort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param categorySort The sort configuration of category fields. */ override fun categorySort(vararg categorySort: Any): Unit = categorySort(categorySort.toList()) /** * @param colorItemsLimit The limit on the number of values displayed in a bar chart. */ override fun colorItemsLimit(colorItemsLimit: IResolvable) { cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param colorItemsLimit The limit on the number of values displayed in a bar chart. */ override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) { cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param colorItemsLimit The limit on the number of values displayed in a bar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("49e56d1b703bd39c4c525cac5a307c969908e30eb87bfcc113d4d36e9873c20f") override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = colorItemsLimit(ItemsLimitConfigurationProperty(colorItemsLimit)) /** * @param colorSort The sort configuration of color fields in a bar chart. */ override fun colorSort(colorSort: IResolvable) { cdkBuilder.colorSort(colorSort.let(IResolvable.Companion::unwrap)) } /** * @param colorSort The sort configuration of color fields in a bar chart. */ override fun colorSort(colorSort: List) { cdkBuilder.colorSort(colorSort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param colorSort The sort configuration of color fields in a bar chart. */ override fun colorSort(vararg colorSort: Any): Unit = colorSort(colorSort.toList()) /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) { cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) { cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0373c23c9093cebb516df399de80e5c7d2f5accdc6427f7cdd3fab23ce72edbf") override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = smallMultiplesLimitConfiguration(ItemsLimitConfigurationProperty(smallMultiplesLimitConfiguration)) /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: IResolvable) { cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: List) { cdkBuilder.smallMultiplesSort(smallMultiplesSort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(vararg smallMultiplesSort: Any): Unit = smallMultiplesSort(smallMultiplesSort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartSortConfigurationProperty, ) : CdkObject(cdkObject), BarChartSortConfigurationProperty { /** * The limit on the number of categories displayed in a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html#cfn-quicksight-dashboard-barchartsortconfiguration-categoryitemslimit) */ override fun categoryItemsLimit(): Any? = unwrap(this).getCategoryItemsLimit() /** * The sort configuration of category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html#cfn-quicksight-dashboard-barchartsortconfiguration-categorysort) */ override fun categorySort(): Any? = unwrap(this).getCategorySort() /** * The limit on the number of values displayed in a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html#cfn-quicksight-dashboard-barchartsortconfiguration-coloritemslimit) */ override fun colorItemsLimit(): Any? = unwrap(this).getColorItemsLimit() /** * The sort configuration of color fields in a bar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html#cfn-quicksight-dashboard-barchartsortconfiguration-colorsort) */ override fun colorSort(): Any? = unwrap(this).getColorSort() /** * The limit on the number of small multiples panels that are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html#cfn-quicksight-dashboard-barchartsortconfiguration-smallmultipleslimitconfiguration) */ override fun smallMultiplesLimitConfiguration(): Any? = unwrap(this).getSmallMultiplesLimitConfiguration() /** * The sort configuration of the small multiples field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartsortconfiguration.html#cfn-quicksight-dashboard-barchartsortconfiguration-smallmultiplessort) */ override fun smallMultiplesSort(): Any? = unwrap(this).getSmallMultiplesSort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BarChartSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartSortConfigurationProperty): BarChartSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? BarChartSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BarChartSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartSortConfigurationProperty } } /** * A bar chart. * * The `BarChartVisual` structure describes a visual that is a member of the bar chart family. The * following charts can be described using this structure: * * * Horizontal bar chart * * Vertical bar chart * * Horizontal stacked bar chart * * Vertical stacked bar chart * * Horizontal stacked 100% bar chart * * Vertical stacked 100% bar chart * * For more information, see [Using bar * charts](https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html) */ public interface BarChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html#cfn-quicksight-dashboard-barchartvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html#cfn-quicksight-dashboard-barchartvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html#cfn-quicksight-dashboard-barchartvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html#cfn-quicksight-dashboard-barchartvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html#cfn-quicksight-dashboard-barchartvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html#cfn-quicksight-dashboard-barchartvisual-visualid) */ public fun visualId(): String /** * A builder for [BarChartVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: BarChartConfigurationProperty) /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f14c9693ee8cd8ad861c2a06d0da9cc942fddf7c8492e5b9303348880594e5d6") public fun chartConfiguration(chartConfiguration: BarChartConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ffd73d0ae952dc9baaec751133f159857a0230c59a34d57ac83603352a2de754") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("71721e1d3661c74dd4027222005037931c61c48510ddab516ba75d129f3c8b89") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: BarChartConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(BarChartConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f14c9693ee8cd8ad861c2a06d0da9cc942fddf7c8492e5b9303348880594e5d6") override fun chartConfiguration(chartConfiguration: BarChartConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(BarChartConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ffd73d0ae952dc9baaec751133f159857a0230c59a34d57ac83603352a2de754") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("71721e1d3661c74dd4027222005037931c61c48510ddab516ba75d129f3c8b89") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartVisualProperty, ) : CdkObject(cdkObject), BarChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html#cfn-quicksight-dashboard-barchartvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html#cfn-quicksight-dashboard-barchartvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html#cfn-quicksight-dashboard-barchartvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html#cfn-quicksight-dashboard-barchartvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html#cfn-quicksight-dashboard-barchartvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-barchartvisual.html#cfn-quicksight-dashboard-barchartvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BarChartVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartVisualProperty): BarChartVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? BarChartVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BarChartVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartVisualProperty } } /** * The options that determine the bin count of a histogram. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * BinCountOptionsProperty binCountOptionsProperty = BinCountOptionsProperty.builder() * .value(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bincountoptions.html) */ public interface BinCountOptionsProperty { /** * The options that determine the bin count value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bincountoptions.html#cfn-quicksight-dashboard-bincountoptions-value) */ public fun `value`(): Number? = unwrap(this).getValue() /** * A builder for [BinCountOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param value The options that determine the bin count value. */ public fun `value`(`value`: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BinCountOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BinCountOptionsProperty.builder() /** * @param value The options that determine the bin count value. */ override fun `value`(`value`: Number) { cdkBuilder.`value`(`value`) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BinCountOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BinCountOptionsProperty, ) : CdkObject(cdkObject), BinCountOptionsProperty { /** * The options that determine the bin count value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bincountoptions.html#cfn-quicksight-dashboard-bincountoptions-value) */ override fun `value`(): Number? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BinCountOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BinCountOptionsProperty): BinCountOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? BinCountOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BinCountOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BinCountOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BinCountOptionsProperty } } /** * The options that determine the bin width of a histogram. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * BinWidthOptionsProperty binWidthOptionsProperty = BinWidthOptionsProperty.builder() * .binCountLimit(123) * .value(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-binwidthoptions.html) */ public interface BinWidthOptionsProperty { /** * The options that determine the bin count limit. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-binwidthoptions.html#cfn-quicksight-dashboard-binwidthoptions-bincountlimit) */ public fun binCountLimit(): Number? = unwrap(this).getBinCountLimit() /** * The options that determine the bin width value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-binwidthoptions.html#cfn-quicksight-dashboard-binwidthoptions-value) */ public fun `value`(): Number? = unwrap(this).getValue() /** * A builder for [BinWidthOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param binCountLimit The options that determine the bin count limit. */ public fun binCountLimit(binCountLimit: Number) /** * @param value The options that determine the bin width value. */ public fun `value`(`value`: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BinWidthOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BinWidthOptionsProperty.builder() /** * @param binCountLimit The options that determine the bin count limit. */ override fun binCountLimit(binCountLimit: Number) { cdkBuilder.binCountLimit(binCountLimit) } /** * @param value The options that determine the bin width value. */ override fun `value`(`value`: Number) { cdkBuilder.`value`(`value`) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BinWidthOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BinWidthOptionsProperty, ) : CdkObject(cdkObject), BinWidthOptionsProperty { /** * The options that determine the bin count limit. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-binwidthoptions.html#cfn-quicksight-dashboard-binwidthoptions-bincountlimit) */ override fun binCountLimit(): Number? = unwrap(this).getBinCountLimit() /** * The options that determine the bin width value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-binwidthoptions.html#cfn-quicksight-dashboard-binwidthoptions-value) */ override fun `value`(): Number? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BinWidthOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BinWidthOptionsProperty): BinWidthOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? BinWidthOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BinWidthOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BinWidthOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BinWidthOptionsProperty } } /** * The configuration of a body section. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * BodySectionConfigurationProperty bodySectionConfigurationProperty = * BodySectionConfigurationProperty.builder() * .content(BodySectionContentProperty.builder() * .layout(SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build()) * .build()) * .sectionId("sectionId") * // the properties below are optional * .pageBreakConfiguration(SectionPageBreakConfigurationProperty.builder() * .after(SectionAfterPageBreakProperty.builder() * .status("status") * .build()) * .build()) * .style(SectionStyleProperty.builder() * .height("height") * .padding(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bodysectionconfiguration.html) */ public interface BodySectionConfigurationProperty { /** * The configuration of content in a body section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bodysectionconfiguration.html#cfn-quicksight-dashboard-bodysectionconfiguration-content) */ public fun content(): Any /** * The configuration of a page break for a section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bodysectionconfiguration.html#cfn-quicksight-dashboard-bodysectionconfiguration-pagebreakconfiguration) */ public fun pageBreakConfiguration(): Any? = unwrap(this).getPageBreakConfiguration() /** * The unique identifier of a body section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bodysectionconfiguration.html#cfn-quicksight-dashboard-bodysectionconfiguration-sectionid) */ public fun sectionId(): String /** * The style options of a body section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bodysectionconfiguration.html#cfn-quicksight-dashboard-bodysectionconfiguration-style) */ public fun style(): Any? = unwrap(this).getStyle() /** * A builder for [BodySectionConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param content The configuration of content in a body section. */ public fun content(content: IResolvable) /** * @param content The configuration of content in a body section. */ public fun content(content: BodySectionContentProperty) /** * @param content The configuration of content in a body section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6855fcd9a6b0cd7b7b81b6f0de45fc4b8472f848228324b19735cb06264e1d78") public fun content(content: BodySectionContentProperty.Builder.() -> Unit) /** * @param pageBreakConfiguration The configuration of a page break for a section. */ public fun pageBreakConfiguration(pageBreakConfiguration: IResolvable) /** * @param pageBreakConfiguration The configuration of a page break for a section. */ public fun pageBreakConfiguration(pageBreakConfiguration: SectionPageBreakConfigurationProperty) /** * @param pageBreakConfiguration The configuration of a page break for a section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e8c2d34bc7201111efbff586315135b5da2f86b6f9286686fc5da1b3625346f1") public fun pageBreakConfiguration(pageBreakConfiguration: SectionPageBreakConfigurationProperty.Builder.() -> Unit) /** * @param sectionId The unique identifier of a body section. */ public fun sectionId(sectionId: String) /** * @param style The style options of a body section. */ public fun style(style: IResolvable) /** * @param style The style options of a body section. */ public fun style(style: SectionStyleProperty) /** * @param style The style options of a body section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a691757fb1d81ae9b475e28c78c79888065107ca2180545a38c2d286c1864cf4") public fun style(style: SectionStyleProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionConfigurationProperty.builder() /** * @param content The configuration of content in a body section. */ override fun content(content: IResolvable) { cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** * @param content The configuration of content in a body section. */ override fun content(content: BodySectionContentProperty) { cdkBuilder.content(content.let(BodySectionContentProperty.Companion::unwrap)) } /** * @param content The configuration of content in a body section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6855fcd9a6b0cd7b7b81b6f0de45fc4b8472f848228324b19735cb06264e1d78") override fun content(content: BodySectionContentProperty.Builder.() -> Unit): Unit = content(BodySectionContentProperty(content)) /** * @param pageBreakConfiguration The configuration of a page break for a section. */ override fun pageBreakConfiguration(pageBreakConfiguration: IResolvable) { cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param pageBreakConfiguration The configuration of a page break for a section. */ override fun pageBreakConfiguration(pageBreakConfiguration: SectionPageBreakConfigurationProperty) { cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(SectionPageBreakConfigurationProperty.Companion::unwrap)) } /** * @param pageBreakConfiguration The configuration of a page break for a section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e8c2d34bc7201111efbff586315135b5da2f86b6f9286686fc5da1b3625346f1") override fun pageBreakConfiguration(pageBreakConfiguration: SectionPageBreakConfigurationProperty.Builder.() -> Unit): Unit = pageBreakConfiguration(SectionPageBreakConfigurationProperty(pageBreakConfiguration)) /** * @param sectionId The unique identifier of a body section. */ override fun sectionId(sectionId: String) { cdkBuilder.sectionId(sectionId) } /** * @param style The style options of a body section. */ override fun style(style: IResolvable) { cdkBuilder.style(style.let(IResolvable.Companion::unwrap)) } /** * @param style The style options of a body section. */ override fun style(style: SectionStyleProperty) { cdkBuilder.style(style.let(SectionStyleProperty.Companion::unwrap)) } /** * @param style The style options of a body section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a691757fb1d81ae9b475e28c78c79888065107ca2180545a38c2d286c1864cf4") override fun style(style: SectionStyleProperty.Builder.() -> Unit): Unit = style(SectionStyleProperty(style)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionConfigurationProperty, ) : CdkObject(cdkObject), BodySectionConfigurationProperty { /** * The configuration of content in a body section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bodysectionconfiguration.html#cfn-quicksight-dashboard-bodysectionconfiguration-content) */ override fun content(): Any = unwrap(this).getContent() /** * The configuration of a page break for a section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bodysectionconfiguration.html#cfn-quicksight-dashboard-bodysectionconfiguration-pagebreakconfiguration) */ override fun pageBreakConfiguration(): Any? = unwrap(this).getPageBreakConfiguration() /** * The unique identifier of a body section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bodysectionconfiguration.html#cfn-quicksight-dashboard-bodysectionconfiguration-sectionid) */ override fun sectionId(): String = unwrap(this).getSectionId() /** * The style options of a body section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bodysectionconfiguration.html#cfn-quicksight-dashboard-bodysectionconfiguration-style) */ override fun style(): Any? = unwrap(this).getStyle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BodySectionConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionConfigurationProperty): BodySectionConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? BodySectionConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BodySectionConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionConfigurationProperty } } /** * The configuration of content in a body section. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * BodySectionContentProperty bodySectionContentProperty = BodySectionContentProperty.builder() * .layout(SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bodysectioncontent.html) */ public interface BodySectionContentProperty { /** * The layout configuration of a body section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bodysectioncontent.html#cfn-quicksight-dashboard-bodysectioncontent-layout) */ public fun layout(): Any? = unwrap(this).getLayout() /** * A builder for [BodySectionContentProperty] */ @CdkDslMarker public interface Builder { /** * @param layout The layout configuration of a body section. */ public fun layout(layout: IResolvable) /** * @param layout The layout configuration of a body section. */ public fun layout(layout: SectionLayoutConfigurationProperty) /** * @param layout The layout configuration of a body section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("df2e85e7c0f4dae70315362068b3b60aa7afc5840ce924b88ef126fe87fbcb7f") public fun layout(layout: SectionLayoutConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionContentProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionContentProperty.builder() /** * @param layout The layout configuration of a body section. */ override fun layout(layout: IResolvable) { cdkBuilder.layout(layout.let(IResolvable.Companion::unwrap)) } /** * @param layout The layout configuration of a body section. */ override fun layout(layout: SectionLayoutConfigurationProperty) { cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty.Companion::unwrap)) } /** * @param layout The layout configuration of a body section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("df2e85e7c0f4dae70315362068b3b60aa7afc5840ce924b88ef126fe87fbcb7f") override fun layout(layout: SectionLayoutConfigurationProperty.Builder.() -> Unit): Unit = layout(SectionLayoutConfigurationProperty(layout)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionContentProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionContentProperty, ) : CdkObject(cdkObject), BodySectionContentProperty { /** * The layout configuration of a body section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-bodysectioncontent.html#cfn-quicksight-dashboard-bodysectioncontent-layout) */ override fun layout(): Any? = unwrap(this).getLayout() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BodySectionContentProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionContentProperty): BodySectionContentProperty = CdkObjectWrappers.wrap(cdkObject) as? BodySectionContentProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BodySectionContentProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionContentProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BodySectionContentProperty } } /** * The aggregated field well for a box plot. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * BoxPlotAggregatedFieldWellsProperty boxPlotAggregatedFieldWellsProperty = * BoxPlotAggregatedFieldWellsProperty.builder() * .groupBy(List.of(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build())) * .values(List.of(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotaggregatedfieldwells.html) */ public interface BoxPlotAggregatedFieldWellsProperty { /** * The group by field well of a box plot chart. * * Values are grouped based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotaggregatedfieldwells.html#cfn-quicksight-dashboard-boxplotaggregatedfieldwells-groupby) */ public fun groupBy(): Any? = unwrap(this).getGroupBy() /** * The value field well of a box plot chart. * * Values are aggregated based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotaggregatedfieldwells.html#cfn-quicksight-dashboard-boxplotaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [BoxPlotAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param groupBy The group by field well of a box plot chart. * Values are grouped based on group by fields. */ public fun groupBy(groupBy: IResolvable) /** * @param groupBy The group by field well of a box plot chart. * Values are grouped based on group by fields. */ public fun groupBy(groupBy: List) /** * @param groupBy The group by field well of a box plot chart. * Values are grouped based on group by fields. */ public fun groupBy(vararg groupBy: Any) /** * @param values The value field well of a box plot chart. * Values are aggregated based on group by fields. */ public fun values(values: IResolvable) /** * @param values The value field well of a box plot chart. * Values are aggregated based on group by fields. */ public fun values(values: List) /** * @param values The value field well of a box plot chart. * Values are aggregated based on group by fields. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotAggregatedFieldWellsProperty.builder() /** * @param groupBy The group by field well of a box plot chart. * Values are grouped based on group by fields. */ override fun groupBy(groupBy: IResolvable) { cdkBuilder.groupBy(groupBy.let(IResolvable.Companion::unwrap)) } /** * @param groupBy The group by field well of a box plot chart. * Values are grouped based on group by fields. */ override fun groupBy(groupBy: List) { cdkBuilder.groupBy(groupBy.map{CdkObjectWrappers.unwrap(it)}) } /** * @param groupBy The group by field well of a box plot chart. * Values are grouped based on group by fields. */ override fun groupBy(vararg groupBy: Any): Unit = groupBy(groupBy.toList()) /** * @param values The value field well of a box plot chart. * Values are aggregated based on group by fields. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The value field well of a box plot chart. * Values are aggregated based on group by fields. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The value field well of a box plot chart. * Values are aggregated based on group by fields. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), BoxPlotAggregatedFieldWellsProperty { /** * The group by field well of a box plot chart. * * Values are grouped based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotaggregatedfieldwells.html#cfn-quicksight-dashboard-boxplotaggregatedfieldwells-groupby) */ override fun groupBy(): Any? = unwrap(this).getGroupBy() /** * The value field well of a box plot chart. * * Values are aggregated based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotaggregatedfieldwells.html#cfn-quicksight-dashboard-boxplotaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BoxPlotAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotAggregatedFieldWellsProperty): BoxPlotAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? BoxPlotAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BoxPlotAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotAggregatedFieldWellsProperty } } /** * The configuration of a `BoxPlotVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html) */ public interface BoxPlotChartConfigurationProperty { /** * The box plot chart options for a box plot visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-boxplotoptions) */ public fun boxPlotOptions(): Any? = unwrap(this).getBoxPlotOptions() /** * The label display options (grid line, range, scale, axis step) of a box plot category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-categoryaxis) */ public fun categoryAxis(): Any? = unwrap(this).getCategoryAxis() /** * The label options (label text, label visibility and sort Icon visibility) of a box plot * category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-categorylabeloptions) */ public fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-legend) */ public fun legend(): Any? = unwrap(this).getLegend() /** * The label display options (grid line, range, scale, axis step) of a box plot category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-primaryyaxisdisplayoptions) */ public fun primaryYAxisDisplayOptions(): Any? = unwrap(this).getPrimaryYAxisDisplayOptions() /** * The label options (label text, label visibility and sort icon visibility) of a box plot * value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-primaryyaxislabeloptions) */ public fun primaryYAxisLabelOptions(): Any? = unwrap(this).getPrimaryYAxisLabelOptions() /** * The reference line setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-referencelines) */ public fun referenceLines(): Any? = unwrap(this).getReferenceLines() /** * The sort configuration of a `BoxPlotVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-tooltip) */ public fun tooltip(): Any? = unwrap(this).getTooltip() /** * The palette (chart color) display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-visualpalette) */ public fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * A builder for [BoxPlotChartConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param boxPlotOptions The box plot chart options for a box plot visual. */ public fun boxPlotOptions(boxPlotOptions: IResolvable) /** * @param boxPlotOptions The box plot chart options for a box plot visual. */ public fun boxPlotOptions(boxPlotOptions: BoxPlotOptionsProperty) /** * @param boxPlotOptions The box plot chart options for a box plot visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("668e207ed66bd781b3f90b59ab061c3800aaab5fdf196d67121413507b966972") public fun boxPlotOptions(boxPlotOptions: BoxPlotOptionsProperty.Builder.() -> Unit) /** * @param categoryAxis The label display options (grid line, range, scale, axis step) of a box * plot category. */ public fun categoryAxis(categoryAxis: IResolvable) /** * @param categoryAxis The label display options (grid line, range, scale, axis step) of a box * plot category. */ public fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) /** * @param categoryAxis The label display options (grid line, range, scale, axis step) of a box * plot category. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4f6351f902051c61bdc0bccaced6bdbc2b05a08f1427fab669d940d19a63e7f9") public fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param categoryLabelOptions The label options (label text, label visibility and sort Icon * visibility) of a box plot category. */ public fun categoryLabelOptions(categoryLabelOptions: IResolvable) /** * @param categoryLabelOptions The label options (label text, label visibility and sort Icon * visibility) of a box plot category. */ public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) /** * @param categoryLabelOptions The label options (label text, label visibility and sort Icon * visibility) of a box plot category. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a00d42a8efb903530f57b7926dbe617cf308266d234e2201562a13f4a0b9883c") public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: BoxPlotFieldWellsProperty) /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("11aecf336cda54abecfda7b1b82f8c0a9a1d13242817d80865d0c09008557e19") public fun fieldWells(fieldWells: BoxPlotFieldWellsProperty.Builder.() -> Unit) /** * @param legend the value to be set. */ public fun legend(legend: IResolvable) /** * @param legend the value to be set. */ public fun legend(legend: LegendOptionsProperty) /** * @param legend the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5967baf93af355f82759bea7410e0f298b9a2fba60c625e82f58886ef02dad2e") public fun legend(legend: LegendOptionsProperty.Builder.() -> Unit) /** * @param primaryYAxisDisplayOptions The label display options (grid line, range, scale, axis * step) of a box plot category. */ public fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) /** * @param primaryYAxisDisplayOptions The label display options (grid line, range, scale, axis * step) of a box plot category. */ public fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) /** * @param primaryYAxisDisplayOptions The label display options (grid line, range, scale, axis * step) of a box plot category. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4321394d0553a92d3cbaaa7d0725800c389695b1dd2d2d806a624fdf109453ec") public fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param primaryYAxisLabelOptions The label options (label text, label visibility and sort * icon visibility) of a box plot value. */ public fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) /** * @param primaryYAxisLabelOptions The label options (label text, label visibility and sort * icon visibility) of a box plot value. */ public fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) /** * @param primaryYAxisLabelOptions The label options (label text, label visibility and sort * icon visibility) of a box plot value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c1aeb8aad58cd37653e874611feca453b5c15aa2fbba6d00a94b0a9102c03835") public fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param referenceLines The reference line setup of the visual. */ public fun referenceLines(referenceLines: IResolvable) /** * @param referenceLines The reference line setup of the visual. */ public fun referenceLines(referenceLines: List) /** * @param referenceLines The reference line setup of the visual. */ public fun referenceLines(vararg referenceLines: Any) /** * @param sortConfiguration The sort configuration of a `BoxPlotVisual` . */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a `BoxPlotVisual` . */ public fun sortConfiguration(sortConfiguration: BoxPlotSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a `BoxPlotVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("00e0a77de2a98f807c010ae88898feac881416c2277ab0741a0230d8ce053e88") public fun sortConfiguration(sortConfiguration: BoxPlotSortConfigurationProperty.Builder.() -> Unit) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: IResolvable) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: TooltipOptionsProperty) /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b43f5bc2f3450b0e12695de360cb302c3fe2b34698eacd3c0ce2b26cfa992ef2") public fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit) /** * @param visualPalette The palette (chart color) display setup of the visual. */ public fun visualPalette(visualPalette: IResolvable) /** * @param visualPalette The palette (chart color) display setup of the visual. */ public fun visualPalette(visualPalette: VisualPaletteProperty) /** * @param visualPalette The palette (chart color) display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("81edc909d182ef4e1b1d4eadd536901ca34a8a4d5780bd1bf1eb3849aa020546") public fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotChartConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotChartConfigurationProperty.builder() /** * @param boxPlotOptions The box plot chart options for a box plot visual. */ override fun boxPlotOptions(boxPlotOptions: IResolvable) { cdkBuilder.boxPlotOptions(boxPlotOptions.let(IResolvable.Companion::unwrap)) } /** * @param boxPlotOptions The box plot chart options for a box plot visual. */ override fun boxPlotOptions(boxPlotOptions: BoxPlotOptionsProperty) { cdkBuilder.boxPlotOptions(boxPlotOptions.let(BoxPlotOptionsProperty.Companion::unwrap)) } /** * @param boxPlotOptions The box plot chart options for a box plot visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("668e207ed66bd781b3f90b59ab061c3800aaab5fdf196d67121413507b966972") override fun boxPlotOptions(boxPlotOptions: BoxPlotOptionsProperty.Builder.() -> Unit): Unit = boxPlotOptions(BoxPlotOptionsProperty(boxPlotOptions)) /** * @param categoryAxis The label display options (grid line, range, scale, axis step) of a box * plot category. */ override fun categoryAxis(categoryAxis: IResolvable) { cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** * @param categoryAxis The label display options (grid line, range, scale, axis step) of a box * plot category. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param categoryAxis The label display options (grid line, range, scale, axis step) of a box * plot category. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4f6351f902051c61bdc0bccaced6bdbc2b05a08f1427fab669d940d19a63e7f9") override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = categoryAxis(AxisDisplayOptionsProperty(categoryAxis)) /** * @param categoryLabelOptions The label options (label text, label visibility and sort Icon * visibility) of a box plot category. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param categoryLabelOptions The label options (label text, label visibility and sort Icon * visibility) of a box plot category. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param categoryLabelOptions The label options (label text, label visibility and sort Icon * visibility) of a box plot category. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a00d42a8efb903530f57b7926dbe617cf308266d234e2201562a13f4a0b9883c") override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = categoryLabelOptions(ChartAxisLabelOptionsProperty(categoryLabelOptions)) /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: BoxPlotFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(BoxPlotFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("11aecf336cda54abecfda7b1b82f8c0a9a1d13242817d80865d0c09008557e19") override fun fieldWells(fieldWells: BoxPlotFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(BoxPlotFieldWellsProperty(fieldWells)) /** * @param legend the value to be set. */ override fun legend(legend: IResolvable) { cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend the value to be set. */ override fun legend(legend: LegendOptionsProperty) { cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** * @param legend the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5967baf93af355f82759bea7410e0f298b9a2fba60c625e82f58886ef02dad2e") override fun legend(legend: LegendOptionsProperty.Builder.() -> Unit): Unit = legend(LegendOptionsProperty(legend)) /** * @param primaryYAxisDisplayOptions The label display options (grid line, range, scale, axis * step) of a box plot category. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param primaryYAxisDisplayOptions The label display options (grid line, range, scale, axis * step) of a box plot category. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param primaryYAxisDisplayOptions The label display options (grid line, range, scale, axis * step) of a box plot category. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4321394d0553a92d3cbaaa7d0725800c389695b1dd2d2d806a624fdf109453ec") override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = primaryYAxisDisplayOptions(AxisDisplayOptionsProperty(primaryYAxisDisplayOptions)) /** * @param primaryYAxisLabelOptions The label options (label text, label visibility and sort * icon visibility) of a box plot value. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param primaryYAxisLabelOptions The label options (label text, label visibility and sort * icon visibility) of a box plot value. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param primaryYAxisLabelOptions The label options (label text, label visibility and sort * icon visibility) of a box plot value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c1aeb8aad58cd37653e874611feca453b5c15aa2fbba6d00a94b0a9102c03835") override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = primaryYAxisLabelOptions(ChartAxisLabelOptionsProperty(primaryYAxisLabelOptions)) /** * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: IResolvable) { cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: List) { cdkBuilder.referenceLines(referenceLines.map{CdkObjectWrappers.unwrap(it)}) } /** * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(vararg referenceLines: Any): Unit = referenceLines(referenceLines.toList()) /** * @param sortConfiguration The sort configuration of a `BoxPlotVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `BoxPlotVisual` . */ override fun sortConfiguration(sortConfiguration: BoxPlotSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(BoxPlotSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `BoxPlotVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("00e0a77de2a98f807c010ae88898feac881416c2277ab0741a0230d8ce053e88") override fun sortConfiguration(sortConfiguration: BoxPlotSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(BoxPlotSortConfigurationProperty(sortConfiguration)) /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b43f5bc2f3450b0e12695de360cb302c3fe2b34698eacd3c0ce2b26cfa992ef2") override fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltip(TooltipOptionsProperty(tooltip)) /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("81edc909d182ef4e1b1d4eadd536901ca34a8a4d5780bd1bf1eb3849aa020546") override fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit): Unit = visualPalette(VisualPaletteProperty(visualPalette)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotChartConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotChartConfigurationProperty, ) : CdkObject(cdkObject), BoxPlotChartConfigurationProperty { /** * The box plot chart options for a box plot visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-boxplotoptions) */ override fun boxPlotOptions(): Any? = unwrap(this).getBoxPlotOptions() /** * The label display options (grid line, range, scale, axis step) of a box plot category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-categoryaxis) */ override fun categoryAxis(): Any? = unwrap(this).getCategoryAxis() /** * The label options (label text, label visibility and sort Icon visibility) of a box plot * category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-categorylabeloptions) */ override fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-legend) */ override fun legend(): Any? = unwrap(this).getLegend() /** * The label display options (grid line, range, scale, axis step) of a box plot category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-primaryyaxisdisplayoptions) */ override fun primaryYAxisDisplayOptions(): Any? = unwrap(this).getPrimaryYAxisDisplayOptions() /** * The label options (label text, label visibility and sort icon visibility) of a box plot * value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-primaryyaxislabeloptions) */ override fun primaryYAxisLabelOptions(): Any? = unwrap(this).getPrimaryYAxisLabelOptions() /** * The reference line setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-referencelines) */ override fun referenceLines(): Any? = unwrap(this).getReferenceLines() /** * The sort configuration of a `BoxPlotVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-tooltip) */ override fun tooltip(): Any? = unwrap(this).getTooltip() /** * The palette (chart color) display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotchartconfiguration.html#cfn-quicksight-dashboard-boxplotchartconfiguration-visualpalette) */ override fun visualPalette(): Any? = unwrap(this).getVisualPalette() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BoxPlotChartConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotChartConfigurationProperty): BoxPlotChartConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? BoxPlotChartConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BoxPlotChartConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotChartConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotChartConfigurationProperty } } /** * The field wells of a `BoxPlotVisual` . * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * BoxPlotFieldWellsProperty boxPlotFieldWellsProperty = BoxPlotFieldWellsProperty.builder() * .boxPlotAggregatedFieldWells(BoxPlotAggregatedFieldWellsProperty.builder() * .groupBy(List.of(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build())) * .values(List.of(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build())) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotfieldwells.html) */ public interface BoxPlotFieldWellsProperty { /** * The aggregated field wells of a box plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotfieldwells.html#cfn-quicksight-dashboard-boxplotfieldwells-boxplotaggregatedfieldwells) */ public fun boxPlotAggregatedFieldWells(): Any? = unwrap(this).getBoxPlotAggregatedFieldWells() /** * A builder for [BoxPlotFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param boxPlotAggregatedFieldWells The aggregated field wells of a box plot. */ public fun boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells: IResolvable) /** * @param boxPlotAggregatedFieldWells The aggregated field wells of a box plot. */ public fun boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells: BoxPlotAggregatedFieldWellsProperty) /** * @param boxPlotAggregatedFieldWells The aggregated field wells of a box plot. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("af31d10753bc3eff4d721ddcf884267f8c437441e06cb38dce514d3f6b6e70f0") public fun boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells: BoxPlotAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotFieldWellsProperty.builder() /** * @param boxPlotAggregatedFieldWells The aggregated field wells of a box plot. */ override fun boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells: IResolvable) { cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param boxPlotAggregatedFieldWells The aggregated field wells of a box plot. */ override fun boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells: BoxPlotAggregatedFieldWellsProperty) { cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(BoxPlotAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param boxPlotAggregatedFieldWells The aggregated field wells of a box plot. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("af31d10753bc3eff4d721ddcf884267f8c437441e06cb38dce514d3f6b6e70f0") override fun boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells: BoxPlotAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = boxPlotAggregatedFieldWells(BoxPlotAggregatedFieldWellsProperty(boxPlotAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotFieldWellsProperty, ) : CdkObject(cdkObject), BoxPlotFieldWellsProperty { /** * The aggregated field wells of a box plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotfieldwells.html#cfn-quicksight-dashboard-boxplotfieldwells-boxplotaggregatedfieldwells) */ override fun boxPlotAggregatedFieldWells(): Any? = unwrap(this).getBoxPlotAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BoxPlotFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotFieldWellsProperty): BoxPlotFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? BoxPlotFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BoxPlotFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotFieldWellsProperty } } /** * The options of a box plot visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * BoxPlotOptionsProperty boxPlotOptionsProperty = BoxPlotOptionsProperty.builder() * .allDataPointsVisibility("allDataPointsVisibility") * .outlierVisibility("outlierVisibility") * .styleOptions(BoxPlotStyleOptionsProperty.builder() * .fillStyle("fillStyle") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotoptions.html) */ public interface BoxPlotOptionsProperty { /** * Determines the visibility of all data points of the box plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotoptions.html#cfn-quicksight-dashboard-boxplotoptions-alldatapointsvisibility) */ public fun allDataPointsVisibility(): String? = unwrap(this).getAllDataPointsVisibility() /** * Determines the visibility of the outlier in a box plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotoptions.html#cfn-quicksight-dashboard-boxplotoptions-outliervisibility) */ public fun outlierVisibility(): String? = unwrap(this).getOutlierVisibility() /** * The style options of the box plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotoptions.html#cfn-quicksight-dashboard-boxplotoptions-styleoptions) */ public fun styleOptions(): Any? = unwrap(this).getStyleOptions() /** * A builder for [BoxPlotOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param allDataPointsVisibility Determines the visibility of all data points of the box * plot. */ public fun allDataPointsVisibility(allDataPointsVisibility: String) /** * @param outlierVisibility Determines the visibility of the outlier in a box plot. */ public fun outlierVisibility(outlierVisibility: String) /** * @param styleOptions The style options of the box plot. */ public fun styleOptions(styleOptions: IResolvable) /** * @param styleOptions The style options of the box plot. */ public fun styleOptions(styleOptions: BoxPlotStyleOptionsProperty) /** * @param styleOptions The style options of the box plot. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a6078af56db63ca43ced4a46b77903d5f8034d30e14da6bca9e01936779f3e6b") public fun styleOptions(styleOptions: BoxPlotStyleOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotOptionsProperty.builder() /** * @param allDataPointsVisibility Determines the visibility of all data points of the box * plot. */ override fun allDataPointsVisibility(allDataPointsVisibility: String) { cdkBuilder.allDataPointsVisibility(allDataPointsVisibility) } /** * @param outlierVisibility Determines the visibility of the outlier in a box plot. */ override fun outlierVisibility(outlierVisibility: String) { cdkBuilder.outlierVisibility(outlierVisibility) } /** * @param styleOptions The style options of the box plot. */ override fun styleOptions(styleOptions: IResolvable) { cdkBuilder.styleOptions(styleOptions.let(IResolvable.Companion::unwrap)) } /** * @param styleOptions The style options of the box plot. */ override fun styleOptions(styleOptions: BoxPlotStyleOptionsProperty) { cdkBuilder.styleOptions(styleOptions.let(BoxPlotStyleOptionsProperty.Companion::unwrap)) } /** * @param styleOptions The style options of the box plot. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a6078af56db63ca43ced4a46b77903d5f8034d30e14da6bca9e01936779f3e6b") override fun styleOptions(styleOptions: BoxPlotStyleOptionsProperty.Builder.() -> Unit): Unit = styleOptions(BoxPlotStyleOptionsProperty(styleOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotOptionsProperty, ) : CdkObject(cdkObject), BoxPlotOptionsProperty { /** * Determines the visibility of all data points of the box plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotoptions.html#cfn-quicksight-dashboard-boxplotoptions-alldatapointsvisibility) */ override fun allDataPointsVisibility(): String? = unwrap(this).getAllDataPointsVisibility() /** * Determines the visibility of the outlier in a box plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotoptions.html#cfn-quicksight-dashboard-boxplotoptions-outliervisibility) */ override fun outlierVisibility(): String? = unwrap(this).getOutlierVisibility() /** * The style options of the box plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotoptions.html#cfn-quicksight-dashboard-boxplotoptions-styleoptions) */ override fun styleOptions(): Any? = unwrap(this).getStyleOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BoxPlotOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotOptionsProperty): BoxPlotOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? BoxPlotOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BoxPlotOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotOptionsProperty } } /** * The sort configuration of a `BoxPlotVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * BoxPlotSortConfigurationProperty boxPlotSortConfigurationProperty = * BoxPlotSortConfigurationProperty.builder() * .categorySort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .paginationConfiguration(PaginationConfigurationProperty.builder() * .pageNumber(123) * .pageSize(123) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotsortconfiguration.html) */ public interface BoxPlotSortConfigurationProperty { /** * The sort configuration of a group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotsortconfiguration.html#cfn-quicksight-dashboard-boxplotsortconfiguration-categorysort) */ public fun categorySort(): Any? = unwrap(this).getCategorySort() /** * The pagination configuration of a table visual or box plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotsortconfiguration.html#cfn-quicksight-dashboard-boxplotsortconfiguration-paginationconfiguration) */ public fun paginationConfiguration(): Any? = unwrap(this).getPaginationConfiguration() /** * A builder for [BoxPlotSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categorySort The sort configuration of a group by fields. */ public fun categorySort(categorySort: IResolvable) /** * @param categorySort The sort configuration of a group by fields. */ public fun categorySort(categorySort: List) /** * @param categorySort The sort configuration of a group by fields. */ public fun categorySort(vararg categorySort: Any) /** * @param paginationConfiguration The pagination configuration of a table visual or box plot. */ public fun paginationConfiguration(paginationConfiguration: IResolvable) /** * @param paginationConfiguration The pagination configuration of a table visual or box plot. */ public fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty) /** * @param paginationConfiguration The pagination configuration of a table visual or box plot. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7b01442e5a1258c203396fa57bab8fc62c3e7be56f30a0bf7e50edc6742a7bc2") public fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotSortConfigurationProperty.builder() /** * @param categorySort The sort configuration of a group by fields. */ override fun categorySort(categorySort: IResolvable) { cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** * @param categorySort The sort configuration of a group by fields. */ override fun categorySort(categorySort: List) { cdkBuilder.categorySort(categorySort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param categorySort The sort configuration of a group by fields. */ override fun categorySort(vararg categorySort: Any): Unit = categorySort(categorySort.toList()) /** * @param paginationConfiguration The pagination configuration of a table visual or box plot. */ override fun paginationConfiguration(paginationConfiguration: IResolvable) { cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param paginationConfiguration The pagination configuration of a table visual or box plot. */ override fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty) { cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty.Companion::unwrap)) } /** * @param paginationConfiguration The pagination configuration of a table visual or box plot. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7b01442e5a1258c203396fa57bab8fc62c3e7be56f30a0bf7e50edc6742a7bc2") override fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty.Builder.() -> Unit): Unit = paginationConfiguration(PaginationConfigurationProperty(paginationConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotSortConfigurationProperty, ) : CdkObject(cdkObject), BoxPlotSortConfigurationProperty { /** * The sort configuration of a group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotsortconfiguration.html#cfn-quicksight-dashboard-boxplotsortconfiguration-categorysort) */ override fun categorySort(): Any? = unwrap(this).getCategorySort() /** * The pagination configuration of a table visual or box plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotsortconfiguration.html#cfn-quicksight-dashboard-boxplotsortconfiguration-paginationconfiguration) */ override fun paginationConfiguration(): Any? = unwrap(this).getPaginationConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BoxPlotSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotSortConfigurationProperty): BoxPlotSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? BoxPlotSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BoxPlotSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotSortConfigurationProperty } } /** * The style options of the box plot. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * BoxPlotStyleOptionsProperty boxPlotStyleOptionsProperty = BoxPlotStyleOptionsProperty.builder() * .fillStyle("fillStyle") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotstyleoptions.html) */ public interface BoxPlotStyleOptionsProperty { /** * The fill styles (solid, transparent) of the box plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotstyleoptions.html#cfn-quicksight-dashboard-boxplotstyleoptions-fillstyle) */ public fun fillStyle(): String? = unwrap(this).getFillStyle() /** * A builder for [BoxPlotStyleOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param fillStyle The fill styles (solid, transparent) of the box plot. */ public fun fillStyle(fillStyle: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotStyleOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotStyleOptionsProperty.builder() /** * @param fillStyle The fill styles (solid, transparent) of the box plot. */ override fun fillStyle(fillStyle: String) { cdkBuilder.fillStyle(fillStyle) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotStyleOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotStyleOptionsProperty, ) : CdkObject(cdkObject), BoxPlotStyleOptionsProperty { /** * The fill styles (solid, transparent) of the box plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotstyleoptions.html#cfn-quicksight-dashboard-boxplotstyleoptions-fillstyle) */ override fun fillStyle(): String? = unwrap(this).getFillStyle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BoxPlotStyleOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotStyleOptionsProperty): BoxPlotStyleOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? BoxPlotStyleOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BoxPlotStyleOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotStyleOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotStyleOptionsProperty } } /** * A box plot. * * For more information, see [Using box * plots](https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html) */ public interface BoxPlotVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html#cfn-quicksight-dashboard-boxplotvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html#cfn-quicksight-dashboard-boxplotvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html#cfn-quicksight-dashboard-boxplotvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html#cfn-quicksight-dashboard-boxplotvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html#cfn-quicksight-dashboard-boxplotvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html#cfn-quicksight-dashboard-boxplotvisual-visualid) */ public fun visualId(): String /** * A builder for [BoxPlotVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: BoxPlotChartConfigurationProperty) /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6548693a9c1c2a9a3094ed40c6c070100d8d8bc19d696e9237de3753b84c9a18") public fun chartConfiguration(chartConfiguration: BoxPlotChartConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("30a95b07dee917dff4e5e68790d41a9266cf35a6f0737879a9db077e620b6473") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1f28fe788172ae9427ded146c99ec09205c0c9548d0d9a1ea6ff830e0262ba01") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: BoxPlotChartConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(BoxPlotChartConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6548693a9c1c2a9a3094ed40c6c070100d8d8bc19d696e9237de3753b84c9a18") override fun chartConfiguration(chartConfiguration: BoxPlotChartConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(BoxPlotChartConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("30a95b07dee917dff4e5e68790d41a9266cf35a6f0737879a9db077e620b6473") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1f28fe788172ae9427ded146c99ec09205c0c9548d0d9a1ea6ff830e0262ba01") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotVisualProperty, ) : CdkObject(cdkObject), BoxPlotVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html#cfn-quicksight-dashboard-boxplotvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html#cfn-quicksight-dashboard-boxplotvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html#cfn-quicksight-dashboard-boxplotvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html#cfn-quicksight-dashboard-boxplotvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html#cfn-quicksight-dashboard-boxplotvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-boxplotvisual.html#cfn-quicksight-dashboard-boxplotvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): BoxPlotVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotVisualProperty): BoxPlotVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? BoxPlotVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: BoxPlotVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.BoxPlotVisualProperty } } /** * The calculated field of an analysis. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CalculatedFieldProperty calculatedFieldProperty = CalculatedFieldProperty.builder() * .dataSetIdentifier("dataSetIdentifier") * .expression("expression") * .name("name") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-calculatedfield.html) */ public interface CalculatedFieldProperty { /** * The data set that is used in this calculated field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-calculatedfield.html#cfn-quicksight-dashboard-calculatedfield-datasetidentifier) */ public fun dataSetIdentifier(): String /** * The expression of the calculated field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-calculatedfield.html#cfn-quicksight-dashboard-calculatedfield-expression) */ public fun expression(): String /** * The name of the calculated field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-calculatedfield.html#cfn-quicksight-dashboard-calculatedfield-name) */ public fun name(): String /** * A builder for [CalculatedFieldProperty] */ @CdkDslMarker public interface Builder { /** * @param dataSetIdentifier The data set that is used in this calculated field. */ public fun dataSetIdentifier(dataSetIdentifier: String) /** * @param expression The expression of the calculated field. */ public fun expression(expression: String) /** * @param name The name of the calculated field. */ public fun name(name: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedFieldProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedFieldProperty.builder() /** * @param dataSetIdentifier The data set that is used in this calculated field. */ override fun dataSetIdentifier(dataSetIdentifier: String) { cdkBuilder.dataSetIdentifier(dataSetIdentifier) } /** * @param expression The expression of the calculated field. */ override fun expression(expression: String) { cdkBuilder.expression(expression) } /** * @param name The name of the calculated field. */ override fun name(name: String) { cdkBuilder.name(name) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedFieldProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedFieldProperty, ) : CdkObject(cdkObject), CalculatedFieldProperty { /** * The data set that is used in this calculated field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-calculatedfield.html#cfn-quicksight-dashboard-calculatedfield-datasetidentifier) */ override fun dataSetIdentifier(): String = unwrap(this).getDataSetIdentifier() /** * The expression of the calculated field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-calculatedfield.html#cfn-quicksight-dashboard-calculatedfield-expression) */ override fun expression(): String = unwrap(this).getExpression() /** * The name of the calculated field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-calculatedfield.html#cfn-quicksight-dashboard-calculatedfield-name) */ override fun name(): String = unwrap(this).getName() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CalculatedFieldProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedFieldProperty): CalculatedFieldProperty = CdkObjectWrappers.wrap(cdkObject) as? CalculatedFieldProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CalculatedFieldProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedFieldProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedFieldProperty } } /** * The table calculation measure field for pivot tables. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CalculatedMeasureFieldProperty calculatedMeasureFieldProperty = * CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-calculatedmeasurefield.html) */ public interface CalculatedMeasureFieldProperty { /** * The expression in the table calculation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-calculatedmeasurefield.html#cfn-quicksight-dashboard-calculatedmeasurefield-expression) */ public fun expression(): String /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-calculatedmeasurefield.html#cfn-quicksight-dashboard-calculatedmeasurefield-fieldid) */ public fun fieldId(): String /** * A builder for [CalculatedMeasureFieldProperty] */ @CdkDslMarker public interface Builder { /** * @param expression The expression in the table calculation. */ public fun expression(expression: String) /** * @param fieldId The custom field ID. */ public fun fieldId(fieldId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedMeasureFieldProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedMeasureFieldProperty.builder() /** * @param expression The expression in the table calculation. */ override fun expression(expression: String) { cdkBuilder.expression(expression) } /** * @param fieldId The custom field ID. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedMeasureFieldProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedMeasureFieldProperty, ) : CdkObject(cdkObject), CalculatedMeasureFieldProperty { /** * The expression in the table calculation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-calculatedmeasurefield.html#cfn-quicksight-dashboard-calculatedmeasurefield-expression) */ override fun expression(): String = unwrap(this).getExpression() /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-calculatedmeasurefield.html#cfn-quicksight-dashboard-calculatedmeasurefield-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CalculatedMeasureFieldProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedMeasureFieldProperty): CalculatedMeasureFieldProperty = CdkObjectWrappers.wrap(cdkObject) as? CalculatedMeasureFieldProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CalculatedMeasureFieldProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedMeasureFieldProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CalculatedMeasureFieldProperty } } /** * The values that are displayed in a control can be configured to only show values that are valid * based on what's selected in other controls. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CascadingControlConfigurationProperty cascadingControlConfigurationProperty = * CascadingControlConfigurationProperty.builder() * .sourceControls(List.of(CascadingControlSourceProperty.builder() * .columnToMatch(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceSheetControlId("sourceSheetControlId") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-cascadingcontrolconfiguration.html) */ public interface CascadingControlConfigurationProperty { /** * A list of source controls that determine the values that are used in the current control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-cascadingcontrolconfiguration.html#cfn-quicksight-dashboard-cascadingcontrolconfiguration-sourcecontrols) */ public fun sourceControls(): Any? = unwrap(this).getSourceControls() /** * A builder for [CascadingControlConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param sourceControls A list of source controls that determine the values that are used in * the current control. */ public fun sourceControls(sourceControls: IResolvable) /** * @param sourceControls A list of source controls that determine the values that are used in * the current control. */ public fun sourceControls(sourceControls: List) /** * @param sourceControls A list of source controls that determine the values that are used in * the current control. */ public fun sourceControls(vararg sourceControls: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlConfigurationProperty.builder() /** * @param sourceControls A list of source controls that determine the values that are used in * the current control. */ override fun sourceControls(sourceControls: IResolvable) { cdkBuilder.sourceControls(sourceControls.let(IResolvable.Companion::unwrap)) } /** * @param sourceControls A list of source controls that determine the values that are used in * the current control. */ override fun sourceControls(sourceControls: List) { cdkBuilder.sourceControls(sourceControls.map{CdkObjectWrappers.unwrap(it)}) } /** * @param sourceControls A list of source controls that determine the values that are used in * the current control. */ override fun sourceControls(vararg sourceControls: Any): Unit = sourceControls(sourceControls.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlConfigurationProperty, ) : CdkObject(cdkObject), CascadingControlConfigurationProperty { /** * A list of source controls that determine the values that are used in the current control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-cascadingcontrolconfiguration.html#cfn-quicksight-dashboard-cascadingcontrolconfiguration-sourcecontrols) */ override fun sourceControls(): Any? = unwrap(this).getSourceControls() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CascadingControlConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlConfigurationProperty): CascadingControlConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? CascadingControlConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CascadingControlConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlConfigurationProperty } } /** * The source controls that are used in a `CascadingControlConfiguration` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CascadingControlSourceProperty cascadingControlSourceProperty = * CascadingControlSourceProperty.builder() * .columnToMatch(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceSheetControlId("sourceSheetControlId") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-cascadingcontrolsource.html) */ public interface CascadingControlSourceProperty { /** * The column identifier that determines which column to look up for the source sheet control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-cascadingcontrolsource.html#cfn-quicksight-dashboard-cascadingcontrolsource-columntomatch) */ public fun columnToMatch(): Any? = unwrap(this).getColumnToMatch() /** * The source sheet control ID of a `CascadingControlSource` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-cascadingcontrolsource.html#cfn-quicksight-dashboard-cascadingcontrolsource-sourcesheetcontrolid) */ public fun sourceSheetControlId(): String? = unwrap(this).getSourceSheetControlId() /** * A builder for [CascadingControlSourceProperty] */ @CdkDslMarker public interface Builder { /** * @param columnToMatch The column identifier that determines which column to look up for the * source sheet control. */ public fun columnToMatch(columnToMatch: IResolvable) /** * @param columnToMatch The column identifier that determines which column to look up for the * source sheet control. */ public fun columnToMatch(columnToMatch: ColumnIdentifierProperty) /** * @param columnToMatch The column identifier that determines which column to look up for the * source sheet control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("457ae6d3d3f59ffbf082f41a733afa34fa5487fcf3a6ddcb0faa6c2c96ed04fe") public fun columnToMatch(columnToMatch: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param sourceSheetControlId The source sheet control ID of a `CascadingControlSource` . */ public fun sourceSheetControlId(sourceSheetControlId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlSourceProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlSourceProperty.builder() /** * @param columnToMatch The column identifier that determines which column to look up for the * source sheet control. */ override fun columnToMatch(columnToMatch: IResolvable) { cdkBuilder.columnToMatch(columnToMatch.let(IResolvable.Companion::unwrap)) } /** * @param columnToMatch The column identifier that determines which column to look up for the * source sheet control. */ override fun columnToMatch(columnToMatch: ColumnIdentifierProperty) { cdkBuilder.columnToMatch(columnToMatch.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param columnToMatch The column identifier that determines which column to look up for the * source sheet control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("457ae6d3d3f59ffbf082f41a733afa34fa5487fcf3a6ddcb0faa6c2c96ed04fe") override fun columnToMatch(columnToMatch: ColumnIdentifierProperty.Builder.() -> Unit): Unit = columnToMatch(ColumnIdentifierProperty(columnToMatch)) /** * @param sourceSheetControlId The source sheet control ID of a `CascadingControlSource` . */ override fun sourceSheetControlId(sourceSheetControlId: String) { cdkBuilder.sourceSheetControlId(sourceSheetControlId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlSourceProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlSourceProperty, ) : CdkObject(cdkObject), CascadingControlSourceProperty { /** * The column identifier that determines which column to look up for the source sheet control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-cascadingcontrolsource.html#cfn-quicksight-dashboard-cascadingcontrolsource-columntomatch) */ override fun columnToMatch(): Any? = unwrap(this).getColumnToMatch() /** * The source sheet control ID of a `CascadingControlSource` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-cascadingcontrolsource.html#cfn-quicksight-dashboard-cascadingcontrolsource-sourcesheetcontrolid) */ override fun sourceSheetControlId(): String? = unwrap(this).getSourceSheetControlId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CascadingControlSourceProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlSourceProperty): CascadingControlSourceProperty = CdkObjectWrappers.wrap(cdkObject) as? CascadingControlSourceProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CascadingControlSourceProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlSourceProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CascadingControlSourceProperty } } /** * The dimension type field with categorical type columns.. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CategoricalDimensionFieldProperty categoricalDimensionFieldProperty = * CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricaldimensionfield.html) */ public interface CategoricalDimensionFieldProperty { /** * The column that is used in the `CategoricalDimensionField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricaldimensionfield.html#cfn-quicksight-dashboard-categoricaldimensionfield-column) */ public fun column(): Any /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricaldimensionfield.html#cfn-quicksight-dashboard-categoricaldimensionfield-fieldid) */ public fun fieldId(): String /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricaldimensionfield.html#cfn-quicksight-dashboard-categoricaldimensionfield-formatconfiguration) */ public fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * The custom hierarchy ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricaldimensionfield.html#cfn-quicksight-dashboard-categoricaldimensionfield-hierarchyid) */ public fun hierarchyId(): String? = unwrap(this).getHierarchyId() /** * A builder for [CategoricalDimensionFieldProperty] */ @CdkDslMarker public interface Builder { /** * @param column The column that is used in the `CategoricalDimensionField` . */ public fun column(column: IResolvable) /** * @param column The column that is used in the `CategoricalDimensionField` . */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that is used in the `CategoricalDimensionField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("243cce65ccac9babf319cf808f07e04edb3d6e63f6904c00527d0990de4360b9") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param fieldId The custom field ID. */ public fun fieldId(fieldId: String) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: IResolvable) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty) /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("04d36a42c380d730e2bb302b98512352e547d0c88083dd5eeb454206bb3a22da") public fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty.Builder.() -> Unit) /** * @param hierarchyId The custom hierarchy ID. */ public fun hierarchyId(hierarchyId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalDimensionFieldProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalDimensionFieldProperty.builder() /** * @param column The column that is used in the `CategoricalDimensionField` . */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `CategoricalDimensionField` . */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that is used in the `CategoricalDimensionField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("243cce65ccac9babf319cf808f07e04edb3d6e63f6904c00527d0990de4360b9") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param fieldId The custom field ID. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty) { cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("04d36a42c380d730e2bb302b98512352e547d0c88083dd5eeb454206bb3a22da") override fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty.Builder.() -> Unit): Unit = formatConfiguration(StringFormatConfigurationProperty(formatConfiguration)) /** * @param hierarchyId The custom hierarchy ID. */ override fun hierarchyId(hierarchyId: String) { cdkBuilder.hierarchyId(hierarchyId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalDimensionFieldProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalDimensionFieldProperty, ) : CdkObject(cdkObject), CategoricalDimensionFieldProperty { /** * The column that is used in the `CategoricalDimensionField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricaldimensionfield.html#cfn-quicksight-dashboard-categoricaldimensionfield-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricaldimensionfield.html#cfn-quicksight-dashboard-categoricaldimensionfield-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricaldimensionfield.html#cfn-quicksight-dashboard-categoricaldimensionfield-formatconfiguration) */ override fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * The custom hierarchy ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricaldimensionfield.html#cfn-quicksight-dashboard-categoricaldimensionfield-hierarchyid) */ override fun hierarchyId(): String? = unwrap(this).getHierarchyId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CategoricalDimensionFieldProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalDimensionFieldProperty): CategoricalDimensionFieldProperty = CdkObjectWrappers.wrap(cdkObject) as? CategoricalDimensionFieldProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CategoricalDimensionFieldProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalDimensionFieldProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalDimensionFieldProperty } } /** * The measure type field with categorical type columns. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CategoricalMeasureFieldProperty categoricalMeasureFieldProperty = * CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricalmeasurefield.html) */ public interface CategoricalMeasureFieldProperty { /** * The aggregation function of the measure field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricalmeasurefield.html#cfn-quicksight-dashboard-categoricalmeasurefield-aggregationfunction) */ public fun aggregationFunction(): String? = unwrap(this).getAggregationFunction() /** * The column that is used in the `CategoricalMeasureField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricalmeasurefield.html#cfn-quicksight-dashboard-categoricalmeasurefield-column) */ public fun column(): Any /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricalmeasurefield.html#cfn-quicksight-dashboard-categoricalmeasurefield-fieldid) */ public fun fieldId(): String /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricalmeasurefield.html#cfn-quicksight-dashboard-categoricalmeasurefield-formatconfiguration) */ public fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * A builder for [CategoricalMeasureFieldProperty] */ @CdkDslMarker public interface Builder { /** * @param aggregationFunction The aggregation function of the measure field. */ public fun aggregationFunction(aggregationFunction: String) /** * @param column The column that is used in the `CategoricalMeasureField` . */ public fun column(column: IResolvable) /** * @param column The column that is used in the `CategoricalMeasureField` . */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that is used in the `CategoricalMeasureField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cabf77d0d58d5b52e99a5c22f6b26a897da7becf90c7b2ef2a8b5b4992a77e11") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param fieldId The custom field ID. */ public fun fieldId(fieldId: String) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: IResolvable) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty) /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2fbd8689455c216864e8cc8d9f9bc4f9f3eab3f8836cce67f783dcc9197aa38f") public fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalMeasureFieldProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalMeasureFieldProperty.builder() /** * @param aggregationFunction The aggregation function of the measure field. */ override fun aggregationFunction(aggregationFunction: String) { cdkBuilder.aggregationFunction(aggregationFunction) } /** * @param column The column that is used in the `CategoricalMeasureField` . */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `CategoricalMeasureField` . */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that is used in the `CategoricalMeasureField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cabf77d0d58d5b52e99a5c22f6b26a897da7becf90c7b2ef2a8b5b4992a77e11") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param fieldId The custom field ID. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty) { cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2fbd8689455c216864e8cc8d9f9bc4f9f3eab3f8836cce67f783dcc9197aa38f") override fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty.Builder.() -> Unit): Unit = formatConfiguration(StringFormatConfigurationProperty(formatConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalMeasureFieldProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalMeasureFieldProperty, ) : CdkObject(cdkObject), CategoricalMeasureFieldProperty { /** * The aggregation function of the measure field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricalmeasurefield.html#cfn-quicksight-dashboard-categoricalmeasurefield-aggregationfunction) */ override fun aggregationFunction(): String? = unwrap(this).getAggregationFunction() /** * The column that is used in the `CategoricalMeasureField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricalmeasurefield.html#cfn-quicksight-dashboard-categoricalmeasurefield-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricalmeasurefield.html#cfn-quicksight-dashboard-categoricalmeasurefield-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoricalmeasurefield.html#cfn-quicksight-dashboard-categoricalmeasurefield-formatconfiguration) */ override fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CategoricalMeasureFieldProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalMeasureFieldProperty): CategoricalMeasureFieldProperty = CdkObjectWrappers.wrap(cdkObject) as? CategoricalMeasureFieldProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CategoricalMeasureFieldProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalMeasureFieldProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalMeasureFieldProperty } } /** * The category drill down filter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CategoryDrillDownFilterProperty categoryDrillDownFilterProperty = * CategoryDrillDownFilterProperty.builder() * .categoryValues(List.of("categoryValues")) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categorydrilldownfilter.html) */ public interface CategoryDrillDownFilterProperty { /** * A list of the string inputs that are the values of the category drill down filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categorydrilldownfilter.html#cfn-quicksight-dashboard-categorydrilldownfilter-categoryvalues) */ public fun categoryValues(): List /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categorydrilldownfilter.html#cfn-quicksight-dashboard-categorydrilldownfilter-column) */ public fun column(): Any /** * A builder for [CategoryDrillDownFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryValues A list of the string inputs that are the values of the category drill * down filter. */ public fun categoryValues(categoryValues: List) /** * @param categoryValues A list of the string inputs that are the values of the category drill * down filter. */ public fun categoryValues(vararg categoryValues: String) /** * @param column The column that the filter is applied to. */ public fun column(column: IResolvable) /** * @param column The column that the filter is applied to. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("60d9e905845db112b69e1a64d2832731217cc74db86de018055697037700ad33") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryDrillDownFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryDrillDownFilterProperty.builder() /** * @param categoryValues A list of the string inputs that are the values of the category drill * down filter. */ override fun categoryValues(categoryValues: List) { cdkBuilder.categoryValues(categoryValues) } /** * @param categoryValues A list of the string inputs that are the values of the category drill * down filter. */ override fun categoryValues(vararg categoryValues: String): Unit = categoryValues(categoryValues.toList()) /** * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("60d9e905845db112b69e1a64d2832731217cc74db86de018055697037700ad33") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryDrillDownFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryDrillDownFilterProperty, ) : CdkObject(cdkObject), CategoryDrillDownFilterProperty { /** * A list of the string inputs that are the values of the category drill down filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categorydrilldownfilter.html#cfn-quicksight-dashboard-categorydrilldownfilter-categoryvalues) */ override fun categoryValues(): List = unwrap(this).getCategoryValues() /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categorydrilldownfilter.html#cfn-quicksight-dashboard-categorydrilldownfilter-column) */ override fun column(): Any = unwrap(this).getColumn() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CategoryDrillDownFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryDrillDownFilterProperty): CategoryDrillDownFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? CategoryDrillDownFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CategoryDrillDownFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryDrillDownFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryDrillDownFilterProperty } } /** * The configuration for a `CategoryFilter` . * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CategoryFilterConfigurationProperty categoryFilterConfigurationProperty = * CategoryFilterConfigurationProperty.builder() * .customFilterConfiguration(CustomFilterConfigurationProperty.builder() * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .categoryValue("categoryValue") * .parameterName("parameterName") * .selectAllOptions("selectAllOptions") * .build()) * .customFilterListConfiguration(CustomFilterListConfigurationProperty.builder() * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .categoryValues(List.of("categoryValues")) * .selectAllOptions("selectAllOptions") * .build()) * .filterListConfiguration(FilterListConfigurationProperty.builder() * .matchOperator("matchOperator") * // the properties below are optional * .categoryValues(List.of("categoryValues")) * .nullOption("nullOption") * .selectAllOptions("selectAllOptions") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilterconfiguration.html) */ public interface CategoryFilterConfigurationProperty { /** * A custom filter that filters based on a single value. * * This filter can be partially matched. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilterconfiguration.html#cfn-quicksight-dashboard-categoryfilterconfiguration-customfilterconfiguration) */ public fun customFilterConfiguration(): Any? = unwrap(this).getCustomFilterConfiguration() /** * A list of custom filter values. * * In the Amazon QuickSight console, this filter type is called a custom filter list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilterconfiguration.html#cfn-quicksight-dashboard-categoryfilterconfiguration-customfilterlistconfiguration) */ public fun customFilterListConfiguration(): Any? = unwrap(this).getCustomFilterListConfiguration() /** * A list of filter configurations. * * In the Amazon QuickSight console, this filter type is called a filter list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilterconfiguration.html#cfn-quicksight-dashboard-categoryfilterconfiguration-filterlistconfiguration) */ public fun filterListConfiguration(): Any? = unwrap(this).getFilterListConfiguration() /** * A builder for [CategoryFilterConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param customFilterConfiguration A custom filter that filters based on a single value. * This filter can be partially matched. */ public fun customFilterConfiguration(customFilterConfiguration: IResolvable) /** * @param customFilterConfiguration A custom filter that filters based on a single value. * This filter can be partially matched. */ public fun customFilterConfiguration(customFilterConfiguration: CustomFilterConfigurationProperty) /** * @param customFilterConfiguration A custom filter that filters based on a single value. * This filter can be partially matched. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("32a424dd6e42acedfd03b3f1f536e91f17f4d6f056b3cefdc1cfad3932b0dfef") public fun customFilterConfiguration(customFilterConfiguration: CustomFilterConfigurationProperty.Builder.() -> Unit) /** * @param customFilterListConfiguration A list of custom filter values. * In the Amazon QuickSight console, this filter type is called a custom filter list. */ public fun customFilterListConfiguration(customFilterListConfiguration: IResolvable) /** * @param customFilterListConfiguration A list of custom filter values. * In the Amazon QuickSight console, this filter type is called a custom filter list. */ public fun customFilterListConfiguration(customFilterListConfiguration: CustomFilterListConfigurationProperty) /** * @param customFilterListConfiguration A list of custom filter values. * In the Amazon QuickSight console, this filter type is called a custom filter list. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b82d75f22e14c0ffce98c0d0e81570a5d12bb1be407840543d84daff048778a8") public fun customFilterListConfiguration(customFilterListConfiguration: CustomFilterListConfigurationProperty.Builder.() -> Unit) /** * @param filterListConfiguration A list of filter configurations. * In the Amazon QuickSight console, this filter type is called a filter list. */ public fun filterListConfiguration(filterListConfiguration: IResolvable) /** * @param filterListConfiguration A list of filter configurations. * In the Amazon QuickSight console, this filter type is called a filter list. */ public fun filterListConfiguration(filterListConfiguration: FilterListConfigurationProperty) /** * @param filterListConfiguration A list of filter configurations. * In the Amazon QuickSight console, this filter type is called a filter list. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6aadd0688ed3e1ca4b924562870b4a6f283bd04404bf2eb82a28f7d133372646") public fun filterListConfiguration(filterListConfiguration: FilterListConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterConfigurationProperty.builder() /** * @param customFilterConfiguration A custom filter that filters based on a single value. * This filter can be partially matched. */ override fun customFilterConfiguration(customFilterConfiguration: IResolvable) { cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param customFilterConfiguration A custom filter that filters based on a single value. * This filter can be partially matched. */ override fun customFilterConfiguration(customFilterConfiguration: CustomFilterConfigurationProperty) { cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(CustomFilterConfigurationProperty.Companion::unwrap)) } /** * @param customFilterConfiguration A custom filter that filters based on a single value. * This filter can be partially matched. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("32a424dd6e42acedfd03b3f1f536e91f17f4d6f056b3cefdc1cfad3932b0dfef") override fun customFilterConfiguration(customFilterConfiguration: CustomFilterConfigurationProperty.Builder.() -> Unit): Unit = customFilterConfiguration(CustomFilterConfigurationProperty(customFilterConfiguration)) /** * @param customFilterListConfiguration A list of custom filter values. * In the Amazon QuickSight console, this filter type is called a custom filter list. */ override fun customFilterListConfiguration(customFilterListConfiguration: IResolvable) { cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param customFilterListConfiguration A list of custom filter values. * In the Amazon QuickSight console, this filter type is called a custom filter list. */ override fun customFilterListConfiguration(customFilterListConfiguration: CustomFilterListConfigurationProperty) { cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(CustomFilterListConfigurationProperty.Companion::unwrap)) } /** * @param customFilterListConfiguration A list of custom filter values. * In the Amazon QuickSight console, this filter type is called a custom filter list. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b82d75f22e14c0ffce98c0d0e81570a5d12bb1be407840543d84daff048778a8") override fun customFilterListConfiguration(customFilterListConfiguration: CustomFilterListConfigurationProperty.Builder.() -> Unit): Unit = customFilterListConfiguration(CustomFilterListConfigurationProperty(customFilterListConfiguration)) /** * @param filterListConfiguration A list of filter configurations. * In the Amazon QuickSight console, this filter type is called a filter list. */ override fun filterListConfiguration(filterListConfiguration: IResolvable) { cdkBuilder.filterListConfiguration(filterListConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param filterListConfiguration A list of filter configurations. * In the Amazon QuickSight console, this filter type is called a filter list. */ override fun filterListConfiguration(filterListConfiguration: FilterListConfigurationProperty) { cdkBuilder.filterListConfiguration(filterListConfiguration.let(FilterListConfigurationProperty.Companion::unwrap)) } /** * @param filterListConfiguration A list of filter configurations. * In the Amazon QuickSight console, this filter type is called a filter list. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6aadd0688ed3e1ca4b924562870b4a6f283bd04404bf2eb82a28f7d133372646") override fun filterListConfiguration(filterListConfiguration: FilterListConfigurationProperty.Builder.() -> Unit): Unit = filterListConfiguration(FilterListConfigurationProperty(filterListConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterConfigurationProperty, ) : CdkObject(cdkObject), CategoryFilterConfigurationProperty { /** * A custom filter that filters based on a single value. * * This filter can be partially matched. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilterconfiguration.html#cfn-quicksight-dashboard-categoryfilterconfiguration-customfilterconfiguration) */ override fun customFilterConfiguration(): Any? = unwrap(this).getCustomFilterConfiguration() /** * A list of custom filter values. * * In the Amazon QuickSight console, this filter type is called a custom filter list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilterconfiguration.html#cfn-quicksight-dashboard-categoryfilterconfiguration-customfilterlistconfiguration) */ override fun customFilterListConfiguration(): Any? = unwrap(this).getCustomFilterListConfiguration() /** * A list of filter configurations. * * In the Amazon QuickSight console, this filter type is called a filter list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilterconfiguration.html#cfn-quicksight-dashboard-categoryfilterconfiguration-filterlistconfiguration) */ override fun filterListConfiguration(): Any? = unwrap(this).getFilterListConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CategoryFilterConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterConfigurationProperty): CategoryFilterConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? CategoryFilterConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CategoryFilterConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterConfigurationProperty } } /** * A `CategoryFilter` filters text values. * * For more information, see [Adding text * filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) in * the *Amazon QuickSight User Guide* . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CategoryFilterProperty categoryFilterProperty = CategoryFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .configuration(CategoryFilterConfigurationProperty.builder() * .customFilterConfiguration(CustomFilterConfigurationProperty.builder() * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .categoryValue("categoryValue") * .parameterName("parameterName") * .selectAllOptions("selectAllOptions") * .build()) * .customFilterListConfiguration(CustomFilterListConfigurationProperty.builder() * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .categoryValues(List.of("categoryValues")) * .selectAllOptions("selectAllOptions") * .build()) * .filterListConfiguration(FilterListConfigurationProperty.builder() * .matchOperator("matchOperator") * // the properties below are optional * .categoryValues(List.of("categoryValues")) * .nullOption("nullOption") * .selectAllOptions("selectAllOptions") * .build()) * .build()) * .filterId("filterId") * // the properties below are optional * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() * .controlOptions(DefaultFilterControlOptionsProperty.builder() * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build()) * .title("title") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilter.html) */ public interface CategoryFilterProperty { /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilter.html#cfn-quicksight-dashboard-categoryfilter-column) */ public fun column(): Any /** * The configuration for a `CategoryFilter` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilter.html#cfn-quicksight-dashboard-categoryfilter-configuration) */ public fun configuration(): Any /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilter.html#cfn-quicksight-dashboard-categoryfilter-defaultfiltercontrolconfiguration) */ public fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilter.html#cfn-quicksight-dashboard-categoryfilter-filterid) */ public fun filterId(): String /** * A builder for [CategoryFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param column The column that the filter is applied to. */ public fun column(column: IResolvable) /** * @param column The column that the filter is applied to. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("96dd62bbc3cdacf89eea72c6e2291cb790b018b83e5938233b2634cf7d576d59") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param configuration The configuration for a `CategoryFilter` . */ public fun configuration(configuration: IResolvable) /** * @param configuration The configuration for a `CategoryFilter` . */ public fun configuration(configuration: CategoryFilterConfigurationProperty) /** * @param configuration The configuration for a `CategoryFilter` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a3c57585752e366cafc8c9f4134c2155b5daf01b4592a58fa3b1e9d370296f4c") public fun configuration(configuration: CategoryFilterConfigurationProperty.Builder.() -> Unit) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1667488e1b4137619718fc427e50d117da012c37b2336c010df8cdb80b161a82") public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ public fun filterId(filterId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterProperty.builder() /** * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("96dd62bbc3cdacf89eea72c6e2291cb790b018b83e5938233b2634cf7d576d59") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param configuration The configuration for a `CategoryFilter` . */ override fun configuration(configuration: IResolvable) { cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration The configuration for a `CategoryFilter` . */ override fun configuration(configuration: CategoryFilterConfigurationProperty) { cdkBuilder.configuration(configuration.let(CategoryFilterConfigurationProperty.Companion::unwrap)) } /** * @param configuration The configuration for a `CategoryFilter` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a3c57585752e366cafc8c9f4134c2155b5daf01b4592a58fa3b1e9d370296f4c") override fun configuration(configuration: CategoryFilterConfigurationProperty.Builder.() -> Unit): Unit = configuration(CategoryFilterConfigurationProperty(configuration)) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1667488e1b4137619718fc427e50d117da012c37b2336c010df8cdb80b161a82") override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): Unit = defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ override fun filterId(filterId: String) { cdkBuilder.filterId(filterId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterProperty, ) : CdkObject(cdkObject), CategoryFilterProperty { /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilter.html#cfn-quicksight-dashboard-categoryfilter-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The configuration for a `CategoryFilter` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilter.html#cfn-quicksight-dashboard-categoryfilter-configuration) */ override fun configuration(): Any = unwrap(this).getConfiguration() /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilter.html#cfn-quicksight-dashboard-categoryfilter-defaultfiltercontrolconfiguration) */ override fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilter.html#cfn-quicksight-dashboard-categoryfilter-filterid) */ override fun filterId(): String = unwrap(this).getFilterId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CategoryFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterProperty): CategoryFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? CategoryFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CategoryFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryFilterProperty } } /** * A `CategoryInnerFilter` filters text values for the `NestedFilter` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CategoryInnerFilterProperty categoryInnerFilterProperty = CategoryInnerFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .configuration(CategoryFilterConfigurationProperty.builder() * .customFilterConfiguration(CustomFilterConfigurationProperty.builder() * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .categoryValue("categoryValue") * .parameterName("parameterName") * .selectAllOptions("selectAllOptions") * .build()) * .customFilterListConfiguration(CustomFilterListConfigurationProperty.builder() * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .categoryValues(List.of("categoryValues")) * .selectAllOptions("selectAllOptions") * .build()) * .filterListConfiguration(FilterListConfigurationProperty.builder() * .matchOperator("matchOperator") * // the properties below are optional * .categoryValues(List.of("categoryValues")) * .nullOption("nullOption") * .selectAllOptions("selectAllOptions") * .build()) * .build()) * // the properties below are optional * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() * .controlOptions(DefaultFilterControlOptionsProperty.builder() * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build()) * .title("title") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryinnerfilter.html) */ public interface CategoryInnerFilterProperty { /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryinnerfilter.html#cfn-quicksight-dashboard-categoryinnerfilter-column) */ public fun column(): Any /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryinnerfilter.html#cfn-quicksight-dashboard-categoryinnerfilter-configuration) */ public fun configuration(): Any /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryinnerfilter.html#cfn-quicksight-dashboard-categoryinnerfilter-defaultfiltercontrolconfiguration) */ public fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * A builder for [CategoryInnerFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param column the value to be set. */ public fun column(column: IResolvable) /** * @param column the value to be set. */ public fun column(column: ColumnIdentifierProperty) /** * @param column the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4af5d806a377f25dc66af91fdcbf81b4cf207930a7d84bd4122daedc1ce8ee09") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param configuration the value to be set. */ public fun configuration(configuration: IResolvable) /** * @param configuration the value to be set. */ public fun configuration(configuration: CategoryFilterConfigurationProperty) /** * @param configuration the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e01b047d566b528bf9669a37e3fa43eb9e3210b3e7210f95bb6ce9474559a106") public fun configuration(configuration: CategoryFilterConfigurationProperty.Builder.() -> Unit) /** * @param defaultFilterControlConfiguration the value to be set. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) /** * @param defaultFilterControlConfiguration the value to be set. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) /** * @param defaultFilterControlConfiguration the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4f23073518cdfb906d7bfb2fbb364bdd8f5192f12d4fd29faea054a14a58164b") public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryInnerFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryInnerFilterProperty.builder() /** * @param column the value to be set. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column the value to be set. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4af5d806a377f25dc66af91fdcbf81b4cf207930a7d84bd4122daedc1ce8ee09") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param configuration the value to be set. */ override fun configuration(configuration: IResolvable) { cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration the value to be set. */ override fun configuration(configuration: CategoryFilterConfigurationProperty) { cdkBuilder.configuration(configuration.let(CategoryFilterConfigurationProperty.Companion::unwrap)) } /** * @param configuration the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e01b047d566b528bf9669a37e3fa43eb9e3210b3e7210f95bb6ce9474559a106") override fun configuration(configuration: CategoryFilterConfigurationProperty.Builder.() -> Unit): Unit = configuration(CategoryFilterConfigurationProperty(configuration)) /** * @param defaultFilterControlConfiguration the value to be set. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration the value to be set. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4f23073518cdfb906d7bfb2fbb364bdd8f5192f12d4fd29faea054a14a58164b") override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): Unit = defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryInnerFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryInnerFilterProperty, ) : CdkObject(cdkObject), CategoryInnerFilterProperty { /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryinnerfilter.html#cfn-quicksight-dashboard-categoryinnerfilter-column) */ override fun column(): Any = unwrap(this).getColumn() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryinnerfilter.html#cfn-quicksight-dashboard-categoryinnerfilter-configuration) */ override fun configuration(): Any = unwrap(this).getConfiguration() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryinnerfilter.html#cfn-quicksight-dashboard-categoryinnerfilter-defaultfiltercontrolconfiguration) */ override fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CategoryInnerFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryInnerFilterProperty): CategoryInnerFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? CategoryInnerFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CategoryInnerFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryInnerFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CategoryInnerFilterProperty } } /** * The label options for an axis on a chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ChartAxisLabelOptionsProperty chartAxisLabelOptionsProperty = * ChartAxisLabelOptionsProperty.builder() * .axisLabelOptions(List.of(AxisLabelOptionsProperty.builder() * .applyTo(AxisLabelReferenceOptionsProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * .build()) * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .build())) * .sortIconVisibility("sortIconVisibility") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-chartaxislabeloptions.html) */ public interface ChartAxisLabelOptionsProperty { /** * The label options for a chart axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-chartaxislabeloptions.html#cfn-quicksight-dashboard-chartaxislabeloptions-axislabeloptions) */ public fun axisLabelOptions(): Any? = unwrap(this).getAxisLabelOptions() /** * The visibility configuration of the sort icon on a chart's axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-chartaxislabeloptions.html#cfn-quicksight-dashboard-chartaxislabeloptions-sorticonvisibility) */ public fun sortIconVisibility(): String? = unwrap(this).getSortIconVisibility() /** * The visibility of an axis label on a chart. Choose one of the following options:. * * * `VISIBLE` : Shows the axis. * * `HIDDEN` : Hides the axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-chartaxislabeloptions.html#cfn-quicksight-dashboard-chartaxislabeloptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [ChartAxisLabelOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param axisLabelOptions The label options for a chart axis. */ public fun axisLabelOptions(axisLabelOptions: IResolvable) /** * @param axisLabelOptions The label options for a chart axis. */ public fun axisLabelOptions(axisLabelOptions: List) /** * @param axisLabelOptions The label options for a chart axis. */ public fun axisLabelOptions(vararg axisLabelOptions: Any) /** * @param sortIconVisibility The visibility configuration of the sort icon on a chart's axis * label. */ public fun sortIconVisibility(sortIconVisibility: String) /** * @param visibility The visibility of an axis label on a chart. Choose one of the following * options:. * * `VISIBLE` : Shows the axis. * * `HIDDEN` : Hides the axis. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ChartAxisLabelOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ChartAxisLabelOptionsProperty.builder() /** * @param axisLabelOptions The label options for a chart axis. */ override fun axisLabelOptions(axisLabelOptions: IResolvable) { cdkBuilder.axisLabelOptions(axisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param axisLabelOptions The label options for a chart axis. */ override fun axisLabelOptions(axisLabelOptions: List) { cdkBuilder.axisLabelOptions(axisLabelOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param axisLabelOptions The label options for a chart axis. */ override fun axisLabelOptions(vararg axisLabelOptions: Any): Unit = axisLabelOptions(axisLabelOptions.toList()) /** * @param sortIconVisibility The visibility configuration of the sort icon on a chart's axis * label. */ override fun sortIconVisibility(sortIconVisibility: String) { cdkBuilder.sortIconVisibility(sortIconVisibility) } /** * @param visibility The visibility of an axis label on a chart. Choose one of the following * options:. * * `VISIBLE` : Shows the axis. * * `HIDDEN` : Hides the axis. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ChartAxisLabelOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ChartAxisLabelOptionsProperty, ) : CdkObject(cdkObject), ChartAxisLabelOptionsProperty { /** * The label options for a chart axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-chartaxislabeloptions.html#cfn-quicksight-dashboard-chartaxislabeloptions-axislabeloptions) */ override fun axisLabelOptions(): Any? = unwrap(this).getAxisLabelOptions() /** * The visibility configuration of the sort icon on a chart's axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-chartaxislabeloptions.html#cfn-quicksight-dashboard-chartaxislabeloptions-sorticonvisibility) */ override fun sortIconVisibility(): String? = unwrap(this).getSortIconVisibility() /** * The visibility of an axis label on a chart. Choose one of the following options:. * * * `VISIBLE` : Shows the axis. * * `HIDDEN` : Hides the axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-chartaxislabeloptions.html#cfn-quicksight-dashboard-chartaxislabeloptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ChartAxisLabelOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ChartAxisLabelOptionsProperty): ChartAxisLabelOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? ChartAxisLabelOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ChartAxisLabelOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ChartAxisLabelOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ChartAxisLabelOptionsProperty } } /** * The cluster marker configuration of the geospatial map selected point style. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ClusterMarkerConfigurationProperty clusterMarkerConfigurationProperty = * ClusterMarkerConfigurationProperty.builder() * .clusterMarker(ClusterMarkerProperty.builder() * .simpleClusterMarker(SimpleClusterMarkerProperty.builder() * .color("color") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-clustermarkerconfiguration.html) */ public interface ClusterMarkerConfigurationProperty { /** * The cluster marker that is a part of the cluster marker configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-clustermarkerconfiguration.html#cfn-quicksight-dashboard-clustermarkerconfiguration-clustermarker) */ public fun clusterMarker(): Any? = unwrap(this).getClusterMarker() /** * A builder for [ClusterMarkerConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param clusterMarker The cluster marker that is a part of the cluster marker configuration. */ public fun clusterMarker(clusterMarker: IResolvable) /** * @param clusterMarker The cluster marker that is a part of the cluster marker configuration. */ public fun clusterMarker(clusterMarker: ClusterMarkerProperty) /** * @param clusterMarker The cluster marker that is a part of the cluster marker configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("70383329db8ca61cb6ba37f7a6f5b28fba0c796c21596fc20ea31781061555a4") public fun clusterMarker(clusterMarker: ClusterMarkerProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerConfigurationProperty.builder() /** * @param clusterMarker The cluster marker that is a part of the cluster marker configuration. */ override fun clusterMarker(clusterMarker: IResolvable) { cdkBuilder.clusterMarker(clusterMarker.let(IResolvable.Companion::unwrap)) } /** * @param clusterMarker The cluster marker that is a part of the cluster marker configuration. */ override fun clusterMarker(clusterMarker: ClusterMarkerProperty) { cdkBuilder.clusterMarker(clusterMarker.let(ClusterMarkerProperty.Companion::unwrap)) } /** * @param clusterMarker The cluster marker that is a part of the cluster marker configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("70383329db8ca61cb6ba37f7a6f5b28fba0c796c21596fc20ea31781061555a4") override fun clusterMarker(clusterMarker: ClusterMarkerProperty.Builder.() -> Unit): Unit = clusterMarker(ClusterMarkerProperty(clusterMarker)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerConfigurationProperty, ) : CdkObject(cdkObject), ClusterMarkerConfigurationProperty { /** * The cluster marker that is a part of the cluster marker configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-clustermarkerconfiguration.html#cfn-quicksight-dashboard-clustermarkerconfiguration-clustermarker) */ override fun clusterMarker(): Any? = unwrap(this).getClusterMarker() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ClusterMarkerConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerConfigurationProperty): ClusterMarkerConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ClusterMarkerConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ClusterMarkerConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerConfigurationProperty } } /** * The cluster marker that is a part of the cluster marker configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ClusterMarkerProperty clusterMarkerProperty = ClusterMarkerProperty.builder() * .simpleClusterMarker(SimpleClusterMarkerProperty.builder() * .color("color") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-clustermarker.html) */ public interface ClusterMarkerProperty { /** * The simple cluster marker of the cluster marker. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-clustermarker.html#cfn-quicksight-dashboard-clustermarker-simpleclustermarker) */ public fun simpleClusterMarker(): Any? = unwrap(this).getSimpleClusterMarker() /** * A builder for [ClusterMarkerProperty] */ @CdkDslMarker public interface Builder { /** * @param simpleClusterMarker The simple cluster marker of the cluster marker. */ public fun simpleClusterMarker(simpleClusterMarker: IResolvable) /** * @param simpleClusterMarker The simple cluster marker of the cluster marker. */ public fun simpleClusterMarker(simpleClusterMarker: SimpleClusterMarkerProperty) /** * @param simpleClusterMarker The simple cluster marker of the cluster marker. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("15a9ffe2bedcb6d29c73064a1123d4655dd17ea44b441f6e862cdd5d2148ce97") public fun simpleClusterMarker(simpleClusterMarker: SimpleClusterMarkerProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerProperty.builder() /** * @param simpleClusterMarker The simple cluster marker of the cluster marker. */ override fun simpleClusterMarker(simpleClusterMarker: IResolvable) { cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(IResolvable.Companion::unwrap)) } /** * @param simpleClusterMarker The simple cluster marker of the cluster marker. */ override fun simpleClusterMarker(simpleClusterMarker: SimpleClusterMarkerProperty) { cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(SimpleClusterMarkerProperty.Companion::unwrap)) } /** * @param simpleClusterMarker The simple cluster marker of the cluster marker. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("15a9ffe2bedcb6d29c73064a1123d4655dd17ea44b441f6e862cdd5d2148ce97") override fun simpleClusterMarker(simpleClusterMarker: SimpleClusterMarkerProperty.Builder.() -> Unit): Unit = simpleClusterMarker(SimpleClusterMarkerProperty(simpleClusterMarker)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerProperty, ) : CdkObject(cdkObject), ClusterMarkerProperty { /** * The simple cluster marker of the cluster marker. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-clustermarker.html#cfn-quicksight-dashboard-clustermarker-simpleclustermarker) */ override fun simpleClusterMarker(): Any? = unwrap(this).getSimpleClusterMarker() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ClusterMarkerProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerProperty): ClusterMarkerProperty = CdkObjectWrappers.wrap(cdkObject) as? ClusterMarkerProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ClusterMarkerProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ClusterMarkerProperty } } /** * Determines the color scale that is applied to the visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ColorScaleProperty colorScaleProperty = ColorScaleProperty.builder() * .colorFillType("colorFillType") * .colors(List.of(DataColorProperty.builder() * .color("color") * .dataValue(123) * .build())) * // the properties below are optional * .nullValueColor(DataColorProperty.builder() * .color("color") * .dataValue(123) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-colorscale.html) */ public interface ColorScaleProperty { /** * Determines the color fill type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-colorscale.html#cfn-quicksight-dashboard-colorscale-colorfilltype) */ public fun colorFillType(): String /** * Determines the list of colors that are applied to the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-colorscale.html#cfn-quicksight-dashboard-colorscale-colors) */ public fun colors(): Any /** * Determines the color that is applied to null values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-colorscale.html#cfn-quicksight-dashboard-colorscale-nullvaluecolor) */ public fun nullValueColor(): Any? = unwrap(this).getNullValueColor() /** * A builder for [ColorScaleProperty] */ @CdkDslMarker public interface Builder { /** * @param colorFillType Determines the color fill type. */ public fun colorFillType(colorFillType: String) /** * @param colors Determines the list of colors that are applied to the visual. */ public fun colors(colors: IResolvable) /** * @param colors Determines the list of colors that are applied to the visual. */ public fun colors(colors: List) /** * @param colors Determines the list of colors that are applied to the visual. */ public fun colors(vararg colors: Any) /** * @param nullValueColor Determines the color that is applied to null values. */ public fun nullValueColor(nullValueColor: IResolvable) /** * @param nullValueColor Determines the color that is applied to null values. */ public fun nullValueColor(nullValueColor: DataColorProperty) /** * @param nullValueColor Determines the color that is applied to null values. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bc8d3c082fab64cad4f2ede6d3ba7ea0553ea335616e1d552b23c2a37b43d157") public fun nullValueColor(nullValueColor: DataColorProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ColorScaleProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ColorScaleProperty.builder() /** * @param colorFillType Determines the color fill type. */ override fun colorFillType(colorFillType: String) { cdkBuilder.colorFillType(colorFillType) } /** * @param colors Determines the list of colors that are applied to the visual. */ override fun colors(colors: IResolvable) { cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** * @param colors Determines the list of colors that are applied to the visual. */ override fun colors(colors: List) { cdkBuilder.colors(colors.map{CdkObjectWrappers.unwrap(it)}) } /** * @param colors Determines the list of colors that are applied to the visual. */ override fun colors(vararg colors: Any): Unit = colors(colors.toList()) /** * @param nullValueColor Determines the color that is applied to null values. */ override fun nullValueColor(nullValueColor: IResolvable) { cdkBuilder.nullValueColor(nullValueColor.let(IResolvable.Companion::unwrap)) } /** * @param nullValueColor Determines the color that is applied to null values. */ override fun nullValueColor(nullValueColor: DataColorProperty) { cdkBuilder.nullValueColor(nullValueColor.let(DataColorProperty.Companion::unwrap)) } /** * @param nullValueColor Determines the color that is applied to null values. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bc8d3c082fab64cad4f2ede6d3ba7ea0553ea335616e1d552b23c2a37b43d157") override fun nullValueColor(nullValueColor: DataColorProperty.Builder.() -> Unit): Unit = nullValueColor(DataColorProperty(nullValueColor)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ColorScaleProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColorScaleProperty, ) : CdkObject(cdkObject), ColorScaleProperty { /** * Determines the color fill type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-colorscale.html#cfn-quicksight-dashboard-colorscale-colorfilltype) */ override fun colorFillType(): String = unwrap(this).getColorFillType() /** * Determines the list of colors that are applied to the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-colorscale.html#cfn-quicksight-dashboard-colorscale-colors) */ override fun colors(): Any = unwrap(this).getColors() /** * Determines the color that is applied to null values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-colorscale.html#cfn-quicksight-dashboard-colorscale-nullvaluecolor) */ override fun nullValueColor(): Any? = unwrap(this).getNullValueColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ColorScaleProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColorScaleProperty): ColorScaleProperty = CdkObjectWrappers.wrap(cdkObject) as? ColorScaleProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ColorScaleProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ColorScaleProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ColorScaleProperty } } /** * The color configurations for a column. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ColorsConfigurationProperty colorsConfigurationProperty = ColorsConfigurationProperty.builder() * .customColors(List.of(CustomColorProperty.builder() * .color("color") * // the properties below are optional * .fieldValue("fieldValue") * .specialValue("specialValue") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-colorsconfiguration.html) */ public interface ColorsConfigurationProperty { /** * A list of up to 50 custom colors. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-colorsconfiguration.html#cfn-quicksight-dashboard-colorsconfiguration-customcolors) */ public fun customColors(): Any? = unwrap(this).getCustomColors() /** * A builder for [ColorsConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param customColors A list of up to 50 custom colors. */ public fun customColors(customColors: IResolvable) /** * @param customColors A list of up to 50 custom colors. */ public fun customColors(customColors: List) /** * @param customColors A list of up to 50 custom colors. */ public fun customColors(vararg customColors: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ColorsConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ColorsConfigurationProperty.builder() /** * @param customColors A list of up to 50 custom colors. */ override fun customColors(customColors: IResolvable) { cdkBuilder.customColors(customColors.let(IResolvable.Companion::unwrap)) } /** * @param customColors A list of up to 50 custom colors. */ override fun customColors(customColors: List) { cdkBuilder.customColors(customColors.map{CdkObjectWrappers.unwrap(it)}) } /** * @param customColors A list of up to 50 custom colors. */ override fun customColors(vararg customColors: Any): Unit = customColors(customColors.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ColorsConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColorsConfigurationProperty, ) : CdkObject(cdkObject), ColorsConfigurationProperty { /** * A list of up to 50 custom colors. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-colorsconfiguration.html#cfn-quicksight-dashboard-colorsconfiguration-customcolors) */ override fun customColors(): Any? = unwrap(this).getCustomColors() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ColorsConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColorsConfigurationProperty): ColorsConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ColorsConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ColorsConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ColorsConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ColorsConfigurationProperty } } /** * The general configuration of a column. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ColumnConfigurationProperty columnConfigurationProperty = ColumnConfigurationProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .colorsConfiguration(ColorsConfigurationProperty.builder() * .customColors(List.of(CustomColorProperty.builder() * .color("color") * // the properties below are optional * .fieldValue("fieldValue") * .specialValue("specialValue") * .build())) * .build()) * .formatConfiguration(FormatConfigurationProperty.builder() * .dateTimeFormatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .numberFormatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .stringFormatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .role("role") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnconfiguration.html) */ public interface ColumnConfigurationProperty { /** * The color configurations of the column. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnconfiguration.html#cfn-quicksight-dashboard-columnconfiguration-colorsconfiguration) */ public fun colorsConfiguration(): Any? = unwrap(this).getColorsConfiguration() /** * The column. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnconfiguration.html#cfn-quicksight-dashboard-columnconfiguration-column) */ public fun column(): Any /** * The format configuration of a column. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnconfiguration.html#cfn-quicksight-dashboard-columnconfiguration-formatconfiguration) */ public fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * The role of the column. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnconfiguration.html#cfn-quicksight-dashboard-columnconfiguration-role) */ public fun role(): String? = unwrap(this).getRole() /** * A builder for [ColumnConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param colorsConfiguration The color configurations of the column. */ public fun colorsConfiguration(colorsConfiguration: IResolvable) /** * @param colorsConfiguration The color configurations of the column. */ public fun colorsConfiguration(colorsConfiguration: ColorsConfigurationProperty) /** * @param colorsConfiguration The color configurations of the column. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f61c5f5df850f7dcac3ae1e646f674d5b4973a3ba34c0c3822dd4199406ea664") public fun colorsConfiguration(colorsConfiguration: ColorsConfigurationProperty.Builder.() -> Unit) /** * @param column The column. */ public fun column(column: IResolvable) /** * @param column The column. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d60c91d3d8df6d75191936cd264433d9e047aa08f5ed2c7dc24415aaa074eb97") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param formatConfiguration The format configuration of a column. */ public fun formatConfiguration(formatConfiguration: IResolvable) /** * @param formatConfiguration The format configuration of a column. */ public fun formatConfiguration(formatConfiguration: FormatConfigurationProperty) /** * @param formatConfiguration The format configuration of a column. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("41503e1f2751fdc1182f9281ced167da88875241b7cd888fc9ea84c19e7368e8") public fun formatConfiguration(formatConfiguration: FormatConfigurationProperty.Builder.() -> Unit) /** * @param role The role of the column. */ public fun role(role: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnConfigurationProperty.builder() /** * @param colorsConfiguration The color configurations of the column. */ override fun colorsConfiguration(colorsConfiguration: IResolvable) { cdkBuilder.colorsConfiguration(colorsConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param colorsConfiguration The color configurations of the column. */ override fun colorsConfiguration(colorsConfiguration: ColorsConfigurationProperty) { cdkBuilder.colorsConfiguration(colorsConfiguration.let(ColorsConfigurationProperty.Companion::unwrap)) } /** * @param colorsConfiguration The color configurations of the column. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f61c5f5df850f7dcac3ae1e646f674d5b4973a3ba34c0c3822dd4199406ea664") override fun colorsConfiguration(colorsConfiguration: ColorsConfigurationProperty.Builder.() -> Unit): Unit = colorsConfiguration(ColorsConfigurationProperty(colorsConfiguration)) /** * @param column The column. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d60c91d3d8df6d75191936cd264433d9e047aa08f5ed2c7dc24415aaa074eb97") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param formatConfiguration The format configuration of a column. */ override fun formatConfiguration(formatConfiguration: IResolvable) { cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of a column. */ override fun formatConfiguration(formatConfiguration: FormatConfigurationProperty) { cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of a column. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("41503e1f2751fdc1182f9281ced167da88875241b7cd888fc9ea84c19e7368e8") override fun formatConfiguration(formatConfiguration: FormatConfigurationProperty.Builder.() -> Unit): Unit = formatConfiguration(FormatConfigurationProperty(formatConfiguration)) /** * @param role The role of the column. */ override fun role(role: String) { cdkBuilder.role(role) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnConfigurationProperty, ) : CdkObject(cdkObject), ColumnConfigurationProperty { /** * The color configurations of the column. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnconfiguration.html#cfn-quicksight-dashboard-columnconfiguration-colorsconfiguration) */ override fun colorsConfiguration(): Any? = unwrap(this).getColorsConfiguration() /** * The column. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnconfiguration.html#cfn-quicksight-dashboard-columnconfiguration-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The format configuration of a column. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnconfiguration.html#cfn-quicksight-dashboard-columnconfiguration-formatconfiguration) */ override fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * The role of the column. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnconfiguration.html#cfn-quicksight-dashboard-columnconfiguration-role) */ override fun role(): String? = unwrap(this).getRole() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ColumnConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnConfigurationProperty): ColumnConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ColumnConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ColumnConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnConfigurationProperty } } /** * The option that determines the hierarchy of the fields for a visual element. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ColumnHierarchyProperty columnHierarchyProperty = ColumnHierarchyProperty.builder() * .dateTimeHierarchy(DateTimeHierarchyProperty.builder() * .hierarchyId("hierarchyId") * // the properties below are optional * .drillDownFilters(List.of(DrillDownFilterProperty.builder() * .categoryFilter(CategoryDrillDownFilterProperty.builder() * .categoryValues(List.of("categoryValues")) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .numericEqualityFilter(NumericEqualityDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .value(123) * .build()) * .timeRangeFilter(TimeRangeDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .rangeMaximum("rangeMaximum") * .rangeMinimum("rangeMinimum") * .timeGranularity("timeGranularity") * .build()) * .build())) * .build()) * .explicitHierarchy(ExplicitHierarchyProperty.builder() * .columns(List.of(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build())) * .hierarchyId("hierarchyId") * // the properties below are optional * .drillDownFilters(List.of(DrillDownFilterProperty.builder() * .categoryFilter(CategoryDrillDownFilterProperty.builder() * .categoryValues(List.of("categoryValues")) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .numericEqualityFilter(NumericEqualityDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .value(123) * .build()) * .timeRangeFilter(TimeRangeDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .rangeMaximum("rangeMaximum") * .rangeMinimum("rangeMinimum") * .timeGranularity("timeGranularity") * .build()) * .build())) * .build()) * .predefinedHierarchy(PredefinedHierarchyProperty.builder() * .columns(List.of(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build())) * .hierarchyId("hierarchyId") * // the properties below are optional * .drillDownFilters(List.of(DrillDownFilterProperty.builder() * .categoryFilter(CategoryDrillDownFilterProperty.builder() * .categoryValues(List.of("categoryValues")) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .numericEqualityFilter(NumericEqualityDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .value(123) * .build()) * .timeRangeFilter(TimeRangeDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .rangeMaximum("rangeMaximum") * .rangeMinimum("rangeMinimum") * .timeGranularity("timeGranularity") * .build()) * .build())) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnhierarchy.html) */ public interface ColumnHierarchyProperty { /** * The option that determines the hierarchy of any `DateTime` fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnhierarchy.html#cfn-quicksight-dashboard-columnhierarchy-datetimehierarchy) */ public fun dateTimeHierarchy(): Any? = unwrap(this).getDateTimeHierarchy() /** * The option that determines the hierarchy of the fields that are built within a visual's field * wells. * * These fields can't be duplicated to other visuals. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnhierarchy.html#cfn-quicksight-dashboard-columnhierarchy-explicithierarchy) */ public fun explicitHierarchy(): Any? = unwrap(this).getExplicitHierarchy() /** * The option that determines the hierarchy of the fields that are defined during data * preparation. * * These fields are available to use in any analysis that uses the data source. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnhierarchy.html#cfn-quicksight-dashboard-columnhierarchy-predefinedhierarchy) */ public fun predefinedHierarchy(): Any? = unwrap(this).getPredefinedHierarchy() /** * A builder for [ColumnHierarchyProperty] */ @CdkDslMarker public interface Builder { /** * @param dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields. */ public fun dateTimeHierarchy(dateTimeHierarchy: IResolvable) /** * @param dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields. */ public fun dateTimeHierarchy(dateTimeHierarchy: DateTimeHierarchyProperty) /** * @param dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f64ddd923cca6912ee582515cf95d7e3c64686716b9b222814c5012034f4433e") public fun dateTimeHierarchy(dateTimeHierarchy: DateTimeHierarchyProperty.Builder.() -> Unit) /** * @param explicitHierarchy The option that determines the hierarchy of the fields that are * built within a visual's field wells. * These fields can't be duplicated to other visuals. */ public fun explicitHierarchy(explicitHierarchy: IResolvable) /** * @param explicitHierarchy The option that determines the hierarchy of the fields that are * built within a visual's field wells. * These fields can't be duplicated to other visuals. */ public fun explicitHierarchy(explicitHierarchy: ExplicitHierarchyProperty) /** * @param explicitHierarchy The option that determines the hierarchy of the fields that are * built within a visual's field wells. * These fields can't be duplicated to other visuals. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("03aeec4ed873f416be996f4b2aa885397b18999d71e4713c55fa45af1dacc01c") public fun explicitHierarchy(explicitHierarchy: ExplicitHierarchyProperty.Builder.() -> Unit) /** * @param predefinedHierarchy The option that determines the hierarchy of the fields that are * defined during data preparation. * These fields are available to use in any analysis that uses the data source. */ public fun predefinedHierarchy(predefinedHierarchy: IResolvable) /** * @param predefinedHierarchy The option that determines the hierarchy of the fields that are * defined during data preparation. * These fields are available to use in any analysis that uses the data source. */ public fun predefinedHierarchy(predefinedHierarchy: PredefinedHierarchyProperty) /** * @param predefinedHierarchy The option that determines the hierarchy of the fields that are * defined during data preparation. * These fields are available to use in any analysis that uses the data source. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f64838fc454d551673a9c02466547f73259923ad469c671ac8c7abe519a795a9") public fun predefinedHierarchy(predefinedHierarchy: PredefinedHierarchyProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnHierarchyProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnHierarchyProperty.builder() /** * @param dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields. */ override fun dateTimeHierarchy(dateTimeHierarchy: IResolvable) { cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(IResolvable.Companion::unwrap)) } /** * @param dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields. */ override fun dateTimeHierarchy(dateTimeHierarchy: DateTimeHierarchyProperty) { cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(DateTimeHierarchyProperty.Companion::unwrap)) } /** * @param dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f64ddd923cca6912ee582515cf95d7e3c64686716b9b222814c5012034f4433e") override fun dateTimeHierarchy(dateTimeHierarchy: DateTimeHierarchyProperty.Builder.() -> Unit): Unit = dateTimeHierarchy(DateTimeHierarchyProperty(dateTimeHierarchy)) /** * @param explicitHierarchy The option that determines the hierarchy of the fields that are * built within a visual's field wells. * These fields can't be duplicated to other visuals. */ override fun explicitHierarchy(explicitHierarchy: IResolvable) { cdkBuilder.explicitHierarchy(explicitHierarchy.let(IResolvable.Companion::unwrap)) } /** * @param explicitHierarchy The option that determines the hierarchy of the fields that are * built within a visual's field wells. * These fields can't be duplicated to other visuals. */ override fun explicitHierarchy(explicitHierarchy: ExplicitHierarchyProperty) { cdkBuilder.explicitHierarchy(explicitHierarchy.let(ExplicitHierarchyProperty.Companion::unwrap)) } /** * @param explicitHierarchy The option that determines the hierarchy of the fields that are * built within a visual's field wells. * These fields can't be duplicated to other visuals. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("03aeec4ed873f416be996f4b2aa885397b18999d71e4713c55fa45af1dacc01c") override fun explicitHierarchy(explicitHierarchy: ExplicitHierarchyProperty.Builder.() -> Unit): Unit = explicitHierarchy(ExplicitHierarchyProperty(explicitHierarchy)) /** * @param predefinedHierarchy The option that determines the hierarchy of the fields that are * defined during data preparation. * These fields are available to use in any analysis that uses the data source. */ override fun predefinedHierarchy(predefinedHierarchy: IResolvable) { cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(IResolvable.Companion::unwrap)) } /** * @param predefinedHierarchy The option that determines the hierarchy of the fields that are * defined during data preparation. * These fields are available to use in any analysis that uses the data source. */ override fun predefinedHierarchy(predefinedHierarchy: PredefinedHierarchyProperty) { cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(PredefinedHierarchyProperty.Companion::unwrap)) } /** * @param predefinedHierarchy The option that determines the hierarchy of the fields that are * defined during data preparation. * These fields are available to use in any analysis that uses the data source. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f64838fc454d551673a9c02466547f73259923ad469c671ac8c7abe519a795a9") override fun predefinedHierarchy(predefinedHierarchy: PredefinedHierarchyProperty.Builder.() -> Unit): Unit = predefinedHierarchy(PredefinedHierarchyProperty(predefinedHierarchy)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnHierarchyProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnHierarchyProperty, ) : CdkObject(cdkObject), ColumnHierarchyProperty { /** * The option that determines the hierarchy of any `DateTime` fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnhierarchy.html#cfn-quicksight-dashboard-columnhierarchy-datetimehierarchy) */ override fun dateTimeHierarchy(): Any? = unwrap(this).getDateTimeHierarchy() /** * The option that determines the hierarchy of the fields that are built within a visual's * field wells. * * These fields can't be duplicated to other visuals. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnhierarchy.html#cfn-quicksight-dashboard-columnhierarchy-explicithierarchy) */ override fun explicitHierarchy(): Any? = unwrap(this).getExplicitHierarchy() /** * The option that determines the hierarchy of the fields that are defined during data * preparation. * * These fields are available to use in any analysis that uses the data source. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnhierarchy.html#cfn-quicksight-dashboard-columnhierarchy-predefinedhierarchy) */ override fun predefinedHierarchy(): Any? = unwrap(this).getPredefinedHierarchy() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ColumnHierarchyProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnHierarchyProperty): ColumnHierarchyProperty = CdkObjectWrappers.wrap(cdkObject) as? ColumnHierarchyProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ColumnHierarchyProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnHierarchyProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnHierarchyProperty } } /** * A column of a data set. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ColumnIdentifierProperty columnIdentifierProperty = ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnidentifier.html) */ public interface ColumnIdentifierProperty { /** * The name of the column. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnidentifier.html#cfn-quicksight-dashboard-columnidentifier-columnname) */ public fun columnName(): String /** * The data set that the column belongs to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnidentifier.html#cfn-quicksight-dashboard-columnidentifier-datasetidentifier) */ public fun dataSetIdentifier(): String /** * A builder for [ColumnIdentifierProperty] */ @CdkDslMarker public interface Builder { /** * @param columnName The name of the column. */ public fun columnName(columnName: String) /** * @param dataSetIdentifier The data set that the column belongs to. */ public fun dataSetIdentifier(dataSetIdentifier: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnIdentifierProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnIdentifierProperty.builder() /** * @param columnName The name of the column. */ override fun columnName(columnName: String) { cdkBuilder.columnName(columnName) } /** * @param dataSetIdentifier The data set that the column belongs to. */ override fun dataSetIdentifier(dataSetIdentifier: String) { cdkBuilder.dataSetIdentifier(dataSetIdentifier) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnIdentifierProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnIdentifierProperty, ) : CdkObject(cdkObject), ColumnIdentifierProperty { /** * The name of the column. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnidentifier.html#cfn-quicksight-dashboard-columnidentifier-columnname) */ override fun columnName(): String = unwrap(this).getColumnName() /** * The data set that the column belongs to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnidentifier.html#cfn-quicksight-dashboard-columnidentifier-datasetidentifier) */ override fun dataSetIdentifier(): String = unwrap(this).getDataSetIdentifier() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ColumnIdentifierProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnIdentifierProperty): ColumnIdentifierProperty = CdkObjectWrappers.wrap(cdkObject) as? ColumnIdentifierProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ColumnIdentifierProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnIdentifierProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnIdentifierProperty } } /** * The sort configuration for a column that is not used in a field well. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ColumnSortProperty columnSortProperty = ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnsort.html) */ public interface ColumnSortProperty { /** * The aggregation function that is defined in the column sort. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnsort.html#cfn-quicksight-dashboard-columnsort-aggregationfunction) */ public fun aggregationFunction(): Any? = unwrap(this).getAggregationFunction() /** * The sort direction. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnsort.html#cfn-quicksight-dashboard-columnsort-direction) */ public fun direction(): String /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnsort.html#cfn-quicksight-dashboard-columnsort-sortby) */ public fun sortBy(): Any /** * A builder for [ColumnSortProperty] */ @CdkDslMarker public interface Builder { /** * @param aggregationFunction The aggregation function that is defined in the column sort. */ public fun aggregationFunction(aggregationFunction: IResolvable) /** * @param aggregationFunction The aggregation function that is defined in the column sort. */ public fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) /** * @param aggregationFunction The aggregation function that is defined in the column sort. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a6b75867ba78f4617f8979f38143f710e3bde651e1299aca602614120f2d35dc") public fun aggregationFunction(aggregationFunction: AggregationFunctionProperty.Builder.() -> Unit) /** * @param direction The sort direction. */ public fun direction(direction: String) /** * @param sortBy the value to be set. */ public fun sortBy(sortBy: IResolvable) /** * @param sortBy the value to be set. */ public fun sortBy(sortBy: ColumnIdentifierProperty) /** * @param sortBy the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("186e346be2cddcb19d5cb2efc4828228fe69be1914f9e3da0f0159a6094d2d63") public fun sortBy(sortBy: ColumnIdentifierProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnSortProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnSortProperty.builder() /** * @param aggregationFunction The aggregation function that is defined in the column sort. */ override fun aggregationFunction(aggregationFunction: IResolvable) { cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function that is defined in the column sort. */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function that is defined in the column sort. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a6b75867ba78f4617f8979f38143f710e3bde651e1299aca602614120f2d35dc") override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty.Builder.() -> Unit): Unit = aggregationFunction(AggregationFunctionProperty(aggregationFunction)) /** * @param direction The sort direction. */ override fun direction(direction: String) { cdkBuilder.direction(direction) } /** * @param sortBy the value to be set. */ override fun sortBy(sortBy: IResolvable) { cdkBuilder.sortBy(sortBy.let(IResolvable.Companion::unwrap)) } /** * @param sortBy the value to be set. */ override fun sortBy(sortBy: ColumnIdentifierProperty) { cdkBuilder.sortBy(sortBy.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param sortBy the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("186e346be2cddcb19d5cb2efc4828228fe69be1914f9e3da0f0159a6094d2d63") override fun sortBy(sortBy: ColumnIdentifierProperty.Builder.() -> Unit): Unit = sortBy(ColumnIdentifierProperty(sortBy)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnSortProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnSortProperty, ) : CdkObject(cdkObject), ColumnSortProperty { /** * The aggregation function that is defined in the column sort. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnsort.html#cfn-quicksight-dashboard-columnsort-aggregationfunction) */ override fun aggregationFunction(): Any? = unwrap(this).getAggregationFunction() /** * The sort direction. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnsort.html#cfn-quicksight-dashboard-columnsort-direction) */ override fun direction(): String = unwrap(this).getDirection() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columnsort.html#cfn-quicksight-dashboard-columnsort-sortby) */ override fun sortBy(): Any = unwrap(this).getSortBy() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ColumnSortProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnSortProperty): ColumnSortProperty = CdkObjectWrappers.wrap(cdkObject) as? ColumnSortProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ColumnSortProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnSortProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnSortProperty } } /** * The tooltip item for the columns that are not part of a field well. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ColumnTooltipItemProperty columnTooltipItemProperty = ColumnTooltipItemProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregation(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .label("label") * .tooltipTarget("tooltipTarget") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columntooltipitem.html) */ public interface ColumnTooltipItemProperty { /** * The aggregation function of the column tooltip item. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columntooltipitem.html#cfn-quicksight-dashboard-columntooltipitem-aggregation) */ public fun aggregation(): Any? = unwrap(this).getAggregation() /** * The target column of the tooltip item. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columntooltipitem.html#cfn-quicksight-dashboard-columntooltipitem-column) */ public fun column(): Any /** * The label of the tooltip item. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columntooltipitem.html#cfn-quicksight-dashboard-columntooltipitem-label) */ public fun label(): String? = unwrap(this).getLabel() /** * Determines the target of the column tooltip item in a combo chart visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columntooltipitem.html#cfn-quicksight-dashboard-columntooltipitem-tooltiptarget) */ public fun tooltipTarget(): String? = unwrap(this).getTooltipTarget() /** * The visibility of the tooltip item. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columntooltipitem.html#cfn-quicksight-dashboard-columntooltipitem-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [ColumnTooltipItemProperty] */ @CdkDslMarker public interface Builder { /** * @param aggregation The aggregation function of the column tooltip item. */ public fun aggregation(aggregation: IResolvable) /** * @param aggregation The aggregation function of the column tooltip item. */ public fun aggregation(aggregation: AggregationFunctionProperty) /** * @param aggregation The aggregation function of the column tooltip item. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dc2c7f69e6b8b37aed7b8cb9242a08b8dd1d4ab18fd9fb7a14f57dba4d70ceff") public fun aggregation(aggregation: AggregationFunctionProperty.Builder.() -> Unit) /** * @param column The target column of the tooltip item. */ public fun column(column: IResolvable) /** * @param column The target column of the tooltip item. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The target column of the tooltip item. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("087cc13393f4e94da3a6a1657d0de706b8f967f633bf791c83c0e7addc8823b3") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param label The label of the tooltip item. */ public fun label(label: String) /** * @param tooltipTarget Determines the target of the column tooltip item in a combo chart * visual. */ public fun tooltipTarget(tooltipTarget: String) /** * @param visibility The visibility of the tooltip item. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnTooltipItemProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnTooltipItemProperty.builder() /** * @param aggregation The aggregation function of the column tooltip item. */ override fun aggregation(aggregation: IResolvable) { cdkBuilder.aggregation(aggregation.let(IResolvable.Companion::unwrap)) } /** * @param aggregation The aggregation function of the column tooltip item. */ override fun aggregation(aggregation: AggregationFunctionProperty) { cdkBuilder.aggregation(aggregation.let(AggregationFunctionProperty.Companion::unwrap)) } /** * @param aggregation The aggregation function of the column tooltip item. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dc2c7f69e6b8b37aed7b8cb9242a08b8dd1d4ab18fd9fb7a14f57dba4d70ceff") override fun aggregation(aggregation: AggregationFunctionProperty.Builder.() -> Unit): Unit = aggregation(AggregationFunctionProperty(aggregation)) /** * @param column The target column of the tooltip item. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The target column of the tooltip item. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The target column of the tooltip item. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("087cc13393f4e94da3a6a1657d0de706b8f967f633bf791c83c0e7addc8823b3") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param label The label of the tooltip item. */ override fun label(label: String) { cdkBuilder.label(label) } /** * @param tooltipTarget Determines the target of the column tooltip item in a combo chart * visual. */ override fun tooltipTarget(tooltipTarget: String) { cdkBuilder.tooltipTarget(tooltipTarget) } /** * @param visibility The visibility of the tooltip item. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnTooltipItemProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnTooltipItemProperty, ) : CdkObject(cdkObject), ColumnTooltipItemProperty { /** * The aggregation function of the column tooltip item. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columntooltipitem.html#cfn-quicksight-dashboard-columntooltipitem-aggregation) */ override fun aggregation(): Any? = unwrap(this).getAggregation() /** * The target column of the tooltip item. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columntooltipitem.html#cfn-quicksight-dashboard-columntooltipitem-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The label of the tooltip item. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columntooltipitem.html#cfn-quicksight-dashboard-columntooltipitem-label) */ override fun label(): String? = unwrap(this).getLabel() /** * Determines the target of the column tooltip item in a combo chart visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columntooltipitem.html#cfn-quicksight-dashboard-columntooltipitem-tooltiptarget) */ override fun tooltipTarget(): String? = unwrap(this).getTooltipTarget() /** * The visibility of the tooltip item. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-columntooltipitem.html#cfn-quicksight-dashboard-columntooltipitem-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ColumnTooltipItemProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnTooltipItemProperty): ColumnTooltipItemProperty = CdkObjectWrappers.wrap(cdkObject) as? ColumnTooltipItemProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ColumnTooltipItemProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnTooltipItemProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnTooltipItemProperty } } /** * The aggregated field wells of a combo chart. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartaggregatedfieldwells.html) */ public interface ComboChartAggregatedFieldWellsProperty { /** * The aggregated `BarValues` field well of a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartaggregatedfieldwells.html#cfn-quicksight-dashboard-combochartaggregatedfieldwells-barvalues) */ public fun barValues(): Any? = unwrap(this).getBarValues() /** * The aggregated category field wells of a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartaggregatedfieldwells.html#cfn-quicksight-dashboard-combochartaggregatedfieldwells-category) */ public fun category(): Any? = unwrap(this).getCategory() /** * The aggregated colors field well of a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartaggregatedfieldwells.html#cfn-quicksight-dashboard-combochartaggregatedfieldwells-colors) */ public fun colors(): Any? = unwrap(this).getColors() /** * The aggregated `LineValues` field well of a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartaggregatedfieldwells.html#cfn-quicksight-dashboard-combochartaggregatedfieldwells-linevalues) */ public fun lineValues(): Any? = unwrap(this).getLineValues() /** * A builder for [ComboChartAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param barValues The aggregated `BarValues` field well of a combo chart. */ public fun barValues(barValues: IResolvable) /** * @param barValues The aggregated `BarValues` field well of a combo chart. */ public fun barValues(barValues: List) /** * @param barValues The aggregated `BarValues` field well of a combo chart. */ public fun barValues(vararg barValues: Any) /** * @param category The aggregated category field wells of a combo chart. */ public fun category(category: IResolvable) /** * @param category The aggregated category field wells of a combo chart. */ public fun category(category: List) /** * @param category The aggregated category field wells of a combo chart. */ public fun category(vararg category: Any) /** * @param colors The aggregated colors field well of a combo chart. */ public fun colors(colors: IResolvable) /** * @param colors The aggregated colors field well of a combo chart. */ public fun colors(colors: List) /** * @param colors The aggregated colors field well of a combo chart. */ public fun colors(vararg colors: Any) /** * @param lineValues The aggregated `LineValues` field well of a combo chart. */ public fun lineValues(lineValues: IResolvable) /** * @param lineValues The aggregated `LineValues` field well of a combo chart. */ public fun lineValues(lineValues: List) /** * @param lineValues The aggregated `LineValues` field well of a combo chart. */ public fun lineValues(vararg lineValues: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartAggregatedFieldWellsProperty.builder() /** * @param barValues The aggregated `BarValues` field well of a combo chart. */ override fun barValues(barValues: IResolvable) { cdkBuilder.barValues(barValues.let(IResolvable.Companion::unwrap)) } /** * @param barValues The aggregated `BarValues` field well of a combo chart. */ override fun barValues(barValues: List) { cdkBuilder.barValues(barValues.map{CdkObjectWrappers.unwrap(it)}) } /** * @param barValues The aggregated `BarValues` field well of a combo chart. */ override fun barValues(vararg barValues: Any): Unit = barValues(barValues.toList()) /** * @param category The aggregated category field wells of a combo chart. */ override fun category(category: IResolvable) { cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The aggregated category field wells of a combo chart. */ override fun category(category: List) { cdkBuilder.category(category.map{CdkObjectWrappers.unwrap(it)}) } /** * @param category The aggregated category field wells of a combo chart. */ override fun category(vararg category: Any): Unit = category(category.toList()) /** * @param colors The aggregated colors field well of a combo chart. */ override fun colors(colors: IResolvable) { cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** * @param colors The aggregated colors field well of a combo chart. */ override fun colors(colors: List) { cdkBuilder.colors(colors.map{CdkObjectWrappers.unwrap(it)}) } /** * @param colors The aggregated colors field well of a combo chart. */ override fun colors(vararg colors: Any): Unit = colors(colors.toList()) /** * @param lineValues The aggregated `LineValues` field well of a combo chart. */ override fun lineValues(lineValues: IResolvable) { cdkBuilder.lineValues(lineValues.let(IResolvable.Companion::unwrap)) } /** * @param lineValues The aggregated `LineValues` field well of a combo chart. */ override fun lineValues(lineValues: List) { cdkBuilder.lineValues(lineValues.map{CdkObjectWrappers.unwrap(it)}) } /** * @param lineValues The aggregated `LineValues` field well of a combo chart. */ override fun lineValues(vararg lineValues: Any): Unit = lineValues(lineValues.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), ComboChartAggregatedFieldWellsProperty { /** * The aggregated `BarValues` field well of a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartaggregatedfieldwells.html#cfn-quicksight-dashboard-combochartaggregatedfieldwells-barvalues) */ override fun barValues(): Any? = unwrap(this).getBarValues() /** * The aggregated category field wells of a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartaggregatedfieldwells.html#cfn-quicksight-dashboard-combochartaggregatedfieldwells-category) */ override fun category(): Any? = unwrap(this).getCategory() /** * The aggregated colors field well of a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartaggregatedfieldwells.html#cfn-quicksight-dashboard-combochartaggregatedfieldwells-colors) */ override fun colors(): Any? = unwrap(this).getColors() /** * The aggregated `LineValues` field well of a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartaggregatedfieldwells.html#cfn-quicksight-dashboard-combochartaggregatedfieldwells-linevalues) */ override fun lineValues(): Any? = unwrap(this).getLineValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ComboChartAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartAggregatedFieldWellsProperty): ComboChartAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? ComboChartAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ComboChartAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartAggregatedFieldWellsProperty } } /** * The configuration of a `ComboChartVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html) */ public interface ComboChartConfigurationProperty { /** * The options that determine if visual data labels are displayed. * * The data label options for a bar in a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-bardatalabels) */ public fun barDataLabels(): Any? = unwrap(this).getBarDataLabels() /** * Determines the bar arrangement in a combo chart. The following are valid values in this * structure:. * * * `CLUSTERED` : For clustered bar combo charts. * * `STACKED` : For stacked bar combo charts. * * `STACKED_PERCENT` : Do not use. If you use this value, the operation returns a validation * error. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-barsarrangement) */ public fun barsArrangement(): String? = unwrap(this).getBarsArrangement() /** * The category axis of a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-categoryaxis) */ public fun categoryAxis(): Any? = unwrap(this).getCategoryAxis() /** * The label options (label text, label visibility, and sort icon visibility) of a combo chart * category (group/color) field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-categorylabeloptions) */ public fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The label options (label text, label visibility, and sort icon visibility) of a combo chart's * color field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-colorlabeloptions) */ public fun colorLabelOptions(): Any? = unwrap(this).getColorLabelOptions() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-legend) */ public fun legend(): Any? = unwrap(this).getLegend() /** * The options that determine if visual data labels are displayed. * * The data label options for a line in a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-linedatalabels) */ public fun lineDataLabels(): Any? = unwrap(this).getLineDataLabels() /** * The label display options (grid line, range, scale, and axis step) of a combo chart's primary * y-axis (bar) field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-primaryyaxisdisplayoptions) */ public fun primaryYAxisDisplayOptions(): Any? = unwrap(this).getPrimaryYAxisDisplayOptions() /** * The label options (label text, label visibility, and sort icon visibility) of a combo chart's * primary y-axis (bar) field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-primaryyaxislabeloptions) */ public fun primaryYAxisLabelOptions(): Any? = unwrap(this).getPrimaryYAxisLabelOptions() /** * The reference line setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-referencelines) */ public fun referenceLines(): Any? = unwrap(this).getReferenceLines() /** * The label display options (grid line, range, scale, axis step) of a combo chart's secondary * y-axis (line) field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-secondaryyaxisdisplayoptions) */ public fun secondaryYAxisDisplayOptions(): Any? = unwrap(this).getSecondaryYAxisDisplayOptions() /** * The label options (label text, label visibility, and sort icon visibility) of a combo chart's * secondary y-axis(line) field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-secondaryyaxislabeloptions) */ public fun secondaryYAxisLabelOptions(): Any? = unwrap(this).getSecondaryYAxisLabelOptions() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-singleaxisoptions) */ public fun singleAxisOptions(): Any? = unwrap(this).getSingleAxisOptions() /** * The sort configuration of a `ComboChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-tooltip) */ public fun tooltip(): Any? = unwrap(this).getTooltip() /** * The palette (chart color) display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-visualpalette) */ public fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * A builder for [ComboChartConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param barDataLabels The options that determine if visual data labels are displayed. * The data label options for a bar in a combo chart. */ public fun barDataLabels(barDataLabels: IResolvable) /** * @param barDataLabels The options that determine if visual data labels are displayed. * The data label options for a bar in a combo chart. */ public fun barDataLabels(barDataLabels: DataLabelOptionsProperty) /** * @param barDataLabels The options that determine if visual data labels are displayed. * The data label options for a bar in a combo chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("89ab3b80a572b87840bc90ed3ff7ee787eabbe71f9e3638195890605f0e1af83") public fun barDataLabels(barDataLabels: DataLabelOptionsProperty.Builder.() -> Unit) /** * @param barsArrangement Determines the bar arrangement in a combo chart. The following are * valid values in this structure:. * * `CLUSTERED` : For clustered bar combo charts. * * `STACKED` : For stacked bar combo charts. * * `STACKED_PERCENT` : Do not use. If you use this value, the operation returns a validation * error. */ public fun barsArrangement(barsArrangement: String) /** * @param categoryAxis The category axis of a combo chart. */ public fun categoryAxis(categoryAxis: IResolvable) /** * @param categoryAxis The category axis of a combo chart. */ public fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) /** * @param categoryAxis The category axis of a combo chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cae33bbe71bf7a0e08c6ba1512692098c23da1e7e5f53f4b56ca3cf7ebff6cc5") public fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param categoryLabelOptions The label options (label text, label visibility, and sort icon * visibility) of a combo chart category (group/color) field well. */ public fun categoryLabelOptions(categoryLabelOptions: IResolvable) /** * @param categoryLabelOptions The label options (label text, label visibility, and sort icon * visibility) of a combo chart category (group/color) field well. */ public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) /** * @param categoryLabelOptions The label options (label text, label visibility, and sort icon * visibility) of a combo chart category (group/color) field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cf7c3548fa04279935bb393a42de6a9dea73257c09a51b4e5edd381e45b5d5b8") public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param colorLabelOptions The label options (label text, label visibility, and sort icon * visibility) of a combo chart's color field well. */ public fun colorLabelOptions(colorLabelOptions: IResolvable) /** * @param colorLabelOptions The label options (label text, label visibility, and sort icon * visibility) of a combo chart's color field well. */ public fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) /** * @param colorLabelOptions The label options (label text, label visibility, and sort icon * visibility) of a combo chart's color field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e1a74419c955da9926955d58f40b5bb82ff269a6deaecf833ba805713a9230a8") public fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: ComboChartFieldWellsProperty) /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8026e536664656d37bced7d97bdbf54bebb0f272b12afae05e16cc6580cc0c5b") public fun fieldWells(fieldWells: ComboChartFieldWellsProperty.Builder.() -> Unit) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: IResolvable) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: LegendOptionsProperty) /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4f6bf32e761f89ad90064361dab29112353c47b97b82e87ddc7895f9076cde19") public fun legend(legend: LegendOptionsProperty.Builder.() -> Unit) /** * @param lineDataLabels The options that determine if visual data labels are displayed. * The data label options for a line in a combo chart. */ public fun lineDataLabels(lineDataLabels: IResolvable) /** * @param lineDataLabels The options that determine if visual data labels are displayed. * The data label options for a line in a combo chart. */ public fun lineDataLabels(lineDataLabels: DataLabelOptionsProperty) /** * @param lineDataLabels The options that determine if visual data labels are displayed. * The data label options for a line in a combo chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9415e2151a3afec8f3d3c2f62061975a9b03ad1df5537d10f4ae1a5a36a05c95") public fun lineDataLabels(lineDataLabels: DataLabelOptionsProperty.Builder.() -> Unit) /** * @param primaryYAxisDisplayOptions The label display options (grid line, range, scale, and * axis step) of a combo chart's primary y-axis (bar) field well. */ public fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) /** * @param primaryYAxisDisplayOptions The label display options (grid line, range, scale, and * axis step) of a combo chart's primary y-axis (bar) field well. */ public fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) /** * @param primaryYAxisDisplayOptions The label display options (grid line, range, scale, and * axis step) of a combo chart's primary y-axis (bar) field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("27db96b05aba49e54c838ad284bf1f7e3220e3a05b7dcc011f99d69e5d91162c") public fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param primaryYAxisLabelOptions The label options (label text, label visibility, and sort * icon visibility) of a combo chart's primary y-axis (bar) field well. */ public fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) /** * @param primaryYAxisLabelOptions The label options (label text, label visibility, and sort * icon visibility) of a combo chart's primary y-axis (bar) field well. */ public fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) /** * @param primaryYAxisLabelOptions The label options (label text, label visibility, and sort * icon visibility) of a combo chart's primary y-axis (bar) field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3f2d45d8a345fe58d09f8ea81ba34c16b388a93cbf13d1eb2fb99d428ce664fa") public fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param referenceLines The reference line setup of the visual. */ public fun referenceLines(referenceLines: IResolvable) /** * @param referenceLines The reference line setup of the visual. */ public fun referenceLines(referenceLines: List) /** * @param referenceLines The reference line setup of the visual. */ public fun referenceLines(vararg referenceLines: Any) /** * @param secondaryYAxisDisplayOptions The label display options (grid line, range, scale, * axis step) of a combo chart's secondary y-axis (line) field well. */ public fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: IResolvable) /** * @param secondaryYAxisDisplayOptions The label display options (grid line, range, scale, * axis step) of a combo chart's secondary y-axis (line) field well. */ public fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: AxisDisplayOptionsProperty) /** * @param secondaryYAxisDisplayOptions The label display options (grid line, range, scale, * axis step) of a combo chart's secondary y-axis (line) field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4ffa85356ace9173907d738a608af66cebf47b85b3bceae2c73dd13c61a970d8") public fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param secondaryYAxisLabelOptions The label options (label text, label visibility, and sort * icon visibility) of a combo chart's secondary y-axis(line) field well. */ public fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: IResolvable) /** * @param secondaryYAxisLabelOptions The label options (label text, label visibility, and sort * icon visibility) of a combo chart's secondary y-axis(line) field well. */ public fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) /** * @param secondaryYAxisLabelOptions The label options (label text, label visibility, and sort * icon visibility) of a combo chart's secondary y-axis(line) field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ad815f1ec2da4f919578b93db767ddc4ba5169829caeae56a1deb934324204d4") public fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param singleAxisOptions the value to be set. */ public fun singleAxisOptions(singleAxisOptions: IResolvable) /** * @param singleAxisOptions the value to be set. */ public fun singleAxisOptions(singleAxisOptions: SingleAxisOptionsProperty) /** * @param singleAxisOptions the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3aa2b59df1e2ce9afe5db4eb7215caf7f9c0f19c497adad638adf353bd245103") public fun singleAxisOptions(singleAxisOptions: SingleAxisOptionsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration of a `ComboChartVisual` . */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a `ComboChartVisual` . */ public fun sortConfiguration(sortConfiguration: ComboChartSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a `ComboChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cb4f23fdfd32f7910533e488c32b1b98aefb327c8a00cd7160288aa38a5e8fde") public fun sortConfiguration(sortConfiguration: ComboChartSortConfigurationProperty.Builder.() -> Unit) /** * @param tooltip The legend display setup of the visual. */ public fun tooltip(tooltip: IResolvable) /** * @param tooltip The legend display setup of the visual. */ public fun tooltip(tooltip: TooltipOptionsProperty) /** * @param tooltip The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5e4ebf094ed1d2b34bc9b27622408c75b0df3aaa47574805d9dc691dea6122a1") public fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit) /** * @param visualPalette The palette (chart color) display setup of the visual. */ public fun visualPalette(visualPalette: IResolvable) /** * @param visualPalette The palette (chart color) display setup of the visual. */ public fun visualPalette(visualPalette: VisualPaletteProperty) /** * @param visualPalette The palette (chart color) display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0d7ea31780de075397911139efdcef97b3055f2a485c010d1011014ac73a2b8a") public fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartConfigurationProperty.builder() /** * @param barDataLabels The options that determine if visual data labels are displayed. * The data label options for a bar in a combo chart. */ override fun barDataLabels(barDataLabels: IResolvable) { cdkBuilder.barDataLabels(barDataLabels.let(IResolvable.Companion::unwrap)) } /** * @param barDataLabels The options that determine if visual data labels are displayed. * The data label options for a bar in a combo chart. */ override fun barDataLabels(barDataLabels: DataLabelOptionsProperty) { cdkBuilder.barDataLabels(barDataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** * @param barDataLabels The options that determine if visual data labels are displayed. * The data label options for a bar in a combo chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("89ab3b80a572b87840bc90ed3ff7ee787eabbe71f9e3638195890605f0e1af83") override fun barDataLabels(barDataLabels: DataLabelOptionsProperty.Builder.() -> Unit): Unit = barDataLabels(DataLabelOptionsProperty(barDataLabels)) /** * @param barsArrangement Determines the bar arrangement in a combo chart. The following are * valid values in this structure:. * * `CLUSTERED` : For clustered bar combo charts. * * `STACKED` : For stacked bar combo charts. * * `STACKED_PERCENT` : Do not use. If you use this value, the operation returns a validation * error. */ override fun barsArrangement(barsArrangement: String) { cdkBuilder.barsArrangement(barsArrangement) } /** * @param categoryAxis The category axis of a combo chart. */ override fun categoryAxis(categoryAxis: IResolvable) { cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** * @param categoryAxis The category axis of a combo chart. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param categoryAxis The category axis of a combo chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cae33bbe71bf7a0e08c6ba1512692098c23da1e7e5f53f4b56ca3cf7ebff6cc5") override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = categoryAxis(AxisDisplayOptionsProperty(categoryAxis)) /** * @param categoryLabelOptions The label options (label text, label visibility, and sort icon * visibility) of a combo chart category (group/color) field well. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param categoryLabelOptions The label options (label text, label visibility, and sort icon * visibility) of a combo chart category (group/color) field well. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param categoryLabelOptions The label options (label text, label visibility, and sort icon * visibility) of a combo chart category (group/color) field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cf7c3548fa04279935bb393a42de6a9dea73257c09a51b4e5edd381e45b5d5b8") override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = categoryLabelOptions(ChartAxisLabelOptionsProperty(categoryLabelOptions)) /** * @param colorLabelOptions The label options (label text, label visibility, and sort icon * visibility) of a combo chart's color field well. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param colorLabelOptions The label options (label text, label visibility, and sort icon * visibility) of a combo chart's color field well. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param colorLabelOptions The label options (label text, label visibility, and sort icon * visibility) of a combo chart's color field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e1a74419c955da9926955d58f40b5bb82ff269a6deaecf833ba805713a9230a8") override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = colorLabelOptions(ChartAxisLabelOptionsProperty(colorLabelOptions)) /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: ComboChartFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(ComboChartFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8026e536664656d37bced7d97bdbf54bebb0f272b12afae05e16cc6580cc0c5b") override fun fieldWells(fieldWells: ComboChartFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(ComboChartFieldWellsProperty(fieldWells)) /** * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4f6bf32e761f89ad90064361dab29112353c47b97b82e87ddc7895f9076cde19") override fun legend(legend: LegendOptionsProperty.Builder.() -> Unit): Unit = legend(LegendOptionsProperty(legend)) /** * @param lineDataLabels The options that determine if visual data labels are displayed. * The data label options for a line in a combo chart. */ override fun lineDataLabels(lineDataLabels: IResolvable) { cdkBuilder.lineDataLabels(lineDataLabels.let(IResolvable.Companion::unwrap)) } /** * @param lineDataLabels The options that determine if visual data labels are displayed. * The data label options for a line in a combo chart. */ override fun lineDataLabels(lineDataLabels: DataLabelOptionsProperty) { cdkBuilder.lineDataLabels(lineDataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** * @param lineDataLabels The options that determine if visual data labels are displayed. * The data label options for a line in a combo chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9415e2151a3afec8f3d3c2f62061975a9b03ad1df5537d10f4ae1a5a36a05c95") override fun lineDataLabels(lineDataLabels: DataLabelOptionsProperty.Builder.() -> Unit): Unit = lineDataLabels(DataLabelOptionsProperty(lineDataLabels)) /** * @param primaryYAxisDisplayOptions The label display options (grid line, range, scale, and * axis step) of a combo chart's primary y-axis (bar) field well. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param primaryYAxisDisplayOptions The label display options (grid line, range, scale, and * axis step) of a combo chart's primary y-axis (bar) field well. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param primaryYAxisDisplayOptions The label display options (grid line, range, scale, and * axis step) of a combo chart's primary y-axis (bar) field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("27db96b05aba49e54c838ad284bf1f7e3220e3a05b7dcc011f99d69e5d91162c") override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = primaryYAxisDisplayOptions(AxisDisplayOptionsProperty(primaryYAxisDisplayOptions)) /** * @param primaryYAxisLabelOptions The label options (label text, label visibility, and sort * icon visibility) of a combo chart's primary y-axis (bar) field well. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param primaryYAxisLabelOptions The label options (label text, label visibility, and sort * icon visibility) of a combo chart's primary y-axis (bar) field well. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param primaryYAxisLabelOptions The label options (label text, label visibility, and sort * icon visibility) of a combo chart's primary y-axis (bar) field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3f2d45d8a345fe58d09f8ea81ba34c16b388a93cbf13d1eb2fb99d428ce664fa") override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = primaryYAxisLabelOptions(ChartAxisLabelOptionsProperty(primaryYAxisLabelOptions)) /** * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: IResolvable) { cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: List) { cdkBuilder.referenceLines(referenceLines.map{CdkObjectWrappers.unwrap(it)}) } /** * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(vararg referenceLines: Any): Unit = referenceLines(referenceLines.toList()) /** * @param secondaryYAxisDisplayOptions The label display options (grid line, range, scale, * axis step) of a combo chart's secondary y-axis (line) field well. */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: IResolvable) { cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param secondaryYAxisDisplayOptions The label display options (grid line, range, scale, * axis step) of a combo chart's secondary y-axis (line) field well. */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param secondaryYAxisDisplayOptions The label display options (grid line, range, scale, * axis step) of a combo chart's secondary y-axis (line) field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4ffa85356ace9173907d738a608af66cebf47b85b3bceae2c73dd13c61a970d8") override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = secondaryYAxisDisplayOptions(AxisDisplayOptionsProperty(secondaryYAxisDisplayOptions)) /** * @param secondaryYAxisLabelOptions The label options (label text, label visibility, and sort * icon visibility) of a combo chart's secondary y-axis(line) field well. */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: IResolvable) { cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param secondaryYAxisLabelOptions The label options (label text, label visibility, and sort * icon visibility) of a combo chart's secondary y-axis(line) field well. */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param secondaryYAxisLabelOptions The label options (label text, label visibility, and sort * icon visibility) of a combo chart's secondary y-axis(line) field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ad815f1ec2da4f919578b93db767ddc4ba5169829caeae56a1deb934324204d4") override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = secondaryYAxisLabelOptions(ChartAxisLabelOptionsProperty(secondaryYAxisLabelOptions)) /** * @param singleAxisOptions the value to be set. */ override fun singleAxisOptions(singleAxisOptions: IResolvable) { cdkBuilder.singleAxisOptions(singleAxisOptions.let(IResolvable.Companion::unwrap)) } /** * @param singleAxisOptions the value to be set. */ override fun singleAxisOptions(singleAxisOptions: SingleAxisOptionsProperty) { cdkBuilder.singleAxisOptions(singleAxisOptions.let(SingleAxisOptionsProperty.Companion::unwrap)) } /** * @param singleAxisOptions the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3aa2b59df1e2ce9afe5db4eb7215caf7f9c0f19c497adad638adf353bd245103") override fun singleAxisOptions(singleAxisOptions: SingleAxisOptionsProperty.Builder.() -> Unit): Unit = singleAxisOptions(SingleAxisOptionsProperty(singleAxisOptions)) /** * @param sortConfiguration The sort configuration of a `ComboChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `ComboChartVisual` . */ override fun sortConfiguration(sortConfiguration: ComboChartSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(ComboChartSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `ComboChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cb4f23fdfd32f7910533e488c32b1b98aefb327c8a00cd7160288aa38a5e8fde") override fun sortConfiguration(sortConfiguration: ComboChartSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(ComboChartSortConfigurationProperty(sortConfiguration)) /** * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltip The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5e4ebf094ed1d2b34bc9b27622408c75b0df3aaa47574805d9dc691dea6122a1") override fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltip(TooltipOptionsProperty(tooltip)) /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0d7ea31780de075397911139efdcef97b3055f2a485c010d1011014ac73a2b8a") override fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit): Unit = visualPalette(VisualPaletteProperty(visualPalette)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartConfigurationProperty, ) : CdkObject(cdkObject), ComboChartConfigurationProperty { /** * The options that determine if visual data labels are displayed. * * The data label options for a bar in a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-bardatalabels) */ override fun barDataLabels(): Any? = unwrap(this).getBarDataLabels() /** * Determines the bar arrangement in a combo chart. The following are valid values in this * structure:. * * * `CLUSTERED` : For clustered bar combo charts. * * `STACKED` : For stacked bar combo charts. * * `STACKED_PERCENT` : Do not use. If you use this value, the operation returns a validation * error. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-barsarrangement) */ override fun barsArrangement(): String? = unwrap(this).getBarsArrangement() /** * The category axis of a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-categoryaxis) */ override fun categoryAxis(): Any? = unwrap(this).getCategoryAxis() /** * The label options (label text, label visibility, and sort icon visibility) of a combo chart * category (group/color) field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-categorylabeloptions) */ override fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The label options (label text, label visibility, and sort icon visibility) of a combo * chart's color field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-colorlabeloptions) */ override fun colorLabelOptions(): Any? = unwrap(this).getColorLabelOptions() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-legend) */ override fun legend(): Any? = unwrap(this).getLegend() /** * The options that determine if visual data labels are displayed. * * The data label options for a line in a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-linedatalabels) */ override fun lineDataLabels(): Any? = unwrap(this).getLineDataLabels() /** * The label display options (grid line, range, scale, and axis step) of a combo chart's * primary y-axis (bar) field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-primaryyaxisdisplayoptions) */ override fun primaryYAxisDisplayOptions(): Any? = unwrap(this).getPrimaryYAxisDisplayOptions() /** * The label options (label text, label visibility, and sort icon visibility) of a combo * chart's primary y-axis (bar) field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-primaryyaxislabeloptions) */ override fun primaryYAxisLabelOptions(): Any? = unwrap(this).getPrimaryYAxisLabelOptions() /** * The reference line setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-referencelines) */ override fun referenceLines(): Any? = unwrap(this).getReferenceLines() /** * The label display options (grid line, range, scale, axis step) of a combo chart's secondary * y-axis (line) field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-secondaryyaxisdisplayoptions) */ override fun secondaryYAxisDisplayOptions(): Any? = unwrap(this).getSecondaryYAxisDisplayOptions() /** * The label options (label text, label visibility, and sort icon visibility) of a combo * chart's secondary y-axis(line) field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-secondaryyaxislabeloptions) */ override fun secondaryYAxisLabelOptions(): Any? = unwrap(this).getSecondaryYAxisLabelOptions() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-singleaxisoptions) */ override fun singleAxisOptions(): Any? = unwrap(this).getSingleAxisOptions() /** * The sort configuration of a `ComboChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-tooltip) */ override fun tooltip(): Any? = unwrap(this).getTooltip() /** * The palette (chart color) display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartconfiguration.html#cfn-quicksight-dashboard-combochartconfiguration-visualpalette) */ override fun visualPalette(): Any? = unwrap(this).getVisualPalette() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ComboChartConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartConfigurationProperty): ComboChartConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ComboChartConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ComboChartConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartConfigurationProperty } } /** * The field wells of the visual. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartfieldwells.html) */ public interface ComboChartFieldWellsProperty { /** * The aggregated field wells of a combo chart. * * Combo charts only have aggregated field wells. Columns in a combo chart are aggregated by * category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartfieldwells.html#cfn-quicksight-dashboard-combochartfieldwells-combochartaggregatedfieldwells) */ public fun comboChartAggregatedFieldWells(): Any? = unwrap(this).getComboChartAggregatedFieldWells() /** * A builder for [ComboChartFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param comboChartAggregatedFieldWells The aggregated field wells of a combo chart. * Combo charts only have aggregated field wells. Columns in a combo chart are aggregated by * category. */ public fun comboChartAggregatedFieldWells(comboChartAggregatedFieldWells: IResolvable) /** * @param comboChartAggregatedFieldWells The aggregated field wells of a combo chart. * Combo charts only have aggregated field wells. Columns in a combo chart are aggregated by * category. */ public fun comboChartAggregatedFieldWells(comboChartAggregatedFieldWells: ComboChartAggregatedFieldWellsProperty) /** * @param comboChartAggregatedFieldWells The aggregated field wells of a combo chart. * Combo charts only have aggregated field wells. Columns in a combo chart are aggregated by * category. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("746d77f3403df6e0502ef1796e611e680a2cbee99841773e8d15fdcdaaa1e255") public fun comboChartAggregatedFieldWells(comboChartAggregatedFieldWells: ComboChartAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartFieldWellsProperty.builder() /** * @param comboChartAggregatedFieldWells The aggregated field wells of a combo chart. * Combo charts only have aggregated field wells. Columns in a combo chart are aggregated by * category. */ override fun comboChartAggregatedFieldWells(comboChartAggregatedFieldWells: IResolvable) { cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param comboChartAggregatedFieldWells The aggregated field wells of a combo chart. * Combo charts only have aggregated field wells. Columns in a combo chart are aggregated by * category. */ override fun comboChartAggregatedFieldWells(comboChartAggregatedFieldWells: ComboChartAggregatedFieldWellsProperty) { cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(ComboChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param comboChartAggregatedFieldWells The aggregated field wells of a combo chart. * Combo charts only have aggregated field wells. Columns in a combo chart are aggregated by * category. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("746d77f3403df6e0502ef1796e611e680a2cbee99841773e8d15fdcdaaa1e255") override fun comboChartAggregatedFieldWells(comboChartAggregatedFieldWells: ComboChartAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = comboChartAggregatedFieldWells(ComboChartAggregatedFieldWellsProperty(comboChartAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartFieldWellsProperty, ) : CdkObject(cdkObject), ComboChartFieldWellsProperty { /** * The aggregated field wells of a combo chart. * * Combo charts only have aggregated field wells. Columns in a combo chart are aggregated by * category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartfieldwells.html#cfn-quicksight-dashboard-combochartfieldwells-combochartaggregatedfieldwells) */ override fun comboChartAggregatedFieldWells(): Any? = unwrap(this).getComboChartAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ComboChartFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartFieldWellsProperty): ComboChartFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? ComboChartFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ComboChartFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartFieldWellsProperty } } /** * The sort configuration of a `ComboChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ComboChartSortConfigurationProperty comboChartSortConfigurationProperty = * ComboChartSortConfigurationProperty.builder() * .categoryItemsLimit(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .categorySort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .colorItemsLimit(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .colorSort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartsortconfiguration.html) */ public interface ComboChartSortConfigurationProperty { /** * The item limit configuration for the category field well of a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartsortconfiguration.html#cfn-quicksight-dashboard-combochartsortconfiguration-categoryitemslimit) */ public fun categoryItemsLimit(): Any? = unwrap(this).getCategoryItemsLimit() /** * The sort configuration of the category field well in a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartsortconfiguration.html#cfn-quicksight-dashboard-combochartsortconfiguration-categorysort) */ public fun categorySort(): Any? = unwrap(this).getCategorySort() /** * The item limit configuration of the color field well in a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartsortconfiguration.html#cfn-quicksight-dashboard-combochartsortconfiguration-coloritemslimit) */ public fun colorItemsLimit(): Any? = unwrap(this).getColorItemsLimit() /** * The sort configuration of the color field well in a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartsortconfiguration.html#cfn-quicksight-dashboard-combochartsortconfiguration-colorsort) */ public fun colorSort(): Any? = unwrap(this).getColorSort() /** * A builder for [ComboChartSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryItemsLimit The item limit configuration for the category field well of a * combo chart. */ public fun categoryItemsLimit(categoryItemsLimit: IResolvable) /** * @param categoryItemsLimit The item limit configuration for the category field well of a * combo chart. */ public fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) /** * @param categoryItemsLimit The item limit configuration for the category field well of a * combo chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6d7ac3e2a382895f813032ae468da87fd4f44c33702841d47065d3502dee2f8e") public fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param categorySort The sort configuration of the category field well in a combo chart. */ public fun categorySort(categorySort: IResolvable) /** * @param categorySort The sort configuration of the category field well in a combo chart. */ public fun categorySort(categorySort: List) /** * @param categorySort The sort configuration of the category field well in a combo chart. */ public fun categorySort(vararg categorySort: Any) /** * @param colorItemsLimit The item limit configuration of the color field well in a combo * chart. */ public fun colorItemsLimit(colorItemsLimit: IResolvable) /** * @param colorItemsLimit The item limit configuration of the color field well in a combo * chart. */ public fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) /** * @param colorItemsLimit The item limit configuration of the color field well in a combo * chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ebdf538bbc360192ac14669d3aaafe430a03cc6784121e983f955af652410152") public fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param colorSort The sort configuration of the color field well in a combo chart. */ public fun colorSort(colorSort: IResolvable) /** * @param colorSort The sort configuration of the color field well in a combo chart. */ public fun colorSort(colorSort: List) /** * @param colorSort The sort configuration of the color field well in a combo chart. */ public fun colorSort(vararg colorSort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartSortConfigurationProperty.builder() /** * @param categoryItemsLimit The item limit configuration for the category field well of a * combo chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The item limit configuration for the category field well of a * combo chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param categoryItemsLimit The item limit configuration for the category field well of a * combo chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6d7ac3e2a382895f813032ae468da87fd4f44c33702841d47065d3502dee2f8e") override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = categoryItemsLimit(ItemsLimitConfigurationProperty(categoryItemsLimit)) /** * @param categorySort The sort configuration of the category field well in a combo chart. */ override fun categorySort(categorySort: IResolvable) { cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** * @param categorySort The sort configuration of the category field well in a combo chart. */ override fun categorySort(categorySort: List) { cdkBuilder.categorySort(categorySort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param categorySort The sort configuration of the category field well in a combo chart. */ override fun categorySort(vararg categorySort: Any): Unit = categorySort(categorySort.toList()) /** * @param colorItemsLimit The item limit configuration of the color field well in a combo * chart. */ override fun colorItemsLimit(colorItemsLimit: IResolvable) { cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param colorItemsLimit The item limit configuration of the color field well in a combo * chart. */ override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) { cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param colorItemsLimit The item limit configuration of the color field well in a combo * chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ebdf538bbc360192ac14669d3aaafe430a03cc6784121e983f955af652410152") override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = colorItemsLimit(ItemsLimitConfigurationProperty(colorItemsLimit)) /** * @param colorSort The sort configuration of the color field well in a combo chart. */ override fun colorSort(colorSort: IResolvable) { cdkBuilder.colorSort(colorSort.let(IResolvable.Companion::unwrap)) } /** * @param colorSort The sort configuration of the color field well in a combo chart. */ override fun colorSort(colorSort: List) { cdkBuilder.colorSort(colorSort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param colorSort The sort configuration of the color field well in a combo chart. */ override fun colorSort(vararg colorSort: Any): Unit = colorSort(colorSort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartSortConfigurationProperty, ) : CdkObject(cdkObject), ComboChartSortConfigurationProperty { /** * The item limit configuration for the category field well of a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartsortconfiguration.html#cfn-quicksight-dashboard-combochartsortconfiguration-categoryitemslimit) */ override fun categoryItemsLimit(): Any? = unwrap(this).getCategoryItemsLimit() /** * The sort configuration of the category field well in a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartsortconfiguration.html#cfn-quicksight-dashboard-combochartsortconfiguration-categorysort) */ override fun categorySort(): Any? = unwrap(this).getCategorySort() /** * The item limit configuration of the color field well in a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartsortconfiguration.html#cfn-quicksight-dashboard-combochartsortconfiguration-coloritemslimit) */ override fun colorItemsLimit(): Any? = unwrap(this).getColorItemsLimit() /** * The sort configuration of the color field well in a combo chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartsortconfiguration.html#cfn-quicksight-dashboard-combochartsortconfiguration-colorsort) */ override fun colorSort(): Any? = unwrap(this).getColorSort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ComboChartSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartSortConfigurationProperty): ComboChartSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ComboChartSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ComboChartSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartSortConfigurationProperty } } /** * A combo chart. * * The `ComboChartVisual` includes stacked bar combo charts and clustered bar combo charts * * For more information, see [Using combo * charts](https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html) */ public interface ComboChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html#cfn-quicksight-dashboard-combochartvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html#cfn-quicksight-dashboard-combochartvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html#cfn-quicksight-dashboard-combochartvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html#cfn-quicksight-dashboard-combochartvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html#cfn-quicksight-dashboard-combochartvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html#cfn-quicksight-dashboard-combochartvisual-visualid) */ public fun visualId(): String /** * A builder for [ComboChartVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: ComboChartConfigurationProperty) /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3815552400dd607362df354f3e52e7f02572a6626a89b9816b683a59d788942f") public fun chartConfiguration(chartConfiguration: ComboChartConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c13082b464c5a29a9ab1122ab71a875cbbb40cadf595225e6414c58b26d4b15a") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("266291dd68c3102ed28a6184fb89ed42fd5efdee75f3dbcd0e00311445666060") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: ComboChartConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(ComboChartConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3815552400dd607362df354f3e52e7f02572a6626a89b9816b683a59d788942f") override fun chartConfiguration(chartConfiguration: ComboChartConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(ComboChartConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c13082b464c5a29a9ab1122ab71a875cbbb40cadf595225e6414c58b26d4b15a") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("266291dd68c3102ed28a6184fb89ed42fd5efdee75f3dbcd0e00311445666060") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartVisualProperty, ) : CdkObject(cdkObject), ComboChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html#cfn-quicksight-dashboard-combochartvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html#cfn-quicksight-dashboard-combochartvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html#cfn-quicksight-dashboard-combochartvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html#cfn-quicksight-dashboard-combochartvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html#cfn-quicksight-dashboard-combochartvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-combochartvisual.html#cfn-quicksight-dashboard-combochartvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ComboChartVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartVisualProperty): ComboChartVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? ComboChartVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ComboChartVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ComboChartVisualProperty } } /** * The comparison display configuration of a KPI or gauge chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ComparisonConfigurationProperty comparisonConfigurationProperty = * ComparisonConfigurationProperty.builder() * .comparisonFormat(ComparisonFormatConfigurationProperty.builder() * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .comparisonMethod("comparisonMethod") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-comparisonconfiguration.html) */ public interface ComparisonConfigurationProperty { /** * The format of the comparison. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-comparisonconfiguration.html#cfn-quicksight-dashboard-comparisonconfiguration-comparisonformat) */ public fun comparisonFormat(): Any? = unwrap(this).getComparisonFormat() /** * The method of the comparison. Choose from the following options:. * * * `DIFFERENCE` * * `PERCENT_DIFFERENCE` * * `PERCENT` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-comparisonconfiguration.html#cfn-quicksight-dashboard-comparisonconfiguration-comparisonmethod) */ public fun comparisonMethod(): String? = unwrap(this).getComparisonMethod() /** * A builder for [ComparisonConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param comparisonFormat The format of the comparison. */ public fun comparisonFormat(comparisonFormat: IResolvable) /** * @param comparisonFormat The format of the comparison. */ public fun comparisonFormat(comparisonFormat: ComparisonFormatConfigurationProperty) /** * @param comparisonFormat The format of the comparison. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("876d7cf0fca19d294e99218fb1990cceacc0965d10a2e6d1e83ab0255e76c0e4") public fun comparisonFormat(comparisonFormat: ComparisonFormatConfigurationProperty.Builder.() -> Unit) /** * @param comparisonMethod The method of the comparison. Choose from the following options:. * * `DIFFERENCE` * * `PERCENT_DIFFERENCE` * * `PERCENT` */ public fun comparisonMethod(comparisonMethod: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonConfigurationProperty.builder() /** * @param comparisonFormat The format of the comparison. */ override fun comparisonFormat(comparisonFormat: IResolvable) { cdkBuilder.comparisonFormat(comparisonFormat.let(IResolvable.Companion::unwrap)) } /** * @param comparisonFormat The format of the comparison. */ override fun comparisonFormat(comparisonFormat: ComparisonFormatConfigurationProperty) { cdkBuilder.comparisonFormat(comparisonFormat.let(ComparisonFormatConfigurationProperty.Companion::unwrap)) } /** * @param comparisonFormat The format of the comparison. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("876d7cf0fca19d294e99218fb1990cceacc0965d10a2e6d1e83ab0255e76c0e4") override fun comparisonFormat(comparisonFormat: ComparisonFormatConfigurationProperty.Builder.() -> Unit): Unit = comparisonFormat(ComparisonFormatConfigurationProperty(comparisonFormat)) /** * @param comparisonMethod The method of the comparison. Choose from the following options:. * * `DIFFERENCE` * * `PERCENT_DIFFERENCE` * * `PERCENT` */ override fun comparisonMethod(comparisonMethod: String) { cdkBuilder.comparisonMethod(comparisonMethod) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonConfigurationProperty, ) : CdkObject(cdkObject), ComparisonConfigurationProperty { /** * The format of the comparison. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-comparisonconfiguration.html#cfn-quicksight-dashboard-comparisonconfiguration-comparisonformat) */ override fun comparisonFormat(): Any? = unwrap(this).getComparisonFormat() /** * The method of the comparison. Choose from the following options:. * * * `DIFFERENCE` * * `PERCENT_DIFFERENCE` * * `PERCENT` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-comparisonconfiguration.html#cfn-quicksight-dashboard-comparisonconfiguration-comparisonmethod) */ override fun comparisonMethod(): String? = unwrap(this).getComparisonMethod() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ComparisonConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonConfigurationProperty): ComparisonConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ComparisonConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ComparisonConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonConfigurationProperty } } /** * The format of the comparison. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ComparisonFormatConfigurationProperty comparisonFormatConfigurationProperty = * ComparisonFormatConfigurationProperty.builder() * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-comparisonformatconfiguration.html) */ public interface ComparisonFormatConfigurationProperty { /** * The number display format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-comparisonformatconfiguration.html#cfn-quicksight-dashboard-comparisonformatconfiguration-numberdisplayformatconfiguration) */ public fun numberDisplayFormatConfiguration(): Any? = unwrap(this).getNumberDisplayFormatConfiguration() /** * The percentage display format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-comparisonformatconfiguration.html#cfn-quicksight-dashboard-comparisonformatconfiguration-percentagedisplayformatconfiguration) */ public fun percentageDisplayFormatConfiguration(): Any? = unwrap(this).getPercentageDisplayFormatConfiguration() /** * A builder for [ComparisonFormatConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param numberDisplayFormatConfiguration The number display format. */ public fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: IResolvable) /** * @param numberDisplayFormatConfiguration The number display format. */ public fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty) /** * @param numberDisplayFormatConfiguration The number display format. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6fba3258ff129eb19eccc2c614003ca9472c790c036a879f26aa46d08e56cb64") public fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty.Builder.() -> Unit) /** * @param percentageDisplayFormatConfiguration The percentage display format. */ public fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: IResolvable) /** * @param percentageDisplayFormatConfiguration The percentage display format. */ public fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty) /** * @param percentageDisplayFormatConfiguration The percentage display format. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c68c487a6f7f3ed193122bc5a4d7a55d38ff04b9cbe2fcbe5072c620a6933766") public fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonFormatConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonFormatConfigurationProperty.builder() /** * @param numberDisplayFormatConfiguration The number display format. */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: IResolvable) { cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param numberDisplayFormatConfiguration The number display format. */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty) { cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty.Companion::unwrap)) } /** * @param numberDisplayFormatConfiguration The number display format. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6fba3258ff129eb19eccc2c614003ca9472c790c036a879f26aa46d08e56cb64") override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty.Builder.() -> Unit): Unit = numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty(numberDisplayFormatConfiguration)) /** * @param percentageDisplayFormatConfiguration The percentage display format. */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: IResolvable) { cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param percentageDisplayFormatConfiguration The percentage display format. */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty) { cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty.Companion::unwrap)) } /** * @param percentageDisplayFormatConfiguration The percentage display format. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c68c487a6f7f3ed193122bc5a4d7a55d38ff04b9cbe2fcbe5072c620a6933766") override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty.Builder.() -> Unit): Unit = percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty(percentageDisplayFormatConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonFormatConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonFormatConfigurationProperty, ) : CdkObject(cdkObject), ComparisonFormatConfigurationProperty { /** * The number display format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-comparisonformatconfiguration.html#cfn-quicksight-dashboard-comparisonformatconfiguration-numberdisplayformatconfiguration) */ override fun numberDisplayFormatConfiguration(): Any? = unwrap(this).getNumberDisplayFormatConfiguration() /** * The percentage display format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-comparisonformatconfiguration.html#cfn-quicksight-dashboard-comparisonformatconfiguration-percentagedisplayformatconfiguration) */ override fun percentageDisplayFormatConfiguration(): Any? = unwrap(this).getPercentageDisplayFormatConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ComparisonFormatConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonFormatConfigurationProperty): ComparisonFormatConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ComparisonFormatConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ComparisonFormatConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonFormatConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ComparisonFormatConfigurationProperty } } /** * The computation union that is used in an insight visual. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html) */ public interface ComputationProperty { /** * The forecast computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-forecast) */ public fun forecast(): Any? = unwrap(this).getForecast() /** * The growth rate computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-growthrate) */ public fun growthRate(): Any? = unwrap(this).getGrowthRate() /** * The maximum and minimum computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-maximumminimum) */ public fun maximumMinimum(): Any? = unwrap(this).getMaximumMinimum() /** * The metric comparison computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-metriccomparison) */ public fun metricComparison(): Any? = unwrap(this).getMetricComparison() /** * The period over period computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-periodoverperiod) */ public fun periodOverPeriod(): Any? = unwrap(this).getPeriodOverPeriod() /** * The period to `DataSetIdentifier` computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-periodtodate) */ public fun periodToDate(): Any? = unwrap(this).getPeriodToDate() /** * The top movers and bottom movers computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-topbottommovers) */ public fun topBottomMovers(): Any? = unwrap(this).getTopBottomMovers() /** * The top ranked and bottom ranked computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-topbottomranked) */ public fun topBottomRanked(): Any? = unwrap(this).getTopBottomRanked() /** * The total aggregation computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-totalaggregation) */ public fun totalAggregation(): Any? = unwrap(this).getTotalAggregation() /** * The unique values computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-uniquevalues) */ public fun uniqueValues(): Any? = unwrap(this).getUniqueValues() /** * A builder for [ComputationProperty] */ @CdkDslMarker public interface Builder { /** * @param forecast The forecast computation configuration. */ public fun forecast(forecast: IResolvable) /** * @param forecast The forecast computation configuration. */ public fun forecast(forecast: ForecastComputationProperty) /** * @param forecast The forecast computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c75be1b71dfeffb195ed89d67298dd3a7d4c7c06b3c929e88ff6dae42631a35b") public fun forecast(forecast: ForecastComputationProperty.Builder.() -> Unit) /** * @param growthRate The growth rate computation configuration. */ public fun growthRate(growthRate: IResolvable) /** * @param growthRate The growth rate computation configuration. */ public fun growthRate(growthRate: GrowthRateComputationProperty) /** * @param growthRate The growth rate computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("da041a8e594483cb5f92925c31fef7bb2e047e83f179f0caaa8cf3fb142bb073") public fun growthRate(growthRate: GrowthRateComputationProperty.Builder.() -> Unit) /** * @param maximumMinimum The maximum and minimum computation configuration. */ public fun maximumMinimum(maximumMinimum: IResolvable) /** * @param maximumMinimum The maximum and minimum computation configuration. */ public fun maximumMinimum(maximumMinimum: MaximumMinimumComputationProperty) /** * @param maximumMinimum The maximum and minimum computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c40fd37629fafad9fe99ff158d049821ea64e063b82c045b1d1cffb9ead0657d") public fun maximumMinimum(maximumMinimum: MaximumMinimumComputationProperty.Builder.() -> Unit) /** * @param metricComparison The metric comparison computation configuration. */ public fun metricComparison(metricComparison: IResolvable) /** * @param metricComparison The metric comparison computation configuration. */ public fun metricComparison(metricComparison: MetricComparisonComputationProperty) /** * @param metricComparison The metric comparison computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("11bec888dc7ca322dae71d8da5a4346ebde22261240dacac6776aaaaaafd95b0") public fun metricComparison(metricComparison: MetricComparisonComputationProperty.Builder.() -> Unit) /** * @param periodOverPeriod The period over period computation configuration. */ public fun periodOverPeriod(periodOverPeriod: IResolvable) /** * @param periodOverPeriod The period over period computation configuration. */ public fun periodOverPeriod(periodOverPeriod: PeriodOverPeriodComputationProperty) /** * @param periodOverPeriod The period over period computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f898b601b61a0157886ae5ea2f779677339a495d21a12a0598808b38ff22d6ba") public fun periodOverPeriod(periodOverPeriod: PeriodOverPeriodComputationProperty.Builder.() -> Unit) /** * @param periodToDate The period to `DataSetIdentifier` computation configuration. */ public fun periodToDate(periodToDate: IResolvable) /** * @param periodToDate The period to `DataSetIdentifier` computation configuration. */ public fun periodToDate(periodToDate: PeriodToDateComputationProperty) /** * @param periodToDate The period to `DataSetIdentifier` computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("024c97807c9916dd5de3e095f09747ee4885c9d8bd63438ecdd7189f2c32ffc3") public fun periodToDate(periodToDate: PeriodToDateComputationProperty.Builder.() -> Unit) /** * @param topBottomMovers The top movers and bottom movers computation configuration. */ public fun topBottomMovers(topBottomMovers: IResolvable) /** * @param topBottomMovers The top movers and bottom movers computation configuration. */ public fun topBottomMovers(topBottomMovers: TopBottomMoversComputationProperty) /** * @param topBottomMovers The top movers and bottom movers computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("95ac08238c9955ad3118f638d0a91960e278985e81b1d3414b39a97d4a8dcd51") public fun topBottomMovers(topBottomMovers: TopBottomMoversComputationProperty.Builder.() -> Unit) /** * @param topBottomRanked The top ranked and bottom ranked computation configuration. */ public fun topBottomRanked(topBottomRanked: IResolvable) /** * @param topBottomRanked The top ranked and bottom ranked computation configuration. */ public fun topBottomRanked(topBottomRanked: TopBottomRankedComputationProperty) /** * @param topBottomRanked The top ranked and bottom ranked computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9aabf6544fb2a13e15d43feb075738d89e79e1e7ee5db45d66889947ef13bdad") public fun topBottomRanked(topBottomRanked: TopBottomRankedComputationProperty.Builder.() -> Unit) /** * @param totalAggregation The total aggregation computation configuration. */ public fun totalAggregation(totalAggregation: IResolvable) /** * @param totalAggregation The total aggregation computation configuration. */ public fun totalAggregation(totalAggregation: TotalAggregationComputationProperty) /** * @param totalAggregation The total aggregation computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("511bdf8970106114ef85bd1605749fd50e41846d61b4dd920d202ba11fdc7849") public fun totalAggregation(totalAggregation: TotalAggregationComputationProperty.Builder.() -> Unit) /** * @param uniqueValues The unique values computation configuration. */ public fun uniqueValues(uniqueValues: IResolvable) /** * @param uniqueValues The unique values computation configuration. */ public fun uniqueValues(uniqueValues: UniqueValuesComputationProperty) /** * @param uniqueValues The unique values computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("640561ff1a5edb9a39855d98e49c123245bc1a5a868b3ae75f1012692cf32af5") public fun uniqueValues(uniqueValues: UniqueValuesComputationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ComputationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ComputationProperty.builder() /** * @param forecast The forecast computation configuration. */ override fun forecast(forecast: IResolvable) { cdkBuilder.forecast(forecast.let(IResolvable.Companion::unwrap)) } /** * @param forecast The forecast computation configuration. */ override fun forecast(forecast: ForecastComputationProperty) { cdkBuilder.forecast(forecast.let(ForecastComputationProperty.Companion::unwrap)) } /** * @param forecast The forecast computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c75be1b71dfeffb195ed89d67298dd3a7d4c7c06b3c929e88ff6dae42631a35b") override fun forecast(forecast: ForecastComputationProperty.Builder.() -> Unit): Unit = forecast(ForecastComputationProperty(forecast)) /** * @param growthRate The growth rate computation configuration. */ override fun growthRate(growthRate: IResolvable) { cdkBuilder.growthRate(growthRate.let(IResolvable.Companion::unwrap)) } /** * @param growthRate The growth rate computation configuration. */ override fun growthRate(growthRate: GrowthRateComputationProperty) { cdkBuilder.growthRate(growthRate.let(GrowthRateComputationProperty.Companion::unwrap)) } /** * @param growthRate The growth rate computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("da041a8e594483cb5f92925c31fef7bb2e047e83f179f0caaa8cf3fb142bb073") override fun growthRate(growthRate: GrowthRateComputationProperty.Builder.() -> Unit): Unit = growthRate(GrowthRateComputationProperty(growthRate)) /** * @param maximumMinimum The maximum and minimum computation configuration. */ override fun maximumMinimum(maximumMinimum: IResolvable) { cdkBuilder.maximumMinimum(maximumMinimum.let(IResolvable.Companion::unwrap)) } /** * @param maximumMinimum The maximum and minimum computation configuration. */ override fun maximumMinimum(maximumMinimum: MaximumMinimumComputationProperty) { cdkBuilder.maximumMinimum(maximumMinimum.let(MaximumMinimumComputationProperty.Companion::unwrap)) } /** * @param maximumMinimum The maximum and minimum computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c40fd37629fafad9fe99ff158d049821ea64e063b82c045b1d1cffb9ead0657d") override fun maximumMinimum(maximumMinimum: MaximumMinimumComputationProperty.Builder.() -> Unit): Unit = maximumMinimum(MaximumMinimumComputationProperty(maximumMinimum)) /** * @param metricComparison The metric comparison computation configuration. */ override fun metricComparison(metricComparison: IResolvable) { cdkBuilder.metricComparison(metricComparison.let(IResolvable.Companion::unwrap)) } /** * @param metricComparison The metric comparison computation configuration. */ override fun metricComparison(metricComparison: MetricComparisonComputationProperty) { cdkBuilder.metricComparison(metricComparison.let(MetricComparisonComputationProperty.Companion::unwrap)) } /** * @param metricComparison The metric comparison computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("11bec888dc7ca322dae71d8da5a4346ebde22261240dacac6776aaaaaafd95b0") override fun metricComparison(metricComparison: MetricComparisonComputationProperty.Builder.() -> Unit): Unit = metricComparison(MetricComparisonComputationProperty(metricComparison)) /** * @param periodOverPeriod The period over period computation configuration. */ override fun periodOverPeriod(periodOverPeriod: IResolvable) { cdkBuilder.periodOverPeriod(periodOverPeriod.let(IResolvable.Companion::unwrap)) } /** * @param periodOverPeriod The period over period computation configuration. */ override fun periodOverPeriod(periodOverPeriod: PeriodOverPeriodComputationProperty) { cdkBuilder.periodOverPeriod(periodOverPeriod.let(PeriodOverPeriodComputationProperty.Companion::unwrap)) } /** * @param periodOverPeriod The period over period computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f898b601b61a0157886ae5ea2f779677339a495d21a12a0598808b38ff22d6ba") override fun periodOverPeriod(periodOverPeriod: PeriodOverPeriodComputationProperty.Builder.() -> Unit): Unit = periodOverPeriod(PeriodOverPeriodComputationProperty(periodOverPeriod)) /** * @param periodToDate The period to `DataSetIdentifier` computation configuration. */ override fun periodToDate(periodToDate: IResolvable) { cdkBuilder.periodToDate(periodToDate.let(IResolvable.Companion::unwrap)) } /** * @param periodToDate The period to `DataSetIdentifier` computation configuration. */ override fun periodToDate(periodToDate: PeriodToDateComputationProperty) { cdkBuilder.periodToDate(periodToDate.let(PeriodToDateComputationProperty.Companion::unwrap)) } /** * @param periodToDate The period to `DataSetIdentifier` computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("024c97807c9916dd5de3e095f09747ee4885c9d8bd63438ecdd7189f2c32ffc3") override fun periodToDate(periodToDate: PeriodToDateComputationProperty.Builder.() -> Unit): Unit = periodToDate(PeriodToDateComputationProperty(periodToDate)) /** * @param topBottomMovers The top movers and bottom movers computation configuration. */ override fun topBottomMovers(topBottomMovers: IResolvable) { cdkBuilder.topBottomMovers(topBottomMovers.let(IResolvable.Companion::unwrap)) } /** * @param topBottomMovers The top movers and bottom movers computation configuration. */ override fun topBottomMovers(topBottomMovers: TopBottomMoversComputationProperty) { cdkBuilder.topBottomMovers(topBottomMovers.let(TopBottomMoversComputationProperty.Companion::unwrap)) } /** * @param topBottomMovers The top movers and bottom movers computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("95ac08238c9955ad3118f638d0a91960e278985e81b1d3414b39a97d4a8dcd51") override fun topBottomMovers(topBottomMovers: TopBottomMoversComputationProperty.Builder.() -> Unit): Unit = topBottomMovers(TopBottomMoversComputationProperty(topBottomMovers)) /** * @param topBottomRanked The top ranked and bottom ranked computation configuration. */ override fun topBottomRanked(topBottomRanked: IResolvable) { cdkBuilder.topBottomRanked(topBottomRanked.let(IResolvable.Companion::unwrap)) } /** * @param topBottomRanked The top ranked and bottom ranked computation configuration. */ override fun topBottomRanked(topBottomRanked: TopBottomRankedComputationProperty) { cdkBuilder.topBottomRanked(topBottomRanked.let(TopBottomRankedComputationProperty.Companion::unwrap)) } /** * @param topBottomRanked The top ranked and bottom ranked computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9aabf6544fb2a13e15d43feb075738d89e79e1e7ee5db45d66889947ef13bdad") override fun topBottomRanked(topBottomRanked: TopBottomRankedComputationProperty.Builder.() -> Unit): Unit = topBottomRanked(TopBottomRankedComputationProperty(topBottomRanked)) /** * @param totalAggregation The total aggregation computation configuration. */ override fun totalAggregation(totalAggregation: IResolvable) { cdkBuilder.totalAggregation(totalAggregation.let(IResolvable.Companion::unwrap)) } /** * @param totalAggregation The total aggregation computation configuration. */ override fun totalAggregation(totalAggregation: TotalAggregationComputationProperty) { cdkBuilder.totalAggregation(totalAggregation.let(TotalAggregationComputationProperty.Companion::unwrap)) } /** * @param totalAggregation The total aggregation computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("511bdf8970106114ef85bd1605749fd50e41846d61b4dd920d202ba11fdc7849") override fun totalAggregation(totalAggregation: TotalAggregationComputationProperty.Builder.() -> Unit): Unit = totalAggregation(TotalAggregationComputationProperty(totalAggregation)) /** * @param uniqueValues The unique values computation configuration. */ override fun uniqueValues(uniqueValues: IResolvable) { cdkBuilder.uniqueValues(uniqueValues.let(IResolvable.Companion::unwrap)) } /** * @param uniqueValues The unique values computation configuration. */ override fun uniqueValues(uniqueValues: UniqueValuesComputationProperty) { cdkBuilder.uniqueValues(uniqueValues.let(UniqueValuesComputationProperty.Companion::unwrap)) } /** * @param uniqueValues The unique values computation configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("640561ff1a5edb9a39855d98e49c123245bc1a5a868b3ae75f1012692cf32af5") override fun uniqueValues(uniqueValues: UniqueValuesComputationProperty.Builder.() -> Unit): Unit = uniqueValues(UniqueValuesComputationProperty(uniqueValues)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ComputationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComputationProperty, ) : CdkObject(cdkObject), ComputationProperty { /** * The forecast computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-forecast) */ override fun forecast(): Any? = unwrap(this).getForecast() /** * The growth rate computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-growthrate) */ override fun growthRate(): Any? = unwrap(this).getGrowthRate() /** * The maximum and minimum computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-maximumminimum) */ override fun maximumMinimum(): Any? = unwrap(this).getMaximumMinimum() /** * The metric comparison computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-metriccomparison) */ override fun metricComparison(): Any? = unwrap(this).getMetricComparison() /** * The period over period computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-periodoverperiod) */ override fun periodOverPeriod(): Any? = unwrap(this).getPeriodOverPeriod() /** * The period to `DataSetIdentifier` computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-periodtodate) */ override fun periodToDate(): Any? = unwrap(this).getPeriodToDate() /** * The top movers and bottom movers computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-topbottommovers) */ override fun topBottomMovers(): Any? = unwrap(this).getTopBottomMovers() /** * The top ranked and bottom ranked computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-topbottomranked) */ override fun topBottomRanked(): Any? = unwrap(this).getTopBottomRanked() /** * The total aggregation computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-totalaggregation) */ override fun totalAggregation(): Any? = unwrap(this).getTotalAggregation() /** * The unique values computation configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-computation.html#cfn-quicksight-dashboard-computation-uniquevalues) */ override fun uniqueValues(): Any? = unwrap(this).getUniqueValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ComputationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ComputationProperty): ComputationProperty = CdkObjectWrappers.wrap(cdkObject) as? ComputationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ComputationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ComputationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ComputationProperty } } /** * The formatting configuration for the color. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ConditionalFormattingColorProperty conditionalFormattingColorProperty = * ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcolor.html) */ public interface ConditionalFormattingColorProperty { /** * Formatting configuration for gradient color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcolor.html#cfn-quicksight-dashboard-conditionalformattingcolor-gradient) */ public fun gradient(): Any? = unwrap(this).getGradient() /** * Formatting configuration for solid color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcolor.html#cfn-quicksight-dashboard-conditionalformattingcolor-solid) */ public fun solid(): Any? = unwrap(this).getSolid() /** * A builder for [ConditionalFormattingColorProperty] */ @CdkDslMarker public interface Builder { /** * @param gradient Formatting configuration for gradient color. */ public fun gradient(gradient: IResolvable) /** * @param gradient Formatting configuration for gradient color. */ public fun gradient(gradient: ConditionalFormattingGradientColorProperty) /** * @param gradient Formatting configuration for gradient color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("89176eaa488e3db193053fd358565bf1cbc80a5ba3a8f54b5a3f3f82b4572899") public fun gradient(gradient: ConditionalFormattingGradientColorProperty.Builder.() -> Unit) /** * @param solid Formatting configuration for solid color. */ public fun solid(solid: IResolvable) /** * @param solid Formatting configuration for solid color. */ public fun solid(solid: ConditionalFormattingSolidColorProperty) /** * @param solid Formatting configuration for solid color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f259a43f5e286e93f3cdf3fd906f5568c6e4b44ec85a30a7e8ebc7608534f837") public fun solid(solid: ConditionalFormattingSolidColorProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingColorProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingColorProperty.builder() /** * @param gradient Formatting configuration for gradient color. */ override fun gradient(gradient: IResolvable) { cdkBuilder.gradient(gradient.let(IResolvable.Companion::unwrap)) } /** * @param gradient Formatting configuration for gradient color. */ override fun gradient(gradient: ConditionalFormattingGradientColorProperty) { cdkBuilder.gradient(gradient.let(ConditionalFormattingGradientColorProperty.Companion::unwrap)) } /** * @param gradient Formatting configuration for gradient color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("89176eaa488e3db193053fd358565bf1cbc80a5ba3a8f54b5a3f3f82b4572899") override fun gradient(gradient: ConditionalFormattingGradientColorProperty.Builder.() -> Unit): Unit = gradient(ConditionalFormattingGradientColorProperty(gradient)) /** * @param solid Formatting configuration for solid color. */ override fun solid(solid: IResolvable) { cdkBuilder.solid(solid.let(IResolvable.Companion::unwrap)) } /** * @param solid Formatting configuration for solid color. */ override fun solid(solid: ConditionalFormattingSolidColorProperty) { cdkBuilder.solid(solid.let(ConditionalFormattingSolidColorProperty.Companion::unwrap)) } /** * @param solid Formatting configuration for solid color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f259a43f5e286e93f3cdf3fd906f5568c6e4b44ec85a30a7e8ebc7608534f837") override fun solid(solid: ConditionalFormattingSolidColorProperty.Builder.() -> Unit): Unit = solid(ConditionalFormattingSolidColorProperty(solid)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingColorProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingColorProperty, ) : CdkObject(cdkObject), ConditionalFormattingColorProperty { /** * Formatting configuration for gradient color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcolor.html#cfn-quicksight-dashboard-conditionalformattingcolor-gradient) */ override fun gradient(): Any? = unwrap(this).getGradient() /** * Formatting configuration for solid color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcolor.html#cfn-quicksight-dashboard-conditionalformattingcolor-solid) */ override fun solid(): Any? = unwrap(this).getSolid() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ConditionalFormattingColorProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingColorProperty): ConditionalFormattingColorProperty = CdkObjectWrappers.wrap(cdkObject) as? ConditionalFormattingColorProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ConditionalFormattingColorProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingColorProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingColorProperty } } /** * Determines the custom condition for an icon set. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ConditionalFormattingCustomIconConditionProperty * conditionalFormattingCustomIconConditionProperty = * ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconcondition.html) */ public interface ConditionalFormattingCustomIconConditionProperty { /** * Determines the color of the icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconcondition.html#cfn-quicksight-dashboard-conditionalformattingcustomiconcondition-color) */ public fun color(): String? = unwrap(this).getColor() /** * Determines the icon display configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconcondition.html#cfn-quicksight-dashboard-conditionalformattingcustomiconcondition-displayconfiguration) */ public fun displayConfiguration(): Any? = unwrap(this).getDisplayConfiguration() /** * The expression that determines the condition of the icon set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconcondition.html#cfn-quicksight-dashboard-conditionalformattingcustomiconcondition-expression) */ public fun expression(): String /** * Custom icon options for an icon set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconcondition.html#cfn-quicksight-dashboard-conditionalformattingcustomiconcondition-iconoptions) */ public fun iconOptions(): Any /** * A builder for [ConditionalFormattingCustomIconConditionProperty] */ @CdkDslMarker public interface Builder { /** * @param color Determines the color of the icon. */ public fun color(color: String) /** * @param displayConfiguration Determines the icon display configuration. */ public fun displayConfiguration(displayConfiguration: IResolvable) /** * @param displayConfiguration Determines the icon display configuration. */ public fun displayConfiguration(displayConfiguration: ConditionalFormattingIconDisplayConfigurationProperty) /** * @param displayConfiguration Determines the icon display configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6d713ab7fdac8ba2225a5987f3241f982d41012893fa7193cd328f6708288cd9") public fun displayConfiguration(displayConfiguration: ConditionalFormattingIconDisplayConfigurationProperty.Builder.() -> Unit) /** * @param expression The expression that determines the condition of the icon set. */ public fun expression(expression: String) /** * @param iconOptions Custom icon options for an icon set. */ public fun iconOptions(iconOptions: IResolvable) /** * @param iconOptions Custom icon options for an icon set. */ public fun iconOptions(iconOptions: ConditionalFormattingCustomIconOptionsProperty) /** * @param iconOptions Custom icon options for an icon set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b761a2ac2b307bee2d5b2c332e4e7a9e294b489c547353665cefdce03f770776") public fun iconOptions(iconOptions: ConditionalFormattingCustomIconOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconConditionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconConditionProperty.builder() /** * @param color Determines the color of the icon. */ override fun color(color: String) { cdkBuilder.color(color) } /** * @param displayConfiguration Determines the icon display configuration. */ override fun displayConfiguration(displayConfiguration: IResolvable) { cdkBuilder.displayConfiguration(displayConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param displayConfiguration Determines the icon display configuration. */ override fun displayConfiguration(displayConfiguration: ConditionalFormattingIconDisplayConfigurationProperty) { cdkBuilder.displayConfiguration(displayConfiguration.let(ConditionalFormattingIconDisplayConfigurationProperty.Companion::unwrap)) } /** * @param displayConfiguration Determines the icon display configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6d713ab7fdac8ba2225a5987f3241f982d41012893fa7193cd328f6708288cd9") override fun displayConfiguration(displayConfiguration: ConditionalFormattingIconDisplayConfigurationProperty.Builder.() -> Unit): Unit = displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty(displayConfiguration)) /** * @param expression The expression that determines the condition of the icon set. */ override fun expression(expression: String) { cdkBuilder.expression(expression) } /** * @param iconOptions Custom icon options for an icon set. */ override fun iconOptions(iconOptions: IResolvable) { cdkBuilder.iconOptions(iconOptions.let(IResolvable.Companion::unwrap)) } /** * @param iconOptions Custom icon options for an icon set. */ override fun iconOptions(iconOptions: ConditionalFormattingCustomIconOptionsProperty) { cdkBuilder.iconOptions(iconOptions.let(ConditionalFormattingCustomIconOptionsProperty.Companion::unwrap)) } /** * @param iconOptions Custom icon options for an icon set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b761a2ac2b307bee2d5b2c332e4e7a9e294b489c547353665cefdce03f770776") override fun iconOptions(iconOptions: ConditionalFormattingCustomIconOptionsProperty.Builder.() -> Unit): Unit = iconOptions(ConditionalFormattingCustomIconOptionsProperty(iconOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconConditionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconConditionProperty, ) : CdkObject(cdkObject), ConditionalFormattingCustomIconConditionProperty { /** * Determines the color of the icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconcondition.html#cfn-quicksight-dashboard-conditionalformattingcustomiconcondition-color) */ override fun color(): String? = unwrap(this).getColor() /** * Determines the icon display configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconcondition.html#cfn-quicksight-dashboard-conditionalformattingcustomiconcondition-displayconfiguration) */ override fun displayConfiguration(): Any? = unwrap(this).getDisplayConfiguration() /** * The expression that determines the condition of the icon set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconcondition.html#cfn-quicksight-dashboard-conditionalformattingcustomiconcondition-expression) */ override fun expression(): String = unwrap(this).getExpression() /** * Custom icon options for an icon set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconcondition.html#cfn-quicksight-dashboard-conditionalformattingcustomiconcondition-iconoptions) */ override fun iconOptions(): Any = unwrap(this).getIconOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ConditionalFormattingCustomIconConditionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconConditionProperty): ConditionalFormattingCustomIconConditionProperty = CdkObjectWrappers.wrap(cdkObject) as? ConditionalFormattingCustomIconConditionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ConditionalFormattingCustomIconConditionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconConditionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconConditionProperty } } /** * Custom icon options for an icon set. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ConditionalFormattingCustomIconOptionsProperty conditionalFormattingCustomIconOptionsProperty = * ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconoptions.html) */ public interface ConditionalFormattingCustomIconOptionsProperty { /** * Determines the type of icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconoptions.html#cfn-quicksight-dashboard-conditionalformattingcustomiconoptions-icon) */ public fun icon(): String? = unwrap(this).getIcon() /** * Determines the Unicode icon type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconoptions.html#cfn-quicksight-dashboard-conditionalformattingcustomiconoptions-unicodeicon) */ public fun unicodeIcon(): String? = unwrap(this).getUnicodeIcon() /** * A builder for [ConditionalFormattingCustomIconOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param icon Determines the type of icon. */ public fun icon(icon: String) /** * @param unicodeIcon Determines the Unicode icon type. */ public fun unicodeIcon(unicodeIcon: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconOptionsProperty.builder() /** * @param icon Determines the type of icon. */ override fun icon(icon: String) { cdkBuilder.icon(icon) } /** * @param unicodeIcon Determines the Unicode icon type. */ override fun unicodeIcon(unicodeIcon: String) { cdkBuilder.unicodeIcon(unicodeIcon) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconOptionsProperty, ) : CdkObject(cdkObject), ConditionalFormattingCustomIconOptionsProperty { /** * Determines the type of icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconoptions.html#cfn-quicksight-dashboard-conditionalformattingcustomiconoptions-icon) */ override fun icon(): String? = unwrap(this).getIcon() /** * Determines the Unicode icon type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingcustomiconoptions.html#cfn-quicksight-dashboard-conditionalformattingcustomiconoptions-unicodeicon) */ override fun unicodeIcon(): String? = unwrap(this).getUnicodeIcon() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ConditionalFormattingCustomIconOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconOptionsProperty): ConditionalFormattingCustomIconOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? ConditionalFormattingCustomIconOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ConditionalFormattingCustomIconOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingCustomIconOptionsProperty } } /** * Formatting configuration for gradient color. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ConditionalFormattingGradientColorProperty conditionalFormattingGradientColorProperty = * ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattinggradientcolor.html) */ public interface ConditionalFormattingGradientColorProperty { /** * Determines the color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattinggradientcolor.html#cfn-quicksight-dashboard-conditionalformattinggradientcolor-color) */ public fun color(): Any /** * The expression that determines the formatting configuration for gradient color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattinggradientcolor.html#cfn-quicksight-dashboard-conditionalformattinggradientcolor-expression) */ public fun expression(): String /** * A builder for [ConditionalFormattingGradientColorProperty] */ @CdkDslMarker public interface Builder { /** * @param color Determines the color. */ public fun color(color: IResolvable) /** * @param color Determines the color. */ public fun color(color: GradientColorProperty) /** * @param color Determines the color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("57b6cfc54c26c00b9217eb93a7ec4437d7c5885559e556ddf589e5344ae0ba01") public fun color(color: GradientColorProperty.Builder.() -> Unit) /** * @param expression The expression that determines the formatting configuration for gradient * color. */ public fun expression(expression: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingGradientColorProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingGradientColorProperty.builder() /** * @param color Determines the color. */ override fun color(color: IResolvable) { cdkBuilder.color(color.let(IResolvable.Companion::unwrap)) } /** * @param color Determines the color. */ override fun color(color: GradientColorProperty) { cdkBuilder.color(color.let(GradientColorProperty.Companion::unwrap)) } /** * @param color Determines the color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("57b6cfc54c26c00b9217eb93a7ec4437d7c5885559e556ddf589e5344ae0ba01") override fun color(color: GradientColorProperty.Builder.() -> Unit): Unit = color(GradientColorProperty(color)) /** * @param expression The expression that determines the formatting configuration for gradient * color. */ override fun expression(expression: String) { cdkBuilder.expression(expression) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingGradientColorProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingGradientColorProperty, ) : CdkObject(cdkObject), ConditionalFormattingGradientColorProperty { /** * Determines the color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattinggradientcolor.html#cfn-quicksight-dashboard-conditionalformattinggradientcolor-color) */ override fun color(): Any = unwrap(this).getColor() /** * The expression that determines the formatting configuration for gradient color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattinggradientcolor.html#cfn-quicksight-dashboard-conditionalformattinggradientcolor-expression) */ override fun expression(): String = unwrap(this).getExpression() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ConditionalFormattingGradientColorProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingGradientColorProperty): ConditionalFormattingGradientColorProperty = CdkObjectWrappers.wrap(cdkObject) as? ConditionalFormattingGradientColorProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ConditionalFormattingGradientColorProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingGradientColorProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingGradientColorProperty } } /** * Determines the icon display configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ConditionalFormattingIconDisplayConfigurationProperty * conditionalFormattingIconDisplayConfigurationProperty = * ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingicondisplayconfiguration.html) */ public interface ConditionalFormattingIconDisplayConfigurationProperty { /** * Determines the icon display configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingicondisplayconfiguration.html#cfn-quicksight-dashboard-conditionalformattingicondisplayconfiguration-icondisplayoption) */ public fun iconDisplayOption(): String? = unwrap(this).getIconDisplayOption() /** * A builder for [ConditionalFormattingIconDisplayConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param iconDisplayOption Determines the icon display configuration. */ public fun iconDisplayOption(iconDisplayOption: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconDisplayConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconDisplayConfigurationProperty.builder() /** * @param iconDisplayOption Determines the icon display configuration. */ override fun iconDisplayOption(iconDisplayOption: String) { cdkBuilder.iconDisplayOption(iconDisplayOption) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconDisplayConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconDisplayConfigurationProperty, ) : CdkObject(cdkObject), ConditionalFormattingIconDisplayConfigurationProperty { /** * Determines the icon display configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingicondisplayconfiguration.html#cfn-quicksight-dashboard-conditionalformattingicondisplayconfiguration-icondisplayoption) */ override fun iconDisplayOption(): String? = unwrap(this).getIconDisplayOption() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ConditionalFormattingIconDisplayConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconDisplayConfigurationProperty): ConditionalFormattingIconDisplayConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ConditionalFormattingIconDisplayConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ConditionalFormattingIconDisplayConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconDisplayConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconDisplayConfigurationProperty } } /** * The formatting configuration for the icon. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ConditionalFormattingIconProperty conditionalFormattingIconProperty = * ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingicon.html) */ public interface ConditionalFormattingIconProperty { /** * Determines the custom condition for an icon set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingicon.html#cfn-quicksight-dashboard-conditionalformattingicon-customcondition) */ public fun customCondition(): Any? = unwrap(this).getCustomCondition() /** * Formatting configuration for icon set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingicon.html#cfn-quicksight-dashboard-conditionalformattingicon-iconset) */ public fun iconSet(): Any? = unwrap(this).getIconSet() /** * A builder for [ConditionalFormattingIconProperty] */ @CdkDslMarker public interface Builder { /** * @param customCondition Determines the custom condition for an icon set. */ public fun customCondition(customCondition: IResolvable) /** * @param customCondition Determines the custom condition for an icon set. */ public fun customCondition(customCondition: ConditionalFormattingCustomIconConditionProperty) /** * @param customCondition Determines the custom condition for an icon set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f2a07233fd7a9ecc585d0d86084900f215d9c37bd3c1ae4de0a875c73b8a8dfe") public fun customCondition(customCondition: ConditionalFormattingCustomIconConditionProperty.Builder.() -> Unit) /** * @param iconSet Formatting configuration for icon set. */ public fun iconSet(iconSet: IResolvable) /** * @param iconSet Formatting configuration for icon set. */ public fun iconSet(iconSet: ConditionalFormattingIconSetProperty) /** * @param iconSet Formatting configuration for icon set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f14f7ba5f9bef6cd5f5f90b894d2656b0ac39fca07ffe6de414409638df0e21e") public fun iconSet(iconSet: ConditionalFormattingIconSetProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconProperty.builder() /** * @param customCondition Determines the custom condition for an icon set. */ override fun customCondition(customCondition: IResolvable) { cdkBuilder.customCondition(customCondition.let(IResolvable.Companion::unwrap)) } /** * @param customCondition Determines the custom condition for an icon set. */ override fun customCondition(customCondition: ConditionalFormattingCustomIconConditionProperty) { cdkBuilder.customCondition(customCondition.let(ConditionalFormattingCustomIconConditionProperty.Companion::unwrap)) } /** * @param customCondition Determines the custom condition for an icon set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f2a07233fd7a9ecc585d0d86084900f215d9c37bd3c1ae4de0a875c73b8a8dfe") override fun customCondition(customCondition: ConditionalFormattingCustomIconConditionProperty.Builder.() -> Unit): Unit = customCondition(ConditionalFormattingCustomIconConditionProperty(customCondition)) /** * @param iconSet Formatting configuration for icon set. */ override fun iconSet(iconSet: IResolvable) { cdkBuilder.iconSet(iconSet.let(IResolvable.Companion::unwrap)) } /** * @param iconSet Formatting configuration for icon set. */ override fun iconSet(iconSet: ConditionalFormattingIconSetProperty) { cdkBuilder.iconSet(iconSet.let(ConditionalFormattingIconSetProperty.Companion::unwrap)) } /** * @param iconSet Formatting configuration for icon set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f14f7ba5f9bef6cd5f5f90b894d2656b0ac39fca07ffe6de414409638df0e21e") override fun iconSet(iconSet: ConditionalFormattingIconSetProperty.Builder.() -> Unit): Unit = iconSet(ConditionalFormattingIconSetProperty(iconSet)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconProperty, ) : CdkObject(cdkObject), ConditionalFormattingIconProperty { /** * Determines the custom condition for an icon set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingicon.html#cfn-quicksight-dashboard-conditionalformattingicon-customcondition) */ override fun customCondition(): Any? = unwrap(this).getCustomCondition() /** * Formatting configuration for icon set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingicon.html#cfn-quicksight-dashboard-conditionalformattingicon-iconset) */ override fun iconSet(): Any? = unwrap(this).getIconSet() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ConditionalFormattingIconProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconProperty): ConditionalFormattingIconProperty = CdkObjectWrappers.wrap(cdkObject) as? ConditionalFormattingIconProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ConditionalFormattingIconProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconProperty } } /** * Formatting configuration for icon set. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ConditionalFormattingIconSetProperty conditionalFormattingIconSetProperty = * ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingiconset.html) */ public interface ConditionalFormattingIconSetProperty { /** * The expression that determines the formatting configuration for the icon set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingiconset.html#cfn-quicksight-dashboard-conditionalformattingiconset-expression) */ public fun expression(): String /** * Determines the icon set type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingiconset.html#cfn-quicksight-dashboard-conditionalformattingiconset-iconsettype) */ public fun iconSetType(): String? = unwrap(this).getIconSetType() /** * A builder for [ConditionalFormattingIconSetProperty] */ @CdkDslMarker public interface Builder { /** * @param expression The expression that determines the formatting configuration for the icon * set. */ public fun expression(expression: String) /** * @param iconSetType Determines the icon set type. */ public fun iconSetType(iconSetType: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconSetProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconSetProperty.builder() /** * @param expression The expression that determines the formatting configuration for the icon * set. */ override fun expression(expression: String) { cdkBuilder.expression(expression) } /** * @param iconSetType Determines the icon set type. */ override fun iconSetType(iconSetType: String) { cdkBuilder.iconSetType(iconSetType) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconSetProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconSetProperty, ) : CdkObject(cdkObject), ConditionalFormattingIconSetProperty { /** * The expression that determines the formatting configuration for the icon set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingiconset.html#cfn-quicksight-dashboard-conditionalformattingiconset-expression) */ override fun expression(): String = unwrap(this).getExpression() /** * Determines the icon set type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingiconset.html#cfn-quicksight-dashboard-conditionalformattingiconset-iconsettype) */ override fun iconSetType(): String? = unwrap(this).getIconSetType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ConditionalFormattingIconSetProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconSetProperty): ConditionalFormattingIconSetProperty = CdkObjectWrappers.wrap(cdkObject) as? ConditionalFormattingIconSetProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ConditionalFormattingIconSetProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconSetProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingIconSetProperty } } /** * Formatting configuration for solid color. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ConditionalFormattingSolidColorProperty conditionalFormattingSolidColorProperty = * ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingsolidcolor.html) */ public interface ConditionalFormattingSolidColorProperty { /** * Determines the color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingsolidcolor.html#cfn-quicksight-dashboard-conditionalformattingsolidcolor-color) */ public fun color(): String? = unwrap(this).getColor() /** * The expression that determines the formatting configuration for solid color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingsolidcolor.html#cfn-quicksight-dashboard-conditionalformattingsolidcolor-expression) */ public fun expression(): String /** * A builder for [ConditionalFormattingSolidColorProperty] */ @CdkDslMarker public interface Builder { /** * @param color Determines the color. */ public fun color(color: String) /** * @param expression The expression that determines the formatting configuration for solid * color. */ public fun expression(expression: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingSolidColorProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingSolidColorProperty.builder() /** * @param color Determines the color. */ override fun color(color: String) { cdkBuilder.color(color) } /** * @param expression The expression that determines the formatting configuration for solid * color. */ override fun expression(expression: String) { cdkBuilder.expression(expression) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingSolidColorProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingSolidColorProperty, ) : CdkObject(cdkObject), ConditionalFormattingSolidColorProperty { /** * Determines the color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingsolidcolor.html#cfn-quicksight-dashboard-conditionalformattingsolidcolor-color) */ override fun color(): String? = unwrap(this).getColor() /** * The expression that determines the formatting configuration for solid color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-conditionalformattingsolidcolor.html#cfn-quicksight-dashboard-conditionalformattingsolidcolor-expression) */ override fun expression(): String = unwrap(this).getExpression() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ConditionalFormattingSolidColorProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingSolidColorProperty): ConditionalFormattingSolidColorProperty = CdkObjectWrappers.wrap(cdkObject) as? ConditionalFormattingSolidColorProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ConditionalFormattingSolidColorProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingSolidColorProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ConditionalFormattingSolidColorProperty } } /** * The contribution analysis visual display for a line, pie, or bar chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ContributionAnalysisDefaultProperty contributionAnalysisDefaultProperty = * ContributionAnalysisDefaultProperty.builder() * .contributorDimensions(List.of(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build())) * .measureFieldId("measureFieldId") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-contributionanalysisdefault.html) */ public interface ContributionAnalysisDefaultProperty { /** * The dimensions columns that are used in the contribution analysis, usually a list of * `ColumnIdentifiers` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-contributionanalysisdefault.html#cfn-quicksight-dashboard-contributionanalysisdefault-contributordimensions) */ public fun contributorDimensions(): Any /** * The measure field that is used in the contribution analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-contributionanalysisdefault.html#cfn-quicksight-dashboard-contributionanalysisdefault-measurefieldid) */ public fun measureFieldId(): String /** * A builder for [ContributionAnalysisDefaultProperty] */ @CdkDslMarker public interface Builder { /** * @param contributorDimensions The dimensions columns that are used in the contribution * analysis, usually a list of `ColumnIdentifiers` . */ public fun contributorDimensions(contributorDimensions: IResolvable) /** * @param contributorDimensions The dimensions columns that are used in the contribution * analysis, usually a list of `ColumnIdentifiers` . */ public fun contributorDimensions(contributorDimensions: List) /** * @param contributorDimensions The dimensions columns that are used in the contribution * analysis, usually a list of `ColumnIdentifiers` . */ public fun contributorDimensions(vararg contributorDimensions: Any) /** * @param measureFieldId The measure field that is used in the contribution analysis. */ public fun measureFieldId(measureFieldId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ContributionAnalysisDefaultProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ContributionAnalysisDefaultProperty.builder() /** * @param contributorDimensions The dimensions columns that are used in the contribution * analysis, usually a list of `ColumnIdentifiers` . */ override fun contributorDimensions(contributorDimensions: IResolvable) { cdkBuilder.contributorDimensions(contributorDimensions.let(IResolvable.Companion::unwrap)) } /** * @param contributorDimensions The dimensions columns that are used in the contribution * analysis, usually a list of `ColumnIdentifiers` . */ override fun contributorDimensions(contributorDimensions: List) { cdkBuilder.contributorDimensions(contributorDimensions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param contributorDimensions The dimensions columns that are used in the contribution * analysis, usually a list of `ColumnIdentifiers` . */ override fun contributorDimensions(vararg contributorDimensions: Any): Unit = contributorDimensions(contributorDimensions.toList()) /** * @param measureFieldId The measure field that is used in the contribution analysis. */ override fun measureFieldId(measureFieldId: String) { cdkBuilder.measureFieldId(measureFieldId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ContributionAnalysisDefaultProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ContributionAnalysisDefaultProperty, ) : CdkObject(cdkObject), ContributionAnalysisDefaultProperty { /** * The dimensions columns that are used in the contribution analysis, usually a list of * `ColumnIdentifiers` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-contributionanalysisdefault.html#cfn-quicksight-dashboard-contributionanalysisdefault-contributordimensions) */ override fun contributorDimensions(): Any = unwrap(this).getContributorDimensions() /** * The measure field that is used in the contribution analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-contributionanalysisdefault.html#cfn-quicksight-dashboard-contributionanalysisdefault-measurefieldid) */ override fun measureFieldId(): String = unwrap(this).getMeasureFieldId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ContributionAnalysisDefaultProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ContributionAnalysisDefaultProperty): ContributionAnalysisDefaultProperty = CdkObjectWrappers.wrap(cdkObject) as? ContributionAnalysisDefaultProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ContributionAnalysisDefaultProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ContributionAnalysisDefaultProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ContributionAnalysisDefaultProperty } } /** * The options that determine the currency display format configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CurrencyDisplayFormatConfigurationProperty currencyDisplayFormatConfigurationProperty = * CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html) */ public interface CurrencyDisplayFormatConfigurationProperty { /** * The option that determines the decimal places configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-decimalplacesconfiguration) */ public fun decimalPlacesConfiguration(): Any? = unwrap(this).getDecimalPlacesConfiguration() /** * The options that determine the negative value configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-negativevalueconfiguration) */ public fun negativeValueConfiguration(): Any? = unwrap(this).getNegativeValueConfiguration() /** * The options that determine the null value format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-nullvalueformatconfiguration) */ public fun nullValueFormatConfiguration(): Any? = unwrap(this).getNullValueFormatConfiguration() /** * Determines the number scale value for the currency format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-numberscale) */ public fun numberScale(): String? = unwrap(this).getNumberScale() /** * Determines the prefix value of the currency format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-prefix) */ public fun prefix(): String? = unwrap(this).getPrefix() /** * The options that determine the numeric separator configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-separatorconfiguration) */ public fun separatorConfiguration(): Any? = unwrap(this).getSeparatorConfiguration() /** * Determines the suffix value of the currency format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-suffix) */ public fun suffix(): String? = unwrap(this).getSuffix() /** * Determines the symbol for the currency format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-symbol) */ public fun symbol(): String? = unwrap(this).getSymbol() /** * A builder for [CurrencyDisplayFormatConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ public fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ public fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cbf38c8dff4f1f44e2a3d8b15f9df64f1b4a6b8b13a2bad67a3327744e0503f3") public fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty.Builder.() -> Unit) /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ public fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ public fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6c241ed1809e5abb0bc343168681a4d48dd43bf2acbe68bce31901e983fd0817") public fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty.Builder.() -> Unit) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ public fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ public fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d8318106637a570ae48d04c5d6d85ca984ab48ebb4a2f0fdac508ad88aae93d1") public fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty.Builder.() -> Unit) /** * @param numberScale Determines the number scale value for the currency format. */ public fun numberScale(numberScale: String) /** * @param prefix Determines the prefix value of the currency format. */ public fun prefix(prefix: String) /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ public fun separatorConfiguration(separatorConfiguration: IResolvable) /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ public fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bb8ad4566242af83aa2d0a0914e8648b0e29b84368e959cf528a90de10d2858b") public fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty.Builder.() -> Unit) /** * @param suffix Determines the suffix value of the currency format. */ public fun suffix(suffix: String) /** * @param symbol Determines the symbol for the currency format. */ public fun symbol(symbol: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CurrencyDisplayFormatConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CurrencyDisplayFormatConfigurationProperty.builder() /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) { cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) { cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty.Companion::unwrap)) } /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cbf38c8dff4f1f44e2a3d8b15f9df64f1b4a6b8b13a2bad67a3327744e0503f3") override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty.Builder.() -> Unit): Unit = decimalPlacesConfiguration(DecimalPlacesConfigurationProperty(decimalPlacesConfiguration)) /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) { cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) { cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty.Companion::unwrap)) } /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6c241ed1809e5abb0bc343168681a4d48dd43bf2acbe68bce31901e983fd0817") override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty.Builder.() -> Unit): Unit = negativeValueConfiguration(NegativeValueConfigurationProperty(negativeValueConfiguration)) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d8318106637a570ae48d04c5d6d85ca984ab48ebb4a2f0fdac508ad88aae93d1") override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty.Builder.() -> Unit): Unit = nullValueFormatConfiguration(NullValueFormatConfigurationProperty(nullValueFormatConfiguration)) /** * @param numberScale Determines the number scale value for the currency format. */ override fun numberScale(numberScale: String) { cdkBuilder.numberScale(numberScale) } /** * @param prefix Determines the prefix value of the currency format. */ override fun prefix(prefix: String) { cdkBuilder.prefix(prefix) } /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ override fun separatorConfiguration(separatorConfiguration: IResolvable) { cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) { cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty.Companion::unwrap)) } /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bb8ad4566242af83aa2d0a0914e8648b0e29b84368e959cf528a90de10d2858b") override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty.Builder.() -> Unit): Unit = separatorConfiguration(NumericSeparatorConfigurationProperty(separatorConfiguration)) /** * @param suffix Determines the suffix value of the currency format. */ override fun suffix(suffix: String) { cdkBuilder.suffix(suffix) } /** * @param symbol Determines the symbol for the currency format. */ override fun symbol(symbol: String) { cdkBuilder.symbol(symbol) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CurrencyDisplayFormatConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CurrencyDisplayFormatConfigurationProperty, ) : CdkObject(cdkObject), CurrencyDisplayFormatConfigurationProperty { /** * The option that determines the decimal places configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-decimalplacesconfiguration) */ override fun decimalPlacesConfiguration(): Any? = unwrap(this).getDecimalPlacesConfiguration() /** * The options that determine the negative value configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-negativevalueconfiguration) */ override fun negativeValueConfiguration(): Any? = unwrap(this).getNegativeValueConfiguration() /** * The options that determine the null value format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-nullvalueformatconfiguration) */ override fun nullValueFormatConfiguration(): Any? = unwrap(this).getNullValueFormatConfiguration() /** * Determines the number scale value for the currency format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-numberscale) */ override fun numberScale(): String? = unwrap(this).getNumberScale() /** * Determines the prefix value of the currency format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-prefix) */ override fun prefix(): String? = unwrap(this).getPrefix() /** * The options that determine the numeric separator configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-separatorconfiguration) */ override fun separatorConfiguration(): Any? = unwrap(this).getSeparatorConfiguration() /** * Determines the suffix value of the currency format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-suffix) */ override fun suffix(): String? = unwrap(this).getSuffix() /** * Determines the symbol for the currency format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-currencydisplayformatconfiguration.html#cfn-quicksight-dashboard-currencydisplayformatconfiguration-symbol) */ override fun symbol(): String? = unwrap(this).getSymbol() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CurrencyDisplayFormatConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CurrencyDisplayFormatConfigurationProperty): CurrencyDisplayFormatConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? CurrencyDisplayFormatConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CurrencyDisplayFormatConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CurrencyDisplayFormatConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CurrencyDisplayFormatConfigurationProperty } } /** * The filter operation that filters data included in a visual or in an entire sheet. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CustomActionFilterOperationProperty customActionFilterOperationProperty = * CustomActionFilterOperationProperty.builder() * .selectedFieldsConfiguration(FilterOperationSelectedFieldsConfigurationProperty.builder() * .selectedColumns(List.of(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build())) * .selectedFieldOptions("selectedFieldOptions") * .selectedFields(List.of("selectedFields")) * .build()) * .targetVisualsConfiguration(FilterOperationTargetVisualsConfigurationProperty.builder() * .sameSheetTargetVisualConfiguration(SameSheetTargetVisualConfigurationProperty.builder() * .targetVisualOptions("targetVisualOptions") * .targetVisuals(List.of("targetVisuals")) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionfilteroperation.html) */ public interface CustomActionFilterOperationProperty { /** * The configuration that chooses the fields to be filtered. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionfilteroperation.html#cfn-quicksight-dashboard-customactionfilteroperation-selectedfieldsconfiguration) */ public fun selectedFieldsConfiguration(): Any /** * The configuration that chooses the target visuals to be filtered. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionfilteroperation.html#cfn-quicksight-dashboard-customactionfilteroperation-targetvisualsconfiguration) */ public fun targetVisualsConfiguration(): Any /** * A builder for [CustomActionFilterOperationProperty] */ @CdkDslMarker public interface Builder { /** * @param selectedFieldsConfiguration The configuration that chooses the fields to be * filtered. */ public fun selectedFieldsConfiguration(selectedFieldsConfiguration: IResolvable) /** * @param selectedFieldsConfiguration The configuration that chooses the fields to be * filtered. */ public fun selectedFieldsConfiguration(selectedFieldsConfiguration: FilterOperationSelectedFieldsConfigurationProperty) /** * @param selectedFieldsConfiguration The configuration that chooses the fields to be * filtered. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a8edc19ed95ea6aaae060220181bd2988639f5ce0a6f0a85e2e4af0ab865ce46") public fun selectedFieldsConfiguration(selectedFieldsConfiguration: FilterOperationSelectedFieldsConfigurationProperty.Builder.() -> Unit) /** * @param targetVisualsConfiguration The configuration that chooses the target visuals to be * filtered. */ public fun targetVisualsConfiguration(targetVisualsConfiguration: IResolvable) /** * @param targetVisualsConfiguration The configuration that chooses the target visuals to be * filtered. */ public fun targetVisualsConfiguration(targetVisualsConfiguration: FilterOperationTargetVisualsConfigurationProperty) /** * @param targetVisualsConfiguration The configuration that chooses the target visuals to be * filtered. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fbcb31ec1b4cf69ad01b47c5ace0bff90842b50a402d1e1b51c4c40308c6f9e1") public fun targetVisualsConfiguration(targetVisualsConfiguration: FilterOperationTargetVisualsConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionFilterOperationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionFilterOperationProperty.builder() /** * @param selectedFieldsConfiguration The configuration that chooses the fields to be * filtered. */ override fun selectedFieldsConfiguration(selectedFieldsConfiguration: IResolvable) { cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param selectedFieldsConfiguration The configuration that chooses the fields to be * filtered. */ override fun selectedFieldsConfiguration(selectedFieldsConfiguration: FilterOperationSelectedFieldsConfigurationProperty) { cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(FilterOperationSelectedFieldsConfigurationProperty.Companion::unwrap)) } /** * @param selectedFieldsConfiguration The configuration that chooses the fields to be * filtered. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a8edc19ed95ea6aaae060220181bd2988639f5ce0a6f0a85e2e4af0ab865ce46") override fun selectedFieldsConfiguration(selectedFieldsConfiguration: FilterOperationSelectedFieldsConfigurationProperty.Builder.() -> Unit): Unit = selectedFieldsConfiguration(FilterOperationSelectedFieldsConfigurationProperty(selectedFieldsConfiguration)) /** * @param targetVisualsConfiguration The configuration that chooses the target visuals to be * filtered. */ override fun targetVisualsConfiguration(targetVisualsConfiguration: IResolvable) { cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param targetVisualsConfiguration The configuration that chooses the target visuals to be * filtered. */ override fun targetVisualsConfiguration(targetVisualsConfiguration: FilterOperationTargetVisualsConfigurationProperty) { cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(FilterOperationTargetVisualsConfigurationProperty.Companion::unwrap)) } /** * @param targetVisualsConfiguration The configuration that chooses the target visuals to be * filtered. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fbcb31ec1b4cf69ad01b47c5ace0bff90842b50a402d1e1b51c4c40308c6f9e1") override fun targetVisualsConfiguration(targetVisualsConfiguration: FilterOperationTargetVisualsConfigurationProperty.Builder.() -> Unit): Unit = targetVisualsConfiguration(FilterOperationTargetVisualsConfigurationProperty(targetVisualsConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionFilterOperationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionFilterOperationProperty, ) : CdkObject(cdkObject), CustomActionFilterOperationProperty { /** * The configuration that chooses the fields to be filtered. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionfilteroperation.html#cfn-quicksight-dashboard-customactionfilteroperation-selectedfieldsconfiguration) */ override fun selectedFieldsConfiguration(): Any = unwrap(this).getSelectedFieldsConfiguration() /** * The configuration that chooses the target visuals to be filtered. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionfilteroperation.html#cfn-quicksight-dashboard-customactionfilteroperation-targetvisualsconfiguration) */ override fun targetVisualsConfiguration(): Any = unwrap(this).getTargetVisualsConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CustomActionFilterOperationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionFilterOperationProperty): CustomActionFilterOperationProperty = CdkObjectWrappers.wrap(cdkObject) as? CustomActionFilterOperationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CustomActionFilterOperationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionFilterOperationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionFilterOperationProperty } } /** * The navigation operation that navigates between different sheets in the same analysis. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CustomActionNavigationOperationProperty customActionNavigationOperationProperty = * CustomActionNavigationOperationProperty.builder() * .localNavigationConfiguration(LocalNavigationConfigurationProperty.builder() * .targetSheetId("targetSheetId") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionnavigationoperation.html) */ public interface CustomActionNavigationOperationProperty { /** * The configuration that chooses the navigation target. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionnavigationoperation.html#cfn-quicksight-dashboard-customactionnavigationoperation-localnavigationconfiguration) */ public fun localNavigationConfiguration(): Any? = unwrap(this).getLocalNavigationConfiguration() /** * A builder for [CustomActionNavigationOperationProperty] */ @CdkDslMarker public interface Builder { /** * @param localNavigationConfiguration The configuration that chooses the navigation target. */ public fun localNavigationConfiguration(localNavigationConfiguration: IResolvable) /** * @param localNavigationConfiguration The configuration that chooses the navigation target. */ public fun localNavigationConfiguration(localNavigationConfiguration: LocalNavigationConfigurationProperty) /** * @param localNavigationConfiguration The configuration that chooses the navigation target. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ade0ddab92fdbee985eb235795f7536eccd9962b89d80b5e2cf8e91042239e2d") public fun localNavigationConfiguration(localNavigationConfiguration: LocalNavigationConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionNavigationOperationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionNavigationOperationProperty.builder() /** * @param localNavigationConfiguration The configuration that chooses the navigation target. */ override fun localNavigationConfiguration(localNavigationConfiguration: IResolvable) { cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param localNavigationConfiguration The configuration that chooses the navigation target. */ override fun localNavigationConfiguration(localNavigationConfiguration: LocalNavigationConfigurationProperty) { cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(LocalNavigationConfigurationProperty.Companion::unwrap)) } /** * @param localNavigationConfiguration The configuration that chooses the navigation target. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ade0ddab92fdbee985eb235795f7536eccd9962b89d80b5e2cf8e91042239e2d") override fun localNavigationConfiguration(localNavigationConfiguration: LocalNavigationConfigurationProperty.Builder.() -> Unit): Unit = localNavigationConfiguration(LocalNavigationConfigurationProperty(localNavigationConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionNavigationOperationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionNavigationOperationProperty, ) : CdkObject(cdkObject), CustomActionNavigationOperationProperty { /** * The configuration that chooses the navigation target. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionnavigationoperation.html#cfn-quicksight-dashboard-customactionnavigationoperation-localnavigationconfiguration) */ override fun localNavigationConfiguration(): Any? = unwrap(this).getLocalNavigationConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CustomActionNavigationOperationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionNavigationOperationProperty): CustomActionNavigationOperationProperty = CdkObjectWrappers.wrap(cdkObject) as? CustomActionNavigationOperationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CustomActionNavigationOperationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionNavigationOperationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionNavigationOperationProperty } } /** * The set parameter operation that sets parameters in custom action. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CustomActionSetParametersOperationProperty customActionSetParametersOperationProperty = * CustomActionSetParametersOperationProperty.builder() * .parameterValueConfigurations(List.of(SetParameterValueConfigurationProperty.builder() * .destinationParameterName("destinationParameterName") * .value(DestinationParameterValueConfigurationProperty.builder() * .customValuesConfiguration(CustomValuesConfigurationProperty.builder() * .customValues(CustomParameterValuesProperty.builder() * .dateTimeValues(List.of("dateTimeValues")) * .decimalValues(List.of(123)) * .integerValues(List.of(123)) * .stringValues(List.of("stringValues")) * .build()) * // the properties below are optional * .includeNullValue(false) * .build()) * .selectAllValueOptions("selectAllValueOptions") * .sourceColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceField("sourceField") * .sourceParameterName("sourceParameterName") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionsetparametersoperation.html) */ public interface CustomActionSetParametersOperationProperty { /** * The parameter that determines the value configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionsetparametersoperation.html#cfn-quicksight-dashboard-customactionsetparametersoperation-parametervalueconfigurations) */ public fun parameterValueConfigurations(): Any /** * A builder for [CustomActionSetParametersOperationProperty] */ @CdkDslMarker public interface Builder { /** * @param parameterValueConfigurations The parameter that determines the value configuration. */ public fun parameterValueConfigurations(parameterValueConfigurations: IResolvable) /** * @param parameterValueConfigurations The parameter that determines the value configuration. */ public fun parameterValueConfigurations(parameterValueConfigurations: List) /** * @param parameterValueConfigurations The parameter that determines the value configuration. */ public fun parameterValueConfigurations(vararg parameterValueConfigurations: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionSetParametersOperationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionSetParametersOperationProperty.builder() /** * @param parameterValueConfigurations The parameter that determines the value configuration. */ override fun parameterValueConfigurations(parameterValueConfigurations: IResolvable) { cdkBuilder.parameterValueConfigurations(parameterValueConfigurations.let(IResolvable.Companion::unwrap)) } /** * @param parameterValueConfigurations The parameter that determines the value configuration. */ override fun parameterValueConfigurations(parameterValueConfigurations: List) { cdkBuilder.parameterValueConfigurations(parameterValueConfigurations.map{CdkObjectWrappers.unwrap(it)}) } /** * @param parameterValueConfigurations The parameter that determines the value configuration. */ override fun parameterValueConfigurations(vararg parameterValueConfigurations: Any): Unit = parameterValueConfigurations(parameterValueConfigurations.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionSetParametersOperationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionSetParametersOperationProperty, ) : CdkObject(cdkObject), CustomActionSetParametersOperationProperty { /** * The parameter that determines the value configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionsetparametersoperation.html#cfn-quicksight-dashboard-customactionsetparametersoperation-parametervalueconfigurations) */ override fun parameterValueConfigurations(): Any = unwrap(this).getParameterValueConfigurations() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CustomActionSetParametersOperationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionSetParametersOperationProperty): CustomActionSetParametersOperationProperty = CdkObjectWrappers.wrap(cdkObject) as? CustomActionSetParametersOperationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CustomActionSetParametersOperationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionSetParametersOperationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionSetParametersOperationProperty } } /** * The URL operation that opens a link to another webpage. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CustomActionURLOperationProperty customActionURLOperationProperty = * CustomActionURLOperationProperty.builder() * .urlTarget("urlTarget") * .urlTemplate("urlTemplate") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionurloperation.html) */ public interface CustomActionURLOperationProperty { /** * The target of the `CustomActionURLOperation` . * * Valid values are defined as follows: * * * `NEW_TAB` : Opens the target URL in a new browser tab. * * `NEW_WINDOW` : Opens the target URL in a new browser window. * * `SAME_TAB` : Opens the target URL in the same browser tab. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionurloperation.html#cfn-quicksight-dashboard-customactionurloperation-urltarget) */ public fun urlTarget(): String /** * THe URL link of the `CustomActionURLOperation` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionurloperation.html#cfn-quicksight-dashboard-customactionurloperation-urltemplate) */ public fun urlTemplate(): String /** * A builder for [CustomActionURLOperationProperty] */ @CdkDslMarker public interface Builder { /** * @param urlTarget The target of the `CustomActionURLOperation` . * Valid values are defined as follows: * * * `NEW_TAB` : Opens the target URL in a new browser tab. * * `NEW_WINDOW` : Opens the target URL in a new browser window. * * `SAME_TAB` : Opens the target URL in the same browser tab. */ public fun urlTarget(urlTarget: String) /** * @param urlTemplate THe URL link of the `CustomActionURLOperation` . */ public fun urlTemplate(urlTemplate: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionURLOperationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionURLOperationProperty.builder() /** * @param urlTarget The target of the `CustomActionURLOperation` . * Valid values are defined as follows: * * * `NEW_TAB` : Opens the target URL in a new browser tab. * * `NEW_WINDOW` : Opens the target URL in a new browser window. * * `SAME_TAB` : Opens the target URL in the same browser tab. */ override fun urlTarget(urlTarget: String) { cdkBuilder.urlTarget(urlTarget) } /** * @param urlTemplate THe URL link of the `CustomActionURLOperation` . */ override fun urlTemplate(urlTemplate: String) { cdkBuilder.urlTemplate(urlTemplate) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionURLOperationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionURLOperationProperty, ) : CdkObject(cdkObject), CustomActionURLOperationProperty { /** * The target of the `CustomActionURLOperation` . * * Valid values are defined as follows: * * * `NEW_TAB` : Opens the target URL in a new browser tab. * * `NEW_WINDOW` : Opens the target URL in a new browser window. * * `SAME_TAB` : Opens the target URL in the same browser tab. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionurloperation.html#cfn-quicksight-dashboard-customactionurloperation-urltarget) */ override fun urlTarget(): String = unwrap(this).getUrlTarget() /** * THe URL link of the `CustomActionURLOperation` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customactionurloperation.html#cfn-quicksight-dashboard-customactionurloperation-urltemplate) */ override fun urlTemplate(): String = unwrap(this).getUrlTemplate() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CustomActionURLOperationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionURLOperationProperty): CustomActionURLOperationProperty = CdkObjectWrappers.wrap(cdkObject) as? CustomActionURLOperationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CustomActionURLOperationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionURLOperationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionURLOperationProperty } } /** * Determines the color that's applied to a particular data value in a column. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CustomColorProperty customColorProperty = CustomColorProperty.builder() * .color("color") * // the properties below are optional * .fieldValue("fieldValue") * .specialValue("specialValue") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcolor.html) */ public interface CustomColorProperty { /** * The color that is applied to the data value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcolor.html#cfn-quicksight-dashboard-customcolor-color) */ public fun color(): String /** * The data value that the color is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcolor.html#cfn-quicksight-dashboard-customcolor-fieldvalue) */ public fun fieldValue(): String? = unwrap(this).getFieldValue() /** * The value of a special data value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcolor.html#cfn-quicksight-dashboard-customcolor-specialvalue) */ public fun specialValue(): String? = unwrap(this).getSpecialValue() /** * A builder for [CustomColorProperty] */ @CdkDslMarker public interface Builder { /** * @param color The color that is applied to the data value. */ public fun color(color: String) /** * @param fieldValue The data value that the color is applied to. */ public fun fieldValue(fieldValue: String) /** * @param specialValue The value of a special data value. */ public fun specialValue(specialValue: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomColorProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CustomColorProperty.builder() /** * @param color The color that is applied to the data value. */ override fun color(color: String) { cdkBuilder.color(color) } /** * @param fieldValue The data value that the color is applied to. */ override fun fieldValue(fieldValue: String) { cdkBuilder.fieldValue(fieldValue) } /** * @param specialValue The value of a special data value. */ override fun specialValue(specialValue: String) { cdkBuilder.specialValue(specialValue) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomColorProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomColorProperty, ) : CdkObject(cdkObject), CustomColorProperty { /** * The color that is applied to the data value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcolor.html#cfn-quicksight-dashboard-customcolor-color) */ override fun color(): String = unwrap(this).getColor() /** * The data value that the color is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcolor.html#cfn-quicksight-dashboard-customcolor-fieldvalue) */ override fun fieldValue(): String? = unwrap(this).getFieldValue() /** * The value of a special data value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcolor.html#cfn-quicksight-dashboard-customcolor-specialvalue) */ override fun specialValue(): String? = unwrap(this).getSpecialValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CustomColorProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomColorProperty): CustomColorProperty = CdkObjectWrappers.wrap(cdkObject) as? CustomColorProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CustomColorProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomColorProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CustomColorProperty } } /** * The configuration of a `CustomContentVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CustomContentConfigurationProperty customContentConfigurationProperty = * CustomContentConfigurationProperty.builder() * .contentType("contentType") * .contentUrl("contentUrl") * .imageScaling("imageScaling") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentconfiguration.html) */ public interface CustomContentConfigurationProperty { /** * The content type of the custom content visual. * * You can use this to have the visual render as an image. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentconfiguration.html#cfn-quicksight-dashboard-customcontentconfiguration-contenttype) */ public fun contentType(): String? = unwrap(this).getContentType() /** * The input URL that links to the custom content that you want in the custom visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentconfiguration.html#cfn-quicksight-dashboard-customcontentconfiguration-contenturl) */ public fun contentUrl(): String? = unwrap(this).getContentUrl() /** * The sizing options for the size of the custom content visual. * * This structure is required when the `ContentType` of the visual is `'IMAGE'` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentconfiguration.html#cfn-quicksight-dashboard-customcontentconfiguration-imagescaling) */ public fun imageScaling(): String? = unwrap(this).getImageScaling() /** * A builder for [CustomContentConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param contentType The content type of the custom content visual. * You can use this to have the visual render as an image. */ public fun contentType(contentType: String) /** * @param contentUrl The input URL that links to the custom content that you want in the * custom visual. */ public fun contentUrl(contentUrl: String) /** * @param imageScaling The sizing options for the size of the custom content visual. * This structure is required when the `ContentType` of the visual is `'IMAGE'` . */ public fun imageScaling(imageScaling: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentConfigurationProperty.builder() /** * @param contentType The content type of the custom content visual. * You can use this to have the visual render as an image. */ override fun contentType(contentType: String) { cdkBuilder.contentType(contentType) } /** * @param contentUrl The input URL that links to the custom content that you want in the * custom visual. */ override fun contentUrl(contentUrl: String) { cdkBuilder.contentUrl(contentUrl) } /** * @param imageScaling The sizing options for the size of the custom content visual. * This structure is required when the `ContentType` of the visual is `'IMAGE'` . */ override fun imageScaling(imageScaling: String) { cdkBuilder.imageScaling(imageScaling) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentConfigurationProperty, ) : CdkObject(cdkObject), CustomContentConfigurationProperty { /** * The content type of the custom content visual. * * You can use this to have the visual render as an image. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentconfiguration.html#cfn-quicksight-dashboard-customcontentconfiguration-contenttype) */ override fun contentType(): String? = unwrap(this).getContentType() /** * The input URL that links to the custom content that you want in the custom visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentconfiguration.html#cfn-quicksight-dashboard-customcontentconfiguration-contenturl) */ override fun contentUrl(): String? = unwrap(this).getContentUrl() /** * The sizing options for the size of the custom content visual. * * This structure is required when the `ContentType` of the visual is `'IMAGE'` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentconfiguration.html#cfn-quicksight-dashboard-customcontentconfiguration-imagescaling) */ override fun imageScaling(): String? = unwrap(this).getImageScaling() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CustomContentConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentConfigurationProperty): CustomContentConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? CustomContentConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CustomContentConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentConfigurationProperty } } /** * A visual that contains custom content. * * For more information, see [Using custom visual * content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the * *Amazon QuickSight User Guide* . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CustomContentVisualProperty customContentVisualProperty = CustomContentVisualProperty.builder() * .dataSetIdentifier("dataSetIdentifier") * .visualId("visualId") * // the properties below are optional * .actions(List.of(VisualCustomActionProperty.builder() * .actionOperations(List.of(VisualCustomActionOperationProperty.builder() * .filterOperation(CustomActionFilterOperationProperty.builder() * .selectedFieldsConfiguration(FilterOperationSelectedFieldsConfigurationProperty.builder() * .selectedColumns(List.of(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build())) * .selectedFieldOptions("selectedFieldOptions") * .selectedFields(List.of("selectedFields")) * .build()) * .targetVisualsConfiguration(FilterOperationTargetVisualsConfigurationProperty.builder() * .sameSheetTargetVisualConfiguration(SameSheetTargetVisualConfigurationProperty.builder() * .targetVisualOptions("targetVisualOptions") * .targetVisuals(List.of("targetVisuals")) * .build()) * .build()) * .build()) * .navigationOperation(CustomActionNavigationOperationProperty.builder() * .localNavigationConfiguration(LocalNavigationConfigurationProperty.builder() * .targetSheetId("targetSheetId") * .build()) * .build()) * .setParametersOperation(CustomActionSetParametersOperationProperty.builder() * .parameterValueConfigurations(List.of(SetParameterValueConfigurationProperty.builder() * .destinationParameterName("destinationParameterName") * .value(DestinationParameterValueConfigurationProperty.builder() * .customValuesConfiguration(CustomValuesConfigurationProperty.builder() * .customValues(CustomParameterValuesProperty.builder() * .dateTimeValues(List.of("dateTimeValues")) * .decimalValues(List.of(123)) * .integerValues(List.of(123)) * .stringValues(List.of("stringValues")) * .build()) * // the properties below are optional * .includeNullValue(false) * .build()) * .selectAllValueOptions("selectAllValueOptions") * .sourceColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceField("sourceField") * .sourceParameterName("sourceParameterName") * .build()) * .build())) * .build()) * .urlOperation(CustomActionURLOperationProperty.builder() * .urlTarget("urlTarget") * .urlTemplate("urlTemplate") * .build()) * .build())) * .customActionId("customActionId") * .name("name") * .trigger("trigger") * // the properties below are optional * .status("status") * .build())) * .chartConfiguration(CustomContentConfigurationProperty.builder() * .contentType("contentType") * .contentUrl("contentUrl") * .imageScaling("imageScaling") * .build()) * .subtitle(VisualSubtitleLabelOptionsProperty.builder() * .formatText(LongFormatTextProperty.builder() * .plainText("plainText") * .richText("richText") * .build()) * .visibility("visibility") * .build()) * .title(VisualTitleLabelOptionsProperty.builder() * .formatText(ShortFormatTextProperty.builder() * .plainText("plainText") * .richText("richText") * .build()) * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html) */ public interface CustomContentVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html#cfn-quicksight-dashboard-customcontentvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a `CustomContentVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html#cfn-quicksight-dashboard-customcontentvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The dataset that is used to create the custom content visual. * * You can't create a visual without a dataset. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html#cfn-quicksight-dashboard-customcontentvisual-datasetidentifier) */ public fun dataSetIdentifier(): String /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html#cfn-quicksight-dashboard-customcontentvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html#cfn-quicksight-dashboard-customcontentvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html#cfn-quicksight-dashboard-customcontentvisual-visualid) */ public fun visualId(): String /** * A builder for [CustomContentVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration of a `CustomContentVisual` . */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration of a `CustomContentVisual` . */ public fun chartConfiguration(chartConfiguration: CustomContentConfigurationProperty) /** * @param chartConfiguration The configuration of a `CustomContentVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("415c606a01a02dcf2281c21674dd82bff8ee6ce82f5d7b7acab90b54ee342179") public fun chartConfiguration(chartConfiguration: CustomContentConfigurationProperty.Builder.() -> Unit) /** * @param dataSetIdentifier The dataset that is used to create the custom content visual. * You can't create a visual without a dataset. */ public fun dataSetIdentifier(dataSetIdentifier: String) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e9e1bc475cfb4eafc92b1a69b49273de1f9faca027f88afdc91a64c58a9c61fb") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9516882648258a9cba9e9286fc1b87af88e9b8a5394f614aea8949c4c44f98fd") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration of a `CustomContentVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `CustomContentVisual` . */ override fun chartConfiguration(chartConfiguration: CustomContentConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(CustomContentConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `CustomContentVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("415c606a01a02dcf2281c21674dd82bff8ee6ce82f5d7b7acab90b54ee342179") override fun chartConfiguration(chartConfiguration: CustomContentConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(CustomContentConfigurationProperty(chartConfiguration)) /** * @param dataSetIdentifier The dataset that is used to create the custom content visual. * You can't create a visual without a dataset. */ override fun dataSetIdentifier(dataSetIdentifier: String) { cdkBuilder.dataSetIdentifier(dataSetIdentifier) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e9e1bc475cfb4eafc92b1a69b49273de1f9faca027f88afdc91a64c58a9c61fb") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9516882648258a9cba9e9286fc1b87af88e9b8a5394f614aea8949c4c44f98fd") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentVisualProperty, ) : CdkObject(cdkObject), CustomContentVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html#cfn-quicksight-dashboard-customcontentvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a `CustomContentVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html#cfn-quicksight-dashboard-customcontentvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The dataset that is used to create the custom content visual. * * You can't create a visual without a dataset. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html#cfn-quicksight-dashboard-customcontentvisual-datasetidentifier) */ override fun dataSetIdentifier(): String = unwrap(this).getDataSetIdentifier() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html#cfn-quicksight-dashboard-customcontentvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html#cfn-quicksight-dashboard-customcontentvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customcontentvisual.html#cfn-quicksight-dashboard-customcontentvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CustomContentVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentVisualProperty): CustomContentVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? CustomContentVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CustomContentVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CustomContentVisualProperty } } /** * A custom filter that filters based on a single value. * * This filter can be partially matched. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CustomFilterConfigurationProperty customFilterConfigurationProperty = * CustomFilterConfigurationProperty.builder() * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .categoryValue("categoryValue") * .parameterName("parameterName") * .selectAllOptions("selectAllOptions") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterconfiguration.html) */ public interface CustomFilterConfigurationProperty { /** * The category value for the filter. * * This field is mutually exclusive to `ParameterName` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterconfiguration.html#cfn-quicksight-dashboard-customfilterconfiguration-categoryvalue) */ public fun categoryValue(): String? = unwrap(this).getCategoryValue() /** * The match operator that is used to determine if a filter should be applied. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterconfiguration.html#cfn-quicksight-dashboard-customfilterconfiguration-matchoperator) */ public fun matchOperator(): String /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterconfiguration.html#cfn-quicksight-dashboard-customfilterconfiguration-nulloption) */ public fun nullOption(): String /** * The parameter whose value should be used for the filter value. * * This field is mutually exclusive to `CategoryValue` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterconfiguration.html#cfn-quicksight-dashboard-customfilterconfiguration-parametername) */ public fun parameterName(): String? = unwrap(this).getParameterName() /** * Select all of the values. Null is not the assigned value of select all. * * * `FILTER_ALL_VALUES` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterconfiguration.html#cfn-quicksight-dashboard-customfilterconfiguration-selectalloptions) */ public fun selectAllOptions(): String? = unwrap(this).getSelectAllOptions() /** * A builder for [CustomFilterConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryValue The category value for the filter. * This field is mutually exclusive to `ParameterName` . */ public fun categoryValue(categoryValue: String) /** * @param matchOperator The match operator that is used to determine if a filter should be * applied. */ public fun matchOperator(matchOperator: String) /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ public fun nullOption(nullOption: String) /** * @param parameterName The parameter whose value should be used for the filter value. * This field is mutually exclusive to `CategoryValue` . */ public fun parameterName(parameterName: String) /** * @param selectAllOptions Select all of the values. Null is not the assigned value of select * all. * * `FILTER_ALL_VALUES` */ public fun selectAllOptions(selectAllOptions: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterConfigurationProperty.builder() /** * @param categoryValue The category value for the filter. * This field is mutually exclusive to `ParameterName` . */ override fun categoryValue(categoryValue: String) { cdkBuilder.categoryValue(categoryValue) } /** * @param matchOperator The match operator that is used to determine if a filter should be * applied. */ override fun matchOperator(matchOperator: String) { cdkBuilder.matchOperator(matchOperator) } /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ override fun nullOption(nullOption: String) { cdkBuilder.nullOption(nullOption) } /** * @param parameterName The parameter whose value should be used for the filter value. * This field is mutually exclusive to `CategoryValue` . */ override fun parameterName(parameterName: String) { cdkBuilder.parameterName(parameterName) } /** * @param selectAllOptions Select all of the values. Null is not the assigned value of select * all. * * `FILTER_ALL_VALUES` */ override fun selectAllOptions(selectAllOptions: String) { cdkBuilder.selectAllOptions(selectAllOptions) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterConfigurationProperty, ) : CdkObject(cdkObject), CustomFilterConfigurationProperty { /** * The category value for the filter. * * This field is mutually exclusive to `ParameterName` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterconfiguration.html#cfn-quicksight-dashboard-customfilterconfiguration-categoryvalue) */ override fun categoryValue(): String? = unwrap(this).getCategoryValue() /** * The match operator that is used to determine if a filter should be applied. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterconfiguration.html#cfn-quicksight-dashboard-customfilterconfiguration-matchoperator) */ override fun matchOperator(): String = unwrap(this).getMatchOperator() /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterconfiguration.html#cfn-quicksight-dashboard-customfilterconfiguration-nulloption) */ override fun nullOption(): String = unwrap(this).getNullOption() /** * The parameter whose value should be used for the filter value. * * This field is mutually exclusive to `CategoryValue` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterconfiguration.html#cfn-quicksight-dashboard-customfilterconfiguration-parametername) */ override fun parameterName(): String? = unwrap(this).getParameterName() /** * Select all of the values. Null is not the assigned value of select all. * * * `FILTER_ALL_VALUES` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterconfiguration.html#cfn-quicksight-dashboard-customfilterconfiguration-selectalloptions) */ override fun selectAllOptions(): String? = unwrap(this).getSelectAllOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CustomFilterConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterConfigurationProperty): CustomFilterConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? CustomFilterConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CustomFilterConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterConfigurationProperty } } /** * A list of custom filter values. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CustomFilterListConfigurationProperty customFilterListConfigurationProperty = * CustomFilterListConfigurationProperty.builder() * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .categoryValues(List.of("categoryValues")) * .selectAllOptions("selectAllOptions") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterlistconfiguration.html) */ public interface CustomFilterListConfigurationProperty { /** * The list of category values for the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterlistconfiguration.html#cfn-quicksight-dashboard-customfilterlistconfiguration-categoryvalues) */ public fun categoryValues(): List = unwrap(this).getCategoryValues() ?: emptyList() /** * The match operator that is used to determine if a filter should be applied. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterlistconfiguration.html#cfn-quicksight-dashboard-customfilterlistconfiguration-matchoperator) */ public fun matchOperator(): String /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterlistconfiguration.html#cfn-quicksight-dashboard-customfilterlistconfiguration-nulloption) */ public fun nullOption(): String /** * Select all of the values. Null is not the assigned value of select all. * * * `FILTER_ALL_VALUES` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterlistconfiguration.html#cfn-quicksight-dashboard-customfilterlistconfiguration-selectalloptions) */ public fun selectAllOptions(): String? = unwrap(this).getSelectAllOptions() /** * A builder for [CustomFilterListConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryValues The list of category values for the filter. */ public fun categoryValues(categoryValues: List) /** * @param categoryValues The list of category values for the filter. */ public fun categoryValues(vararg categoryValues: String) /** * @param matchOperator The match operator that is used to determine if a filter should be * applied. */ public fun matchOperator(matchOperator: String) /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ public fun nullOption(nullOption: String) /** * @param selectAllOptions Select all of the values. Null is not the assigned value of select * all. * * `FILTER_ALL_VALUES` */ public fun selectAllOptions(selectAllOptions: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterListConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterListConfigurationProperty.builder() /** * @param categoryValues The list of category values for the filter. */ override fun categoryValues(categoryValues: List) { cdkBuilder.categoryValues(categoryValues) } /** * @param categoryValues The list of category values for the filter. */ override fun categoryValues(vararg categoryValues: String): Unit = categoryValues(categoryValues.toList()) /** * @param matchOperator The match operator that is used to determine if a filter should be * applied. */ override fun matchOperator(matchOperator: String) { cdkBuilder.matchOperator(matchOperator) } /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ override fun nullOption(nullOption: String) { cdkBuilder.nullOption(nullOption) } /** * @param selectAllOptions Select all of the values. Null is not the assigned value of select * all. * * `FILTER_ALL_VALUES` */ override fun selectAllOptions(selectAllOptions: String) { cdkBuilder.selectAllOptions(selectAllOptions) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterListConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterListConfigurationProperty, ) : CdkObject(cdkObject), CustomFilterListConfigurationProperty { /** * The list of category values for the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterlistconfiguration.html#cfn-quicksight-dashboard-customfilterlistconfiguration-categoryvalues) */ override fun categoryValues(): List = unwrap(this).getCategoryValues() ?: emptyList() /** * The match operator that is used to determine if a filter should be applied. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterlistconfiguration.html#cfn-quicksight-dashboard-customfilterlistconfiguration-matchoperator) */ override fun matchOperator(): String = unwrap(this).getMatchOperator() /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterlistconfiguration.html#cfn-quicksight-dashboard-customfilterlistconfiguration-nulloption) */ override fun nullOption(): String = unwrap(this).getNullOption() /** * Select all of the values. Null is not the assigned value of select all. * * * `FILTER_ALL_VALUES` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customfilterlistconfiguration.html#cfn-quicksight-dashboard-customfilterlistconfiguration-selectalloptions) */ override fun selectAllOptions(): String? = unwrap(this).getSelectAllOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CustomFilterListConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterListConfigurationProperty): CustomFilterListConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? CustomFilterListConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CustomFilterListConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterListConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CustomFilterListConfigurationProperty } } /** * The custom narrative options. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CustomNarrativeOptionsProperty customNarrativeOptionsProperty = * CustomNarrativeOptionsProperty.builder() * .narrative("narrative") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customnarrativeoptions.html) */ public interface CustomNarrativeOptionsProperty { /** * The string input of custom narrative. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customnarrativeoptions.html#cfn-quicksight-dashboard-customnarrativeoptions-narrative) */ public fun narrative(): String /** * A builder for [CustomNarrativeOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param narrative The string input of custom narrative. */ public fun narrative(narrative: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomNarrativeOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CustomNarrativeOptionsProperty.builder() /** * @param narrative The string input of custom narrative. */ override fun narrative(narrative: String) { cdkBuilder.narrative(narrative) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomNarrativeOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomNarrativeOptionsProperty, ) : CdkObject(cdkObject), CustomNarrativeOptionsProperty { /** * The string input of custom narrative. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customnarrativeoptions.html#cfn-quicksight-dashboard-customnarrativeoptions-narrative) */ override fun narrative(): String = unwrap(this).getNarrative() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CustomNarrativeOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomNarrativeOptionsProperty): CustomNarrativeOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? CustomNarrativeOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CustomNarrativeOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomNarrativeOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CustomNarrativeOptionsProperty } } /** * The customized parameter values. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CustomParameterValuesProperty customParameterValuesProperty = * CustomParameterValuesProperty.builder() * .dateTimeValues(List.of("dateTimeValues")) * .decimalValues(List.of(123)) * .integerValues(List.of(123)) * .stringValues(List.of("stringValues")) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customparametervalues.html) */ public interface CustomParameterValuesProperty { /** * A list of datetime-type parameter values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customparametervalues.html#cfn-quicksight-dashboard-customparametervalues-datetimevalues) */ public fun dateTimeValues(): List = unwrap(this).getDateTimeValues() ?: emptyList() /** * A list of decimal-type parameter values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customparametervalues.html#cfn-quicksight-dashboard-customparametervalues-decimalvalues) */ public fun decimalValues(): Any? = unwrap(this).getDecimalValues() /** * A list of integer-type parameter values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customparametervalues.html#cfn-quicksight-dashboard-customparametervalues-integervalues) */ public fun integerValues(): Any? = unwrap(this).getIntegerValues() /** * A list of string-type parameter values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customparametervalues.html#cfn-quicksight-dashboard-customparametervalues-stringvalues) */ public fun stringValues(): List = unwrap(this).getStringValues() ?: emptyList() /** * A builder for [CustomParameterValuesProperty] */ @CdkDslMarker public interface Builder { /** * @param dateTimeValues A list of datetime-type parameter values. */ public fun dateTimeValues(dateTimeValues: List) /** * @param dateTimeValues A list of datetime-type parameter values. */ public fun dateTimeValues(vararg dateTimeValues: String) /** * @param decimalValues A list of decimal-type parameter values. */ public fun decimalValues(decimalValues: IResolvable) /** * @param decimalValues A list of decimal-type parameter values. */ public fun decimalValues(decimalValues: List) /** * @param decimalValues A list of decimal-type parameter values. */ public fun decimalValues(vararg decimalValues: Number) /** * @param integerValues A list of integer-type parameter values. */ public fun integerValues(integerValues: IResolvable) /** * @param integerValues A list of integer-type parameter values. */ public fun integerValues(integerValues: List) /** * @param integerValues A list of integer-type parameter values. */ public fun integerValues(vararg integerValues: Number) /** * @param stringValues A list of string-type parameter values. */ public fun stringValues(stringValues: List) /** * @param stringValues A list of string-type parameter values. */ public fun stringValues(vararg stringValues: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomParameterValuesProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CustomParameterValuesProperty.builder() /** * @param dateTimeValues A list of datetime-type parameter values. */ override fun dateTimeValues(dateTimeValues: List) { cdkBuilder.dateTimeValues(dateTimeValues) } /** * @param dateTimeValues A list of datetime-type parameter values. */ override fun dateTimeValues(vararg dateTimeValues: String): Unit = dateTimeValues(dateTimeValues.toList()) /** * @param decimalValues A list of decimal-type parameter values. */ override fun decimalValues(decimalValues: IResolvable) { cdkBuilder.decimalValues(decimalValues.let(IResolvable.Companion::unwrap)) } /** * @param decimalValues A list of decimal-type parameter values. */ override fun decimalValues(decimalValues: List) { cdkBuilder.decimalValues(decimalValues) } /** * @param decimalValues A list of decimal-type parameter values. */ override fun decimalValues(vararg decimalValues: Number): Unit = decimalValues(decimalValues.toList()) /** * @param integerValues A list of integer-type parameter values. */ override fun integerValues(integerValues: IResolvable) { cdkBuilder.integerValues(integerValues.let(IResolvable.Companion::unwrap)) } /** * @param integerValues A list of integer-type parameter values. */ override fun integerValues(integerValues: List) { cdkBuilder.integerValues(integerValues) } /** * @param integerValues A list of integer-type parameter values. */ override fun integerValues(vararg integerValues: Number): Unit = integerValues(integerValues.toList()) /** * @param stringValues A list of string-type parameter values. */ override fun stringValues(stringValues: List) { cdkBuilder.stringValues(stringValues) } /** * @param stringValues A list of string-type parameter values. */ override fun stringValues(vararg stringValues: String): Unit = stringValues(stringValues.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomParameterValuesProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomParameterValuesProperty, ) : CdkObject(cdkObject), CustomParameterValuesProperty { /** * A list of datetime-type parameter values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customparametervalues.html#cfn-quicksight-dashboard-customparametervalues-datetimevalues) */ override fun dateTimeValues(): List = unwrap(this).getDateTimeValues() ?: emptyList() /** * A list of decimal-type parameter values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customparametervalues.html#cfn-quicksight-dashboard-customparametervalues-decimalvalues) */ override fun decimalValues(): Any? = unwrap(this).getDecimalValues() /** * A list of integer-type parameter values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customparametervalues.html#cfn-quicksight-dashboard-customparametervalues-integervalues) */ override fun integerValues(): Any? = unwrap(this).getIntegerValues() /** * A list of string-type parameter values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customparametervalues.html#cfn-quicksight-dashboard-customparametervalues-stringvalues) */ override fun stringValues(): List = unwrap(this).getStringValues() ?: emptyList() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CustomParameterValuesProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomParameterValuesProperty): CustomParameterValuesProperty = CdkObjectWrappers.wrap(cdkObject) as? CustomParameterValuesProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CustomParameterValuesProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomParameterValuesProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CustomParameterValuesProperty } } /** * The configuration of custom values for the destination parameter in * `DestinationParameterValueConfiguration` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * CustomValuesConfigurationProperty customValuesConfigurationProperty = * CustomValuesConfigurationProperty.builder() * .customValues(CustomParameterValuesProperty.builder() * .dateTimeValues(List.of("dateTimeValues")) * .decimalValues(List.of(123)) * .integerValues(List.of(123)) * .stringValues(List.of("stringValues")) * .build()) * // the properties below are optional * .includeNullValue(false) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customvaluesconfiguration.html) */ public interface CustomValuesConfigurationProperty { /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customvaluesconfiguration.html#cfn-quicksight-dashboard-customvaluesconfiguration-customvalues) */ public fun customValues(): Any /** * Includes the null value in custom action parameter values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customvaluesconfiguration.html#cfn-quicksight-dashboard-customvaluesconfiguration-includenullvalue) */ public fun includeNullValue(): Any? = unwrap(this).getIncludeNullValue() /** * A builder for [CustomValuesConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param customValues the value to be set. */ public fun customValues(customValues: IResolvable) /** * @param customValues the value to be set. */ public fun customValues(customValues: CustomParameterValuesProperty) /** * @param customValues the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("19a948238457ee463d38639938fa15054f0631c51cd78993bf20311e6bdbc1fb") public fun customValues(customValues: CustomParameterValuesProperty.Builder.() -> Unit) /** * @param includeNullValue Includes the null value in custom action parameter values. */ public fun includeNullValue(includeNullValue: Boolean) /** * @param includeNullValue Includes the null value in custom action parameter values. */ public fun includeNullValue(includeNullValue: IResolvable) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomValuesConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.CustomValuesConfigurationProperty.builder() /** * @param customValues the value to be set. */ override fun customValues(customValues: IResolvable) { cdkBuilder.customValues(customValues.let(IResolvable.Companion::unwrap)) } /** * @param customValues the value to be set. */ override fun customValues(customValues: CustomParameterValuesProperty) { cdkBuilder.customValues(customValues.let(CustomParameterValuesProperty.Companion::unwrap)) } /** * @param customValues the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("19a948238457ee463d38639938fa15054f0631c51cd78993bf20311e6bdbc1fb") override fun customValues(customValues: CustomParameterValuesProperty.Builder.() -> Unit): Unit = customValues(CustomParameterValuesProperty(customValues)) /** * @param includeNullValue Includes the null value in custom action parameter values. */ override fun includeNullValue(includeNullValue: Boolean) { cdkBuilder.includeNullValue(includeNullValue) } /** * @param includeNullValue Includes the null value in custom action parameter values. */ override fun includeNullValue(includeNullValue: IResolvable) { cdkBuilder.includeNullValue(includeNullValue.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomValuesConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomValuesConfigurationProperty, ) : CdkObject(cdkObject), CustomValuesConfigurationProperty { /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customvaluesconfiguration.html#cfn-quicksight-dashboard-customvaluesconfiguration-customvalues) */ override fun customValues(): Any = unwrap(this).getCustomValues() /** * Includes the null value in custom action parameter values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-customvaluesconfiguration.html#cfn-quicksight-dashboard-customvaluesconfiguration-includenullvalue) */ override fun includeNullValue(): Any? = unwrap(this).getIncludeNullValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): CustomValuesConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.CustomValuesConfigurationProperty): CustomValuesConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? CustomValuesConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: CustomValuesConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.CustomValuesConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.CustomValuesConfigurationProperty } } /** * Dashboard error. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DashboardErrorProperty dashboardErrorProperty = DashboardErrorProperty.builder() * .message("message") * .type("type") * .violatedEntities(List.of(EntityProperty.builder() * .path("path") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboarderror.html) */ public interface DashboardErrorProperty { /** * Message. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboarderror.html#cfn-quicksight-dashboard-dashboarderror-message) */ public fun message(): String? = unwrap(this).getMessage() /** * Type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboarderror.html#cfn-quicksight-dashboard-dashboarderror-type) */ public fun type(): String? = unwrap(this).getType() /** * Lists the violated entities that caused the dashboard error. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboarderror.html#cfn-quicksight-dashboard-dashboarderror-violatedentities) */ public fun violatedEntities(): Any? = unwrap(this).getViolatedEntities() /** * A builder for [DashboardErrorProperty] */ @CdkDslMarker public interface Builder { /** * @param message Message. */ public fun message(message: String) /** * @param type Type. */ public fun type(type: String) /** * @param violatedEntities Lists the violated entities that caused the dashboard error. */ public fun violatedEntities(violatedEntities: IResolvable) /** * @param violatedEntities Lists the violated entities that caused the dashboard error. */ public fun violatedEntities(violatedEntities: List) /** * @param violatedEntities Lists the violated entities that caused the dashboard error. */ public fun violatedEntities(vararg violatedEntities: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardErrorProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardErrorProperty.builder() /** * @param message Message. */ override fun message(message: String) { cdkBuilder.message(message) } /** * @param type Type. */ override fun type(type: String) { cdkBuilder.type(type) } /** * @param violatedEntities Lists the violated entities that caused the dashboard error. */ override fun violatedEntities(violatedEntities: IResolvable) { cdkBuilder.violatedEntities(violatedEntities.let(IResolvable.Companion::unwrap)) } /** * @param violatedEntities Lists the violated entities that caused the dashboard error. */ override fun violatedEntities(violatedEntities: List) { cdkBuilder.violatedEntities(violatedEntities.map{CdkObjectWrappers.unwrap(it)}) } /** * @param violatedEntities Lists the violated entities that caused the dashboard error. */ override fun violatedEntities(vararg violatedEntities: Any): Unit = violatedEntities(violatedEntities.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardErrorProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardErrorProperty, ) : CdkObject(cdkObject), DashboardErrorProperty { /** * Message. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboarderror.html#cfn-quicksight-dashboard-dashboarderror-message) */ override fun message(): String? = unwrap(this).getMessage() /** * Type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboarderror.html#cfn-quicksight-dashboard-dashboarderror-type) */ override fun type(): String? = unwrap(this).getType() /** * Lists the violated entities that caused the dashboard error. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboarderror.html#cfn-quicksight-dashboard-dashboarderror-violatedentities) */ override fun violatedEntities(): Any? = unwrap(this).getViolatedEntities() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DashboardErrorProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardErrorProperty): DashboardErrorProperty = CdkObjectWrappers.wrap(cdkObject) as? DashboardErrorProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DashboardErrorProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardErrorProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardErrorProperty } } /** * Dashboard publish options. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DashboardPublishOptionsProperty dashboardPublishOptionsProperty = * DashboardPublishOptionsProperty.builder() * .adHocFilteringOption(AdHocFilteringOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build()) * .dataPointDrillUpDownOption(DataPointDrillUpDownOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build()) * .dataPointMenuLabelOption(DataPointMenuLabelOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build()) * .dataPointTooltipOption(DataPointTooltipOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build()) * .exportToCsvOption(ExportToCSVOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build()) * .exportWithHiddenFieldsOption(ExportWithHiddenFieldsOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build()) * .sheetControlsOption(SheetControlsOptionProperty.builder() * .visibilityState("visibilityState") * .build()) * .sheetLayoutElementMaximizationOption(SheetLayoutElementMaximizationOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build()) * .visualAxisSortOption(VisualAxisSortOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build()) * .visualMenuOption(VisualMenuOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build()) * .visualPublishOptions(DashboardVisualPublishOptionsProperty.builder() * .exportHiddenFieldsOption(ExportHiddenFieldsOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html) */ public interface DashboardPublishOptionsProperty { /** * Ad hoc (one-time) filtering option. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-adhocfilteringoption) */ public fun adHocFilteringOption(): Any? = unwrap(this).getAdHocFilteringOption() /** * The drill-down options of data points in a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-datapointdrillupdownoption) */ public fun dataPointDrillUpDownOption(): Any? = unwrap(this).getDataPointDrillUpDownOption() /** * The data point menu label options of a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-datapointmenulabeloption) */ public fun dataPointMenuLabelOption(): Any? = unwrap(this).getDataPointMenuLabelOption() /** * The data point tool tip options of a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-datapointtooltipoption) */ public fun dataPointTooltipOption(): Any? = unwrap(this).getDataPointTooltipOption() /** * Export to .csv option. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-exporttocsvoption) */ public fun exportToCsvOption(): Any? = unwrap(this).getExportToCsvOption() /** * Determines if hidden fields are exported with a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-exportwithhiddenfieldsoption) */ public fun exportWithHiddenFieldsOption(): Any? = unwrap(this).getExportWithHiddenFieldsOption() /** * Sheet controls option. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-sheetcontrolsoption) */ public fun sheetControlsOption(): Any? = unwrap(this).getSheetControlsOption() /** * The sheet layout maximization options of a dashbaord. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-sheetlayoutelementmaximizationoption) */ public fun sheetLayoutElementMaximizationOption(): Any? = unwrap(this).getSheetLayoutElementMaximizationOption() /** * The axis sort options of a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-visualaxissortoption) */ public fun visualAxisSortOption(): Any? = unwrap(this).getVisualAxisSortOption() /** * The menu options of a visual in a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-visualmenuoption) */ public fun visualMenuOption(): Any? = unwrap(this).getVisualMenuOption() /** * The visual publish options of a visual in a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-visualpublishoptions) */ public fun visualPublishOptions(): Any? = unwrap(this).getVisualPublishOptions() /** * A builder for [DashboardPublishOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param adHocFilteringOption Ad hoc (one-time) filtering option. */ public fun adHocFilteringOption(adHocFilteringOption: IResolvable) /** * @param adHocFilteringOption Ad hoc (one-time) filtering option. */ public fun adHocFilteringOption(adHocFilteringOption: AdHocFilteringOptionProperty) /** * @param adHocFilteringOption Ad hoc (one-time) filtering option. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("011583daff92109f750490162ed001223795d139130bfc38179bd4fc27e62fbe") public fun adHocFilteringOption(adHocFilteringOption: AdHocFilteringOptionProperty.Builder.() -> Unit) /** * @param dataPointDrillUpDownOption The drill-down options of data points in a dashboard. */ public fun dataPointDrillUpDownOption(dataPointDrillUpDownOption: IResolvable) /** * @param dataPointDrillUpDownOption The drill-down options of data points in a dashboard. */ public fun dataPointDrillUpDownOption(dataPointDrillUpDownOption: DataPointDrillUpDownOptionProperty) /** * @param dataPointDrillUpDownOption The drill-down options of data points in a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("848c8d5f052285349b0c1d9b720efc04df8855db8fd841f0014408dc0fe175b2") public fun dataPointDrillUpDownOption(dataPointDrillUpDownOption: DataPointDrillUpDownOptionProperty.Builder.() -> Unit) /** * @param dataPointMenuLabelOption The data point menu label options of a dashboard. */ public fun dataPointMenuLabelOption(dataPointMenuLabelOption: IResolvable) /** * @param dataPointMenuLabelOption The data point menu label options of a dashboard. */ public fun dataPointMenuLabelOption(dataPointMenuLabelOption: DataPointMenuLabelOptionProperty) /** * @param dataPointMenuLabelOption The data point menu label options of a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a691b90f98e9b16920a07f8f15853cc07762e287a4fbb6be40b91965de8efe35") public fun dataPointMenuLabelOption(dataPointMenuLabelOption: DataPointMenuLabelOptionProperty.Builder.() -> Unit) /** * @param dataPointTooltipOption The data point tool tip options of a dashboard. */ public fun dataPointTooltipOption(dataPointTooltipOption: IResolvable) /** * @param dataPointTooltipOption The data point tool tip options of a dashboard. */ public fun dataPointTooltipOption(dataPointTooltipOption: DataPointTooltipOptionProperty) /** * @param dataPointTooltipOption The data point tool tip options of a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fa5804e1e0f00e915d916d4bc26345c7ef3695e3b729eb52b6b71208a1cdd97a") public fun dataPointTooltipOption(dataPointTooltipOption: DataPointTooltipOptionProperty.Builder.() -> Unit) /** * @param exportToCsvOption Export to .csv option. */ public fun exportToCsvOption(exportToCsvOption: IResolvable) /** * @param exportToCsvOption Export to .csv option. */ public fun exportToCsvOption(exportToCsvOption: ExportToCSVOptionProperty) /** * @param exportToCsvOption Export to .csv option. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6ef1a9565124311ef99470b9b4a59d848badc85189a2269909c883b8194531e4") public fun exportToCsvOption(exportToCsvOption: ExportToCSVOptionProperty.Builder.() -> Unit) /** * @param exportWithHiddenFieldsOption Determines if hidden fields are exported with a * dashboard. */ public fun exportWithHiddenFieldsOption(exportWithHiddenFieldsOption: IResolvable) /** * @param exportWithHiddenFieldsOption Determines if hidden fields are exported with a * dashboard. */ public fun exportWithHiddenFieldsOption(exportWithHiddenFieldsOption: ExportWithHiddenFieldsOptionProperty) /** * @param exportWithHiddenFieldsOption Determines if hidden fields are exported with a * dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3f63dd7f03127d7c6137017b1dd8bb1597c2cfa45b589bc803856a1f5e1d2f96") public fun exportWithHiddenFieldsOption(exportWithHiddenFieldsOption: ExportWithHiddenFieldsOptionProperty.Builder.() -> Unit) /** * @param sheetControlsOption Sheet controls option. */ public fun sheetControlsOption(sheetControlsOption: IResolvable) /** * @param sheetControlsOption Sheet controls option. */ public fun sheetControlsOption(sheetControlsOption: SheetControlsOptionProperty) /** * @param sheetControlsOption Sheet controls option. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7f6b61c7a80f383a668e644c940a552f14034312a30bb31e0c88a29156f2692d") public fun sheetControlsOption(sheetControlsOption: SheetControlsOptionProperty.Builder.() -> Unit) /** * @param sheetLayoutElementMaximizationOption The sheet layout maximization options of a * dashbaord. */ public fun sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption: IResolvable) /** * @param sheetLayoutElementMaximizationOption The sheet layout maximization options of a * dashbaord. */ public fun sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption: SheetLayoutElementMaximizationOptionProperty) /** * @param sheetLayoutElementMaximizationOption The sheet layout maximization options of a * dashbaord. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("029b7e4bf2a0be2172d4bf0172fdd4e1fed3ae536ab640231774de2a90f71157") public fun sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption: SheetLayoutElementMaximizationOptionProperty.Builder.() -> Unit) /** * @param visualAxisSortOption The axis sort options of a dashboard. */ public fun visualAxisSortOption(visualAxisSortOption: IResolvable) /** * @param visualAxisSortOption The axis sort options of a dashboard. */ public fun visualAxisSortOption(visualAxisSortOption: VisualAxisSortOptionProperty) /** * @param visualAxisSortOption The axis sort options of a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7175f69981342e43a74751b5384ee864ae202fa71d092eefc7e40572192552d4") public fun visualAxisSortOption(visualAxisSortOption: VisualAxisSortOptionProperty.Builder.() -> Unit) /** * @param visualMenuOption The menu options of a visual in a dashboard. */ public fun visualMenuOption(visualMenuOption: IResolvable) /** * @param visualMenuOption The menu options of a visual in a dashboard. */ public fun visualMenuOption(visualMenuOption: VisualMenuOptionProperty) /** * @param visualMenuOption The menu options of a visual in a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("26262cc317ee6d9052943db77855ae9c7fb3378555be1c7fc5830a1d72544e32") public fun visualMenuOption(visualMenuOption: VisualMenuOptionProperty.Builder.() -> Unit) /** * @param visualPublishOptions The visual publish options of a visual in a dashboard. */ public fun visualPublishOptions(visualPublishOptions: IResolvable) /** * @param visualPublishOptions The visual publish options of a visual in a dashboard. */ public fun visualPublishOptions(visualPublishOptions: DashboardVisualPublishOptionsProperty) /** * @param visualPublishOptions The visual publish options of a visual in a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("18fa64f6e949669b53d6aafe22c07b1814d5c6efc4465f3df58d42e02dea6a2a") public fun visualPublishOptions(visualPublishOptions: DashboardVisualPublishOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardPublishOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardPublishOptionsProperty.builder() /** * @param adHocFilteringOption Ad hoc (one-time) filtering option. */ override fun adHocFilteringOption(adHocFilteringOption: IResolvable) { cdkBuilder.adHocFilteringOption(adHocFilteringOption.let(IResolvable.Companion::unwrap)) } /** * @param adHocFilteringOption Ad hoc (one-time) filtering option. */ override fun adHocFilteringOption(adHocFilteringOption: AdHocFilteringOptionProperty) { cdkBuilder.adHocFilteringOption(adHocFilteringOption.let(AdHocFilteringOptionProperty.Companion::unwrap)) } /** * @param adHocFilteringOption Ad hoc (one-time) filtering option. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("011583daff92109f750490162ed001223795d139130bfc38179bd4fc27e62fbe") override fun adHocFilteringOption(adHocFilteringOption: AdHocFilteringOptionProperty.Builder.() -> Unit): Unit = adHocFilteringOption(AdHocFilteringOptionProperty(adHocFilteringOption)) /** * @param dataPointDrillUpDownOption The drill-down options of data points in a dashboard. */ override fun dataPointDrillUpDownOption(dataPointDrillUpDownOption: IResolvable) { cdkBuilder.dataPointDrillUpDownOption(dataPointDrillUpDownOption.let(IResolvable.Companion::unwrap)) } /** * @param dataPointDrillUpDownOption The drill-down options of data points in a dashboard. */ override fun dataPointDrillUpDownOption(dataPointDrillUpDownOption: DataPointDrillUpDownOptionProperty) { cdkBuilder.dataPointDrillUpDownOption(dataPointDrillUpDownOption.let(DataPointDrillUpDownOptionProperty.Companion::unwrap)) } /** * @param dataPointDrillUpDownOption The drill-down options of data points in a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("848c8d5f052285349b0c1d9b720efc04df8855db8fd841f0014408dc0fe175b2") override fun dataPointDrillUpDownOption(dataPointDrillUpDownOption: DataPointDrillUpDownOptionProperty.Builder.() -> Unit): Unit = dataPointDrillUpDownOption(DataPointDrillUpDownOptionProperty(dataPointDrillUpDownOption)) /** * @param dataPointMenuLabelOption The data point menu label options of a dashboard. */ override fun dataPointMenuLabelOption(dataPointMenuLabelOption: IResolvable) { cdkBuilder.dataPointMenuLabelOption(dataPointMenuLabelOption.let(IResolvable.Companion::unwrap)) } /** * @param dataPointMenuLabelOption The data point menu label options of a dashboard. */ override fun dataPointMenuLabelOption(dataPointMenuLabelOption: DataPointMenuLabelOptionProperty) { cdkBuilder.dataPointMenuLabelOption(dataPointMenuLabelOption.let(DataPointMenuLabelOptionProperty.Companion::unwrap)) } /** * @param dataPointMenuLabelOption The data point menu label options of a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a691b90f98e9b16920a07f8f15853cc07762e287a4fbb6be40b91965de8efe35") override fun dataPointMenuLabelOption(dataPointMenuLabelOption: DataPointMenuLabelOptionProperty.Builder.() -> Unit): Unit = dataPointMenuLabelOption(DataPointMenuLabelOptionProperty(dataPointMenuLabelOption)) /** * @param dataPointTooltipOption The data point tool tip options of a dashboard. */ override fun dataPointTooltipOption(dataPointTooltipOption: IResolvable) { cdkBuilder.dataPointTooltipOption(dataPointTooltipOption.let(IResolvable.Companion::unwrap)) } /** * @param dataPointTooltipOption The data point tool tip options of a dashboard. */ override fun dataPointTooltipOption(dataPointTooltipOption: DataPointTooltipOptionProperty) { cdkBuilder.dataPointTooltipOption(dataPointTooltipOption.let(DataPointTooltipOptionProperty.Companion::unwrap)) } /** * @param dataPointTooltipOption The data point tool tip options of a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fa5804e1e0f00e915d916d4bc26345c7ef3695e3b729eb52b6b71208a1cdd97a") override fun dataPointTooltipOption(dataPointTooltipOption: DataPointTooltipOptionProperty.Builder.() -> Unit): Unit = dataPointTooltipOption(DataPointTooltipOptionProperty(dataPointTooltipOption)) /** * @param exportToCsvOption Export to .csv option. */ override fun exportToCsvOption(exportToCsvOption: IResolvable) { cdkBuilder.exportToCsvOption(exportToCsvOption.let(IResolvable.Companion::unwrap)) } /** * @param exportToCsvOption Export to .csv option. */ override fun exportToCsvOption(exportToCsvOption: ExportToCSVOptionProperty) { cdkBuilder.exportToCsvOption(exportToCsvOption.let(ExportToCSVOptionProperty.Companion::unwrap)) } /** * @param exportToCsvOption Export to .csv option. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6ef1a9565124311ef99470b9b4a59d848badc85189a2269909c883b8194531e4") override fun exportToCsvOption(exportToCsvOption: ExportToCSVOptionProperty.Builder.() -> Unit): Unit = exportToCsvOption(ExportToCSVOptionProperty(exportToCsvOption)) /** * @param exportWithHiddenFieldsOption Determines if hidden fields are exported with a * dashboard. */ override fun exportWithHiddenFieldsOption(exportWithHiddenFieldsOption: IResolvable) { cdkBuilder.exportWithHiddenFieldsOption(exportWithHiddenFieldsOption.let(IResolvable.Companion::unwrap)) } /** * @param exportWithHiddenFieldsOption Determines if hidden fields are exported with a * dashboard. */ override fun exportWithHiddenFieldsOption(exportWithHiddenFieldsOption: ExportWithHiddenFieldsOptionProperty) { cdkBuilder.exportWithHiddenFieldsOption(exportWithHiddenFieldsOption.let(ExportWithHiddenFieldsOptionProperty.Companion::unwrap)) } /** * @param exportWithHiddenFieldsOption Determines if hidden fields are exported with a * dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3f63dd7f03127d7c6137017b1dd8bb1597c2cfa45b589bc803856a1f5e1d2f96") override fun exportWithHiddenFieldsOption(exportWithHiddenFieldsOption: ExportWithHiddenFieldsOptionProperty.Builder.() -> Unit): Unit = exportWithHiddenFieldsOption(ExportWithHiddenFieldsOptionProperty(exportWithHiddenFieldsOption)) /** * @param sheetControlsOption Sheet controls option. */ override fun sheetControlsOption(sheetControlsOption: IResolvable) { cdkBuilder.sheetControlsOption(sheetControlsOption.let(IResolvable.Companion::unwrap)) } /** * @param sheetControlsOption Sheet controls option. */ override fun sheetControlsOption(sheetControlsOption: SheetControlsOptionProperty) { cdkBuilder.sheetControlsOption(sheetControlsOption.let(SheetControlsOptionProperty.Companion::unwrap)) } /** * @param sheetControlsOption Sheet controls option. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7f6b61c7a80f383a668e644c940a552f14034312a30bb31e0c88a29156f2692d") override fun sheetControlsOption(sheetControlsOption: SheetControlsOptionProperty.Builder.() -> Unit): Unit = sheetControlsOption(SheetControlsOptionProperty(sheetControlsOption)) /** * @param sheetLayoutElementMaximizationOption The sheet layout maximization options of a * dashbaord. */ override fun sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption: IResolvable) { cdkBuilder.sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption.let(IResolvable.Companion::unwrap)) } /** * @param sheetLayoutElementMaximizationOption The sheet layout maximization options of a * dashbaord. */ override fun sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption: SheetLayoutElementMaximizationOptionProperty) { cdkBuilder.sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption.let(SheetLayoutElementMaximizationOptionProperty.Companion::unwrap)) } /** * @param sheetLayoutElementMaximizationOption The sheet layout maximization options of a * dashbaord. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("029b7e4bf2a0be2172d4bf0172fdd4e1fed3ae536ab640231774de2a90f71157") override fun sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption: SheetLayoutElementMaximizationOptionProperty.Builder.() -> Unit): Unit = sheetLayoutElementMaximizationOption(SheetLayoutElementMaximizationOptionProperty(sheetLayoutElementMaximizationOption)) /** * @param visualAxisSortOption The axis sort options of a dashboard. */ override fun visualAxisSortOption(visualAxisSortOption: IResolvable) { cdkBuilder.visualAxisSortOption(visualAxisSortOption.let(IResolvable.Companion::unwrap)) } /** * @param visualAxisSortOption The axis sort options of a dashboard. */ override fun visualAxisSortOption(visualAxisSortOption: VisualAxisSortOptionProperty) { cdkBuilder.visualAxisSortOption(visualAxisSortOption.let(VisualAxisSortOptionProperty.Companion::unwrap)) } /** * @param visualAxisSortOption The axis sort options of a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7175f69981342e43a74751b5384ee864ae202fa71d092eefc7e40572192552d4") override fun visualAxisSortOption(visualAxisSortOption: VisualAxisSortOptionProperty.Builder.() -> Unit): Unit = visualAxisSortOption(VisualAxisSortOptionProperty(visualAxisSortOption)) /** * @param visualMenuOption The menu options of a visual in a dashboard. */ override fun visualMenuOption(visualMenuOption: IResolvable) { cdkBuilder.visualMenuOption(visualMenuOption.let(IResolvable.Companion::unwrap)) } /** * @param visualMenuOption The menu options of a visual in a dashboard. */ override fun visualMenuOption(visualMenuOption: VisualMenuOptionProperty) { cdkBuilder.visualMenuOption(visualMenuOption.let(VisualMenuOptionProperty.Companion::unwrap)) } /** * @param visualMenuOption The menu options of a visual in a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("26262cc317ee6d9052943db77855ae9c7fb3378555be1c7fc5830a1d72544e32") override fun visualMenuOption(visualMenuOption: VisualMenuOptionProperty.Builder.() -> Unit): Unit = visualMenuOption(VisualMenuOptionProperty(visualMenuOption)) /** * @param visualPublishOptions The visual publish options of a visual in a dashboard. */ override fun visualPublishOptions(visualPublishOptions: IResolvable) { cdkBuilder.visualPublishOptions(visualPublishOptions.let(IResolvable.Companion::unwrap)) } /** * @param visualPublishOptions The visual publish options of a visual in a dashboard. */ override fun visualPublishOptions(visualPublishOptions: DashboardVisualPublishOptionsProperty) { cdkBuilder.visualPublishOptions(visualPublishOptions.let(DashboardVisualPublishOptionsProperty.Companion::unwrap)) } /** * @param visualPublishOptions The visual publish options of a visual in a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("18fa64f6e949669b53d6aafe22c07b1814d5c6efc4465f3df58d42e02dea6a2a") override fun visualPublishOptions(visualPublishOptions: DashboardVisualPublishOptionsProperty.Builder.() -> Unit): Unit = visualPublishOptions(DashboardVisualPublishOptionsProperty(visualPublishOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardPublishOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardPublishOptionsProperty, ) : CdkObject(cdkObject), DashboardPublishOptionsProperty { /** * Ad hoc (one-time) filtering option. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-adhocfilteringoption) */ override fun adHocFilteringOption(): Any? = unwrap(this).getAdHocFilteringOption() /** * The drill-down options of data points in a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-datapointdrillupdownoption) */ override fun dataPointDrillUpDownOption(): Any? = unwrap(this).getDataPointDrillUpDownOption() /** * The data point menu label options of a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-datapointmenulabeloption) */ override fun dataPointMenuLabelOption(): Any? = unwrap(this).getDataPointMenuLabelOption() /** * The data point tool tip options of a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-datapointtooltipoption) */ override fun dataPointTooltipOption(): Any? = unwrap(this).getDataPointTooltipOption() /** * Export to .csv option. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-exporttocsvoption) */ override fun exportToCsvOption(): Any? = unwrap(this).getExportToCsvOption() /** * Determines if hidden fields are exported with a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-exportwithhiddenfieldsoption) */ override fun exportWithHiddenFieldsOption(): Any? = unwrap(this).getExportWithHiddenFieldsOption() /** * Sheet controls option. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-sheetcontrolsoption) */ override fun sheetControlsOption(): Any? = unwrap(this).getSheetControlsOption() /** * The sheet layout maximization options of a dashbaord. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-sheetlayoutelementmaximizationoption) */ override fun sheetLayoutElementMaximizationOption(): Any? = unwrap(this).getSheetLayoutElementMaximizationOption() /** * The axis sort options of a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-visualaxissortoption) */ override fun visualAxisSortOption(): Any? = unwrap(this).getVisualAxisSortOption() /** * The menu options of a visual in a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-visualmenuoption) */ override fun visualMenuOption(): Any? = unwrap(this).getVisualMenuOption() /** * The visual publish options of a visual in a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-visualpublishoptions) */ override fun visualPublishOptions(): Any? = unwrap(this).getVisualPublishOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DashboardPublishOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardPublishOptionsProperty): DashboardPublishOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DashboardPublishOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DashboardPublishOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardPublishOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardPublishOptionsProperty } } /** * Dashboard source entity. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DashboardSourceEntityProperty dashboardSourceEntityProperty = * DashboardSourceEntityProperty.builder() * .sourceTemplate(DashboardSourceTemplateProperty.builder() * .arn("arn") * .dataSetReferences(List.of(DataSetReferenceProperty.builder() * .dataSetArn("dataSetArn") * .dataSetPlaceholder("dataSetPlaceholder") * .build())) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourceentity.html) */ public interface DashboardSourceEntityProperty { /** * Source template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourceentity.html#cfn-quicksight-dashboard-dashboardsourceentity-sourcetemplate) */ public fun sourceTemplate(): Any? = unwrap(this).getSourceTemplate() /** * A builder for [DashboardSourceEntityProperty] */ @CdkDslMarker public interface Builder { /** * @param sourceTemplate Source template. */ public fun sourceTemplate(sourceTemplate: IResolvable) /** * @param sourceTemplate Source template. */ public fun sourceTemplate(sourceTemplate: DashboardSourceTemplateProperty) /** * @param sourceTemplate Source template. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c1ce1ec8ec4e5a66a6892a06db6ee98529b39c9794efc700fb47a29f7aad3f1b") public fun sourceTemplate(sourceTemplate: DashboardSourceTemplateProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceEntityProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceEntityProperty.builder() /** * @param sourceTemplate Source template. */ override fun sourceTemplate(sourceTemplate: IResolvable) { cdkBuilder.sourceTemplate(sourceTemplate.let(IResolvable.Companion::unwrap)) } /** * @param sourceTemplate Source template. */ override fun sourceTemplate(sourceTemplate: DashboardSourceTemplateProperty) { cdkBuilder.sourceTemplate(sourceTemplate.let(DashboardSourceTemplateProperty.Companion::unwrap)) } /** * @param sourceTemplate Source template. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c1ce1ec8ec4e5a66a6892a06db6ee98529b39c9794efc700fb47a29f7aad3f1b") override fun sourceTemplate(sourceTemplate: DashboardSourceTemplateProperty.Builder.() -> Unit): Unit = sourceTemplate(DashboardSourceTemplateProperty(sourceTemplate)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceEntityProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceEntityProperty, ) : CdkObject(cdkObject), DashboardSourceEntityProperty { /** * Source template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourceentity.html#cfn-quicksight-dashboard-dashboardsourceentity-sourcetemplate) */ override fun sourceTemplate(): Any? = unwrap(this).getSourceTemplate() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DashboardSourceEntityProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceEntityProperty): DashboardSourceEntityProperty = CdkObjectWrappers.wrap(cdkObject) as? DashboardSourceEntityProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DashboardSourceEntityProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceEntityProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceEntityProperty } } /** * Dashboard source template. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DashboardSourceTemplateProperty dashboardSourceTemplateProperty = * DashboardSourceTemplateProperty.builder() * .arn("arn") * .dataSetReferences(List.of(DataSetReferenceProperty.builder() * .dataSetArn("dataSetArn") * .dataSetPlaceholder("dataSetPlaceholder") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourcetemplate.html) */ public interface DashboardSourceTemplateProperty { /** * The Amazon Resource Name (ARN) of the resource. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourcetemplate.html#cfn-quicksight-dashboard-dashboardsourcetemplate-arn) */ public fun arn(): String /** * Dataset references. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourcetemplate.html#cfn-quicksight-dashboard-dashboardsourcetemplate-datasetreferences) */ public fun dataSetReferences(): Any /** * A builder for [DashboardSourceTemplateProperty] */ @CdkDslMarker public interface Builder { /** * @param arn The Amazon Resource Name (ARN) of the resource. */ public fun arn(arn: String) /** * @param dataSetReferences Dataset references. */ public fun dataSetReferences(dataSetReferences: IResolvable) /** * @param dataSetReferences Dataset references. */ public fun dataSetReferences(dataSetReferences: List) /** * @param dataSetReferences Dataset references. */ public fun dataSetReferences(vararg dataSetReferences: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceTemplateProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceTemplateProperty.builder() /** * @param arn The Amazon Resource Name (ARN) of the resource. */ override fun arn(arn: String) { cdkBuilder.arn(arn) } /** * @param dataSetReferences Dataset references. */ override fun dataSetReferences(dataSetReferences: IResolvable) { cdkBuilder.dataSetReferences(dataSetReferences.let(IResolvable.Companion::unwrap)) } /** * @param dataSetReferences Dataset references. */ override fun dataSetReferences(dataSetReferences: List) { cdkBuilder.dataSetReferences(dataSetReferences.map{CdkObjectWrappers.unwrap(it)}) } /** * @param dataSetReferences Dataset references. */ override fun dataSetReferences(vararg dataSetReferences: Any): Unit = dataSetReferences(dataSetReferences.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceTemplateProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceTemplateProperty, ) : CdkObject(cdkObject), DashboardSourceTemplateProperty { /** * The Amazon Resource Name (ARN) of the resource. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourcetemplate.html#cfn-quicksight-dashboard-dashboardsourcetemplate-arn) */ override fun arn(): String = unwrap(this).getArn() /** * Dataset references. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourcetemplate.html#cfn-quicksight-dashboard-dashboardsourcetemplate-datasetreferences) */ override fun dataSetReferences(): Any = unwrap(this).getDataSetReferences() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DashboardSourceTemplateProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceTemplateProperty): DashboardSourceTemplateProperty = CdkObjectWrappers.wrap(cdkObject) as? DashboardSourceTemplateProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DashboardSourceTemplateProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceTemplateProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardSourceTemplateProperty } } /** * The contents of a dashboard. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html) */ public interface DashboardVersionDefinitionProperty { /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-analysisdefaults) */ public fun analysisDefaults(): Any? = unwrap(this).getAnalysisDefaults() /** * An array of calculated field definitions for the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-calculatedfields) */ public fun calculatedFields(): Any? = unwrap(this).getCalculatedFields() /** * An array of dashboard-level column configurations. * * Column configurations are used to set the default formatting for a column that is used * throughout a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-columnconfigurations) */ public fun columnConfigurations(): Any? = unwrap(this).getColumnConfigurations() /** * An array of dataset identifier declarations. * * With this mapping,you can use dataset identifiers instead of dataset Amazon Resource Names * (ARNs) throughout the dashboard's sub-structures. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-datasetidentifierdeclarations) */ public fun dataSetIdentifierDeclarations(): Any /** * The filter definitions for a dashboard. * * For more information, see [Filtering Data in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-filtergroups) */ public fun filterGroups(): Any? = unwrap(this).getFilterGroups() /** * An array of option definitions for a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-options) */ public fun options(): Any? = unwrap(this).getOptions() /** * The parameter declarations for a dashboard. * * Parameters are named variables that can transfer a value for use by an action or an object. * * For more information, see [Parameters in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in * the *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-parameterdeclarations) */ public fun parameterDeclarations(): Any? = unwrap(this).getParameterDeclarations() /** * An array of sheet definitions for a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-sheets) */ public fun sheets(): Any? = unwrap(this).getSheets() /** * A builder for [DashboardVersionDefinitionProperty] */ @CdkDslMarker public interface Builder { /** * @param analysisDefaults the value to be set. */ public fun analysisDefaults(analysisDefaults: IResolvable) /** * @param analysisDefaults the value to be set. */ public fun analysisDefaults(analysisDefaults: AnalysisDefaultsProperty) /** * @param analysisDefaults the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("720e89ac50b83f276302253bda816d4f44c1621f7f34d8f9c89895718cacb785") public fun analysisDefaults(analysisDefaults: AnalysisDefaultsProperty.Builder.() -> Unit) /** * @param calculatedFields An array of calculated field definitions for the dashboard. */ public fun calculatedFields(calculatedFields: IResolvable) /** * @param calculatedFields An array of calculated field definitions for the dashboard. */ public fun calculatedFields(calculatedFields: List) /** * @param calculatedFields An array of calculated field definitions for the dashboard. */ public fun calculatedFields(vararg calculatedFields: Any) /** * @param columnConfigurations An array of dashboard-level column configurations. * Column configurations are used to set the default formatting for a column that is used * throughout a dashboard. */ public fun columnConfigurations(columnConfigurations: IResolvable) /** * @param columnConfigurations An array of dashboard-level column configurations. * Column configurations are used to set the default formatting for a column that is used * throughout a dashboard. */ public fun columnConfigurations(columnConfigurations: List) /** * @param columnConfigurations An array of dashboard-level column configurations. * Column configurations are used to set the default formatting for a column that is used * throughout a dashboard. */ public fun columnConfigurations(vararg columnConfigurations: Any) /** * @param dataSetIdentifierDeclarations An array of dataset identifier declarations. * With this mapping,you can use dataset identifiers instead of dataset Amazon Resource Names * (ARNs) throughout the dashboard's sub-structures. */ public fun dataSetIdentifierDeclarations(dataSetIdentifierDeclarations: IResolvable) /** * @param dataSetIdentifierDeclarations An array of dataset identifier declarations. * With this mapping,you can use dataset identifiers instead of dataset Amazon Resource Names * (ARNs) throughout the dashboard's sub-structures. */ public fun dataSetIdentifierDeclarations(dataSetIdentifierDeclarations: List) /** * @param dataSetIdentifierDeclarations An array of dataset identifier declarations. * With this mapping,you can use dataset identifiers instead of dataset Amazon Resource Names * (ARNs) throughout the dashboard's sub-structures. */ public fun dataSetIdentifierDeclarations(vararg dataSetIdentifierDeclarations: Any) /** * @param filterGroups The filter definitions for a dashboard. * For more information, see [Filtering Data in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the * *Amazon QuickSight User Guide* . */ public fun filterGroups(filterGroups: IResolvable) /** * @param filterGroups The filter definitions for a dashboard. * For more information, see [Filtering Data in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the * *Amazon QuickSight User Guide* . */ public fun filterGroups(filterGroups: List) /** * @param filterGroups The filter definitions for a dashboard. * For more information, see [Filtering Data in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the * *Amazon QuickSight User Guide* . */ public fun filterGroups(vararg filterGroups: Any) /** * @param options An array of option definitions for a dashboard. */ public fun options(options: IResolvable) /** * @param options An array of option definitions for a dashboard. */ public fun options(options: AssetOptionsProperty) /** * @param options An array of option definitions for a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("71fd924f77f7d316600e3f5e32ab0bc39d8a4425ee5a09b90c2f4dd6ecf130aa") public fun options(options: AssetOptionsProperty.Builder.() -> Unit) /** * @param parameterDeclarations The parameter declarations for a dashboard. * Parameters are named variables that can transfer a value for use by an action or an object. * * For more information, see [Parameters in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) * in the *Amazon QuickSight User Guide* . */ public fun parameterDeclarations(parameterDeclarations: IResolvable) /** * @param parameterDeclarations The parameter declarations for a dashboard. * Parameters are named variables that can transfer a value for use by an action or an object. * * For more information, see [Parameters in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) * in the *Amazon QuickSight User Guide* . */ public fun parameterDeclarations(parameterDeclarations: List) /** * @param parameterDeclarations The parameter declarations for a dashboard. * Parameters are named variables that can transfer a value for use by an action or an object. * * For more information, see [Parameters in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) * in the *Amazon QuickSight User Guide* . */ public fun parameterDeclarations(vararg parameterDeclarations: Any) /** * @param sheets An array of sheet definitions for a dashboard. */ public fun sheets(sheets: IResolvable) /** * @param sheets An array of sheet definitions for a dashboard. */ public fun sheets(sheets: List) /** * @param sheets An array of sheet definitions for a dashboard. */ public fun sheets(vararg sheets: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionDefinitionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionDefinitionProperty.builder() /** * @param analysisDefaults the value to be set. */ override fun analysisDefaults(analysisDefaults: IResolvable) { cdkBuilder.analysisDefaults(analysisDefaults.let(IResolvable.Companion::unwrap)) } /** * @param analysisDefaults the value to be set. */ override fun analysisDefaults(analysisDefaults: AnalysisDefaultsProperty) { cdkBuilder.analysisDefaults(analysisDefaults.let(AnalysisDefaultsProperty.Companion::unwrap)) } /** * @param analysisDefaults the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("720e89ac50b83f276302253bda816d4f44c1621f7f34d8f9c89895718cacb785") override fun analysisDefaults(analysisDefaults: AnalysisDefaultsProperty.Builder.() -> Unit): Unit = analysisDefaults(AnalysisDefaultsProperty(analysisDefaults)) /** * @param calculatedFields An array of calculated field definitions for the dashboard. */ override fun calculatedFields(calculatedFields: IResolvable) { cdkBuilder.calculatedFields(calculatedFields.let(IResolvable.Companion::unwrap)) } /** * @param calculatedFields An array of calculated field definitions for the dashboard. */ override fun calculatedFields(calculatedFields: List) { cdkBuilder.calculatedFields(calculatedFields.map{CdkObjectWrappers.unwrap(it)}) } /** * @param calculatedFields An array of calculated field definitions for the dashboard. */ override fun calculatedFields(vararg calculatedFields: Any): Unit = calculatedFields(calculatedFields.toList()) /** * @param columnConfigurations An array of dashboard-level column configurations. * Column configurations are used to set the default formatting for a column that is used * throughout a dashboard. */ override fun columnConfigurations(columnConfigurations: IResolvable) { cdkBuilder.columnConfigurations(columnConfigurations.let(IResolvable.Companion::unwrap)) } /** * @param columnConfigurations An array of dashboard-level column configurations. * Column configurations are used to set the default formatting for a column that is used * throughout a dashboard. */ override fun columnConfigurations(columnConfigurations: List) { cdkBuilder.columnConfigurations(columnConfigurations.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnConfigurations An array of dashboard-level column configurations. * Column configurations are used to set the default formatting for a column that is used * throughout a dashboard. */ override fun columnConfigurations(vararg columnConfigurations: Any): Unit = columnConfigurations(columnConfigurations.toList()) /** * @param dataSetIdentifierDeclarations An array of dataset identifier declarations. * With this mapping,you can use dataset identifiers instead of dataset Amazon Resource Names * (ARNs) throughout the dashboard's sub-structures. */ override fun dataSetIdentifierDeclarations(dataSetIdentifierDeclarations: IResolvable) { cdkBuilder.dataSetIdentifierDeclarations(dataSetIdentifierDeclarations.let(IResolvable.Companion::unwrap)) } /** * @param dataSetIdentifierDeclarations An array of dataset identifier declarations. * With this mapping,you can use dataset identifiers instead of dataset Amazon Resource Names * (ARNs) throughout the dashboard's sub-structures. */ override fun dataSetIdentifierDeclarations(dataSetIdentifierDeclarations: List) { cdkBuilder.dataSetIdentifierDeclarations(dataSetIdentifierDeclarations.map{CdkObjectWrappers.unwrap(it)}) } /** * @param dataSetIdentifierDeclarations An array of dataset identifier declarations. * With this mapping,you can use dataset identifiers instead of dataset Amazon Resource Names * (ARNs) throughout the dashboard's sub-structures. */ override fun dataSetIdentifierDeclarations(vararg dataSetIdentifierDeclarations: Any): Unit = dataSetIdentifierDeclarations(dataSetIdentifierDeclarations.toList()) /** * @param filterGroups The filter definitions for a dashboard. * For more information, see [Filtering Data in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the * *Amazon QuickSight User Guide* . */ override fun filterGroups(filterGroups: IResolvable) { cdkBuilder.filterGroups(filterGroups.let(IResolvable.Companion::unwrap)) } /** * @param filterGroups The filter definitions for a dashboard. * For more information, see [Filtering Data in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the * *Amazon QuickSight User Guide* . */ override fun filterGroups(filterGroups: List) { cdkBuilder.filterGroups(filterGroups.map{CdkObjectWrappers.unwrap(it)}) } /** * @param filterGroups The filter definitions for a dashboard. * For more information, see [Filtering Data in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the * *Amazon QuickSight User Guide* . */ override fun filterGroups(vararg filterGroups: Any): Unit = filterGroups(filterGroups.toList()) /** * @param options An array of option definitions for a dashboard. */ override fun options(options: IResolvable) { cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** * @param options An array of option definitions for a dashboard. */ override fun options(options: AssetOptionsProperty) { cdkBuilder.options(options.let(AssetOptionsProperty.Companion::unwrap)) } /** * @param options An array of option definitions for a dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("71fd924f77f7d316600e3f5e32ab0bc39d8a4425ee5a09b90c2f4dd6ecf130aa") override fun options(options: AssetOptionsProperty.Builder.() -> Unit): Unit = options(AssetOptionsProperty(options)) /** * @param parameterDeclarations The parameter declarations for a dashboard. * Parameters are named variables that can transfer a value for use by an action or an object. * * For more information, see [Parameters in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) * in the *Amazon QuickSight User Guide* . */ override fun parameterDeclarations(parameterDeclarations: IResolvable) { cdkBuilder.parameterDeclarations(parameterDeclarations.let(IResolvable.Companion::unwrap)) } /** * @param parameterDeclarations The parameter declarations for a dashboard. * Parameters are named variables that can transfer a value for use by an action or an object. * * For more information, see [Parameters in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) * in the *Amazon QuickSight User Guide* . */ override fun parameterDeclarations(parameterDeclarations: List) { cdkBuilder.parameterDeclarations(parameterDeclarations.map{CdkObjectWrappers.unwrap(it)}) } /** * @param parameterDeclarations The parameter declarations for a dashboard. * Parameters are named variables that can transfer a value for use by an action or an object. * * For more information, see [Parameters in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) * in the *Amazon QuickSight User Guide* . */ override fun parameterDeclarations(vararg parameterDeclarations: Any): Unit = parameterDeclarations(parameterDeclarations.toList()) /** * @param sheets An array of sheet definitions for a dashboard. */ override fun sheets(sheets: IResolvable) { cdkBuilder.sheets(sheets.let(IResolvable.Companion::unwrap)) } /** * @param sheets An array of sheet definitions for a dashboard. */ override fun sheets(sheets: List) { cdkBuilder.sheets(sheets.map{CdkObjectWrappers.unwrap(it)}) } /** * @param sheets An array of sheet definitions for a dashboard. */ override fun sheets(vararg sheets: Any): Unit = sheets(sheets.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionDefinitionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionDefinitionProperty, ) : CdkObject(cdkObject), DashboardVersionDefinitionProperty { /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-analysisdefaults) */ override fun analysisDefaults(): Any? = unwrap(this).getAnalysisDefaults() /** * An array of calculated field definitions for the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-calculatedfields) */ override fun calculatedFields(): Any? = unwrap(this).getCalculatedFields() /** * An array of dashboard-level column configurations. * * Column configurations are used to set the default formatting for a column that is used * throughout a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-columnconfigurations) */ override fun columnConfigurations(): Any? = unwrap(this).getColumnConfigurations() /** * An array of dataset identifier declarations. * * With this mapping,you can use dataset identifiers instead of dataset Amazon Resource Names * (ARNs) throughout the dashboard's sub-structures. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-datasetidentifierdeclarations) */ override fun dataSetIdentifierDeclarations(): Any = unwrap(this).getDataSetIdentifierDeclarations() /** * The filter definitions for a dashboard. * * For more information, see [Filtering Data in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-filtergroups) */ override fun filterGroups(): Any? = unwrap(this).getFilterGroups() /** * An array of option definitions for a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-options) */ override fun options(): Any? = unwrap(this).getOptions() /** * The parameter declarations for a dashboard. * * Parameters are named variables that can transfer a value for use by an action or an object. * * For more information, see [Parameters in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) * in the *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-parameterdeclarations) */ override fun parameterDeclarations(): Any? = unwrap(this).getParameterDeclarations() /** * An array of sheet definitions for a dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversiondefinition.html#cfn-quicksight-dashboard-dashboardversiondefinition-sheets) */ override fun sheets(): Any? = unwrap(this).getSheets() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DashboardVersionDefinitionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionDefinitionProperty): DashboardVersionDefinitionProperty = CdkObjectWrappers.wrap(cdkObject) as? DashboardVersionDefinitionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DashboardVersionDefinitionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionDefinitionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionDefinitionProperty } } /** * Dashboard version. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DashboardVersionProperty dashboardVersionProperty = DashboardVersionProperty.builder() * .arn("arn") * .createdTime("createdTime") * .dataSetArns(List.of("dataSetArns")) * .description("description") * .errors(List.of(DashboardErrorProperty.builder() * .message("message") * .type("type") * .violatedEntities(List.of(EntityProperty.builder() * .path("path") * .build())) * .build())) * .sheets(List.of(SheetProperty.builder() * .name("name") * .sheetId("sheetId") * .build())) * .sourceEntityArn("sourceEntityArn") * .status("status") * .themeArn("themeArn") * .versionNumber(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html) */ public interface DashboardVersionProperty { /** * The Amazon Resource Name (ARN) of the resource. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-arn) */ public fun arn(): String? = unwrap(this).getArn() /** * The time that this dashboard version was created. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-createdtime) */ public fun createdTime(): String? = unwrap(this).getCreatedTime() /** * The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of * the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-datasetarns) */ public fun dataSetArns(): List = unwrap(this).getDataSetArns() ?: emptyList() /** * Description. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-description) */ public fun description(): String? = unwrap(this).getDescription() /** * Errors associated with this dashboard version. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-errors) */ public fun errors(): Any? = unwrap(this).getErrors() /** * A list of the associated sheets with the unique identifier and name of each sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-sheets) */ public fun sheets(): Any? = unwrap(this).getSheets() /** * Source entity ARN. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-sourceentityarn) */ public fun sourceEntityArn(): String? = unwrap(this).getSourceEntityArn() /** * The HTTP status of the request. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-status) */ public fun status(): String? = unwrap(this).getStatus() /** * The ARN of the theme associated with a version of the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-themearn) */ public fun themeArn(): String? = unwrap(this).getThemeArn() /** * Version number for this version of the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-versionnumber) */ public fun versionNumber(): Number? = unwrap(this).getVersionNumber() /** * A builder for [DashboardVersionProperty] */ @CdkDslMarker public interface Builder { /** * @param arn The Amazon Resource Name (ARN) of the resource. */ public fun arn(arn: String) /** * @param createdTime The time that this dashboard version was created. */ public fun createdTime(createdTime: String) /** * @param dataSetArns The Amazon Resource Numbers (ARNs) for the datasets that are associated * with this version of the dashboard. */ public fun dataSetArns(dataSetArns: List) /** * @param dataSetArns The Amazon Resource Numbers (ARNs) for the datasets that are associated * with this version of the dashboard. */ public fun dataSetArns(vararg dataSetArns: String) /** * @param description Description. */ public fun description(description: String) /** * @param errors Errors associated with this dashboard version. */ public fun errors(errors: IResolvable) /** * @param errors Errors associated with this dashboard version. */ public fun errors(errors: List) /** * @param errors Errors associated with this dashboard version. */ public fun errors(vararg errors: Any) /** * @param sheets A list of the associated sheets with the unique identifier and name of each * sheet. */ public fun sheets(sheets: IResolvable) /** * @param sheets A list of the associated sheets with the unique identifier and name of each * sheet. */ public fun sheets(sheets: List) /** * @param sheets A list of the associated sheets with the unique identifier and name of each * sheet. */ public fun sheets(vararg sheets: Any) /** * @param sourceEntityArn Source entity ARN. */ public fun sourceEntityArn(sourceEntityArn: String) /** * @param status The HTTP status of the request. */ public fun status(status: String) /** * @param themeArn The ARN of the theme associated with a version of the dashboard. */ public fun themeArn(themeArn: String) /** * @param versionNumber Version number for this version of the dashboard. */ public fun versionNumber(versionNumber: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionProperty.builder() /** * @param arn The Amazon Resource Name (ARN) of the resource. */ override fun arn(arn: String) { cdkBuilder.arn(arn) } /** * @param createdTime The time that this dashboard version was created. */ override fun createdTime(createdTime: String) { cdkBuilder.createdTime(createdTime) } /** * @param dataSetArns The Amazon Resource Numbers (ARNs) for the datasets that are associated * with this version of the dashboard. */ override fun dataSetArns(dataSetArns: List) { cdkBuilder.dataSetArns(dataSetArns) } /** * @param dataSetArns The Amazon Resource Numbers (ARNs) for the datasets that are associated * with this version of the dashboard. */ override fun dataSetArns(vararg dataSetArns: String): Unit = dataSetArns(dataSetArns.toList()) /** * @param description Description. */ override fun description(description: String) { cdkBuilder.description(description) } /** * @param errors Errors associated with this dashboard version. */ override fun errors(errors: IResolvable) { cdkBuilder.errors(errors.let(IResolvable.Companion::unwrap)) } /** * @param errors Errors associated with this dashboard version. */ override fun errors(errors: List) { cdkBuilder.errors(errors.map{CdkObjectWrappers.unwrap(it)}) } /** * @param errors Errors associated with this dashboard version. */ override fun errors(vararg errors: Any): Unit = errors(errors.toList()) /** * @param sheets A list of the associated sheets with the unique identifier and name of each * sheet. */ override fun sheets(sheets: IResolvable) { cdkBuilder.sheets(sheets.let(IResolvable.Companion::unwrap)) } /** * @param sheets A list of the associated sheets with the unique identifier and name of each * sheet. */ override fun sheets(sheets: List) { cdkBuilder.sheets(sheets.map{CdkObjectWrappers.unwrap(it)}) } /** * @param sheets A list of the associated sheets with the unique identifier and name of each * sheet. */ override fun sheets(vararg sheets: Any): Unit = sheets(sheets.toList()) /** * @param sourceEntityArn Source entity ARN. */ override fun sourceEntityArn(sourceEntityArn: String) { cdkBuilder.sourceEntityArn(sourceEntityArn) } /** * @param status The HTTP status of the request. */ override fun status(status: String) { cdkBuilder.status(status) } /** * @param themeArn The ARN of the theme associated with a version of the dashboard. */ override fun themeArn(themeArn: String) { cdkBuilder.themeArn(themeArn) } /** * @param versionNumber Version number for this version of the dashboard. */ override fun versionNumber(versionNumber: Number) { cdkBuilder.versionNumber(versionNumber) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionProperty, ) : CdkObject(cdkObject), DashboardVersionProperty { /** * The Amazon Resource Name (ARN) of the resource. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-arn) */ override fun arn(): String? = unwrap(this).getArn() /** * The time that this dashboard version was created. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-createdtime) */ override fun createdTime(): String? = unwrap(this).getCreatedTime() /** * The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version * of the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-datasetarns) */ override fun dataSetArns(): List = unwrap(this).getDataSetArns() ?: emptyList() /** * Description. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-description) */ override fun description(): String? = unwrap(this).getDescription() /** * Errors associated with this dashboard version. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-errors) */ override fun errors(): Any? = unwrap(this).getErrors() /** * A list of the associated sheets with the unique identifier and name of each sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-sheets) */ override fun sheets(): Any? = unwrap(this).getSheets() /** * Source entity ARN. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-sourceentityarn) */ override fun sourceEntityArn(): String? = unwrap(this).getSourceEntityArn() /** * The HTTP status of the request. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-status) */ override fun status(): String? = unwrap(this).getStatus() /** * The ARN of the theme associated with a version of the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-themearn) */ override fun themeArn(): String? = unwrap(this).getThemeArn() /** * Version number for this version of the dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardversion.html#cfn-quicksight-dashboard-dashboardversion-versionnumber) */ override fun versionNumber(): Number? = unwrap(this).getVersionNumber() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DashboardVersionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionProperty): DashboardVersionProperty = CdkObjectWrappers.wrap(cdkObject) as? DashboardVersionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DashboardVersionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionProperty } } /** * The visual publish options of a visual in a dashboard. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DashboardVisualPublishOptionsProperty dashboardVisualPublishOptionsProperty = * DashboardVisualPublishOptionsProperty.builder() * .exportHiddenFieldsOption(ExportHiddenFieldsOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardvisualpublishoptions.html) */ public interface DashboardVisualPublishOptionsProperty { /** * Determines if hidden fields are included in an exported dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardvisualpublishoptions.html#cfn-quicksight-dashboard-dashboardvisualpublishoptions-exporthiddenfieldsoption) */ public fun exportHiddenFieldsOption(): Any? = unwrap(this).getExportHiddenFieldsOption() /** * A builder for [DashboardVisualPublishOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param exportHiddenFieldsOption Determines if hidden fields are included in an exported * dashboard. */ public fun exportHiddenFieldsOption(exportHiddenFieldsOption: IResolvable) /** * @param exportHiddenFieldsOption Determines if hidden fields are included in an exported * dashboard. */ public fun exportHiddenFieldsOption(exportHiddenFieldsOption: ExportHiddenFieldsOptionProperty) /** * @param exportHiddenFieldsOption Determines if hidden fields are included in an exported * dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("35682ada573d7255828c34f843a8c29d95f4399864b8b5e5c437496672c27b6e") public fun exportHiddenFieldsOption(exportHiddenFieldsOption: ExportHiddenFieldsOptionProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVisualPublishOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVisualPublishOptionsProperty.builder() /** * @param exportHiddenFieldsOption Determines if hidden fields are included in an exported * dashboard. */ override fun exportHiddenFieldsOption(exportHiddenFieldsOption: IResolvable) { cdkBuilder.exportHiddenFieldsOption(exportHiddenFieldsOption.let(IResolvable.Companion::unwrap)) } /** * @param exportHiddenFieldsOption Determines if hidden fields are included in an exported * dashboard. */ override fun exportHiddenFieldsOption(exportHiddenFieldsOption: ExportHiddenFieldsOptionProperty) { cdkBuilder.exportHiddenFieldsOption(exportHiddenFieldsOption.let(ExportHiddenFieldsOptionProperty.Companion::unwrap)) } /** * @param exportHiddenFieldsOption Determines if hidden fields are included in an exported * dashboard. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("35682ada573d7255828c34f843a8c29d95f4399864b8b5e5c437496672c27b6e") override fun exportHiddenFieldsOption(exportHiddenFieldsOption: ExportHiddenFieldsOptionProperty.Builder.() -> Unit): Unit = exportHiddenFieldsOption(ExportHiddenFieldsOptionProperty(exportHiddenFieldsOption)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVisualPublishOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVisualPublishOptionsProperty, ) : CdkObject(cdkObject), DashboardVisualPublishOptionsProperty { /** * Determines if hidden fields are included in an exported dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardvisualpublishoptions.html#cfn-quicksight-dashboard-dashboardvisualpublishoptions-exporthiddenfieldsoption) */ override fun exportHiddenFieldsOption(): Any? = unwrap(this).getExportHiddenFieldsOption() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DashboardVisualPublishOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVisualPublishOptionsProperty): DashboardVisualPublishOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DashboardVisualPublishOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DashboardVisualPublishOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVisualPublishOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVisualPublishOptionsProperty } } /** * The options for data bars. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataBarsOptionsProperty dataBarsOptionsProperty = DataBarsOptionsProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .negativeColor("negativeColor") * .positiveColor("positiveColor") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-databarsoptions.html) */ public interface DataBarsOptionsProperty { /** * The field ID for the data bars options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-databarsoptions.html#cfn-quicksight-dashboard-databarsoptions-fieldid) */ public fun fieldId(): String /** * The color of the negative data bar. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-databarsoptions.html#cfn-quicksight-dashboard-databarsoptions-negativecolor) */ public fun negativeColor(): String? = unwrap(this).getNegativeColor() /** * The color of the positive data bar. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-databarsoptions.html#cfn-quicksight-dashboard-databarsoptions-positivecolor) */ public fun positiveColor(): String? = unwrap(this).getPositiveColor() /** * A builder for [DataBarsOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldId The field ID for the data bars options. */ public fun fieldId(fieldId: String) /** * @param negativeColor The color of the negative data bar. */ public fun negativeColor(negativeColor: String) /** * @param positiveColor The color of the positive data bar. */ public fun positiveColor(positiveColor: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataBarsOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataBarsOptionsProperty.builder() /** * @param fieldId The field ID for the data bars options. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param negativeColor The color of the negative data bar. */ override fun negativeColor(negativeColor: String) { cdkBuilder.negativeColor(negativeColor) } /** * @param positiveColor The color of the positive data bar. */ override fun positiveColor(positiveColor: String) { cdkBuilder.positiveColor(positiveColor) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataBarsOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataBarsOptionsProperty, ) : CdkObject(cdkObject), DataBarsOptionsProperty { /** * The field ID for the data bars options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-databarsoptions.html#cfn-quicksight-dashboard-databarsoptions-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The color of the negative data bar. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-databarsoptions.html#cfn-quicksight-dashboard-databarsoptions-negativecolor) */ override fun negativeColor(): String? = unwrap(this).getNegativeColor() /** * The color of the positive data bar. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-databarsoptions.html#cfn-quicksight-dashboard-databarsoptions-positivecolor) */ override fun positiveColor(): String? = unwrap(this).getPositiveColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataBarsOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataBarsOptionsProperty): DataBarsOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DataBarsOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataBarsOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataBarsOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataBarsOptionsProperty } } /** * Determines the color that is applied to a particular data value. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataColorProperty dataColorProperty = DataColorProperty.builder() * .color("color") * .dataValue(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datacolor.html) */ public interface DataColorProperty { /** * The color that is applied to the data value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datacolor.html#cfn-quicksight-dashboard-datacolor-color) */ public fun color(): String? = unwrap(this).getColor() /** * The data value that the color is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datacolor.html#cfn-quicksight-dashboard-datacolor-datavalue) */ public fun dataValue(): Number? = unwrap(this).getDataValue() /** * A builder for [DataColorProperty] */ @CdkDslMarker public interface Builder { /** * @param color The color that is applied to the data value. */ public fun color(color: String) /** * @param dataValue The data value that the color is applied to. */ public fun dataValue(dataValue: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataColorProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataColorProperty.builder() /** * @param color The color that is applied to the data value. */ override fun color(color: String) { cdkBuilder.color(color) } /** * @param dataValue The data value that the color is applied to. */ override fun dataValue(dataValue: Number) { cdkBuilder.dataValue(dataValue) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataColorProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataColorProperty, ) : CdkObject(cdkObject), DataColorProperty { /** * The color that is applied to the data value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datacolor.html#cfn-quicksight-dashboard-datacolor-color) */ override fun color(): String? = unwrap(this).getColor() /** * The data value that the color is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datacolor.html#cfn-quicksight-dashboard-datacolor-datavalue) */ override fun dataValue(): Number? = unwrap(this).getDataValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataColorProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataColorProperty): DataColorProperty = CdkObjectWrappers.wrap(cdkObject) as? DataColorProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataColorProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataColorProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataColorProperty } } /** * The data field series item configuration of a line chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataFieldSeriesItemProperty dataFieldSeriesItemProperty = DataFieldSeriesItemProperty.builder() * .axisBinding("axisBinding") * .fieldId("fieldId") * // the properties below are optional * .fieldValue("fieldValue") * .settings(LineChartSeriesSettingsProperty.builder() * .lineStyleSettings(LineChartLineStyleSettingsProperty.builder() * .lineInterpolation("lineInterpolation") * .lineStyle("lineStyle") * .lineVisibility("lineVisibility") * .lineWidth("lineWidth") * .build()) * .markerStyleSettings(LineChartMarkerStyleSettingsProperty.builder() * .markerColor("markerColor") * .markerShape("markerShape") * .markerSize("markerSize") * .markerVisibility("markerVisibility") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datafieldseriesitem.html) */ public interface DataFieldSeriesItemProperty { /** * The axis that you are binding the field to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datafieldseriesitem.html#cfn-quicksight-dashboard-datafieldseriesitem-axisbinding) */ public fun axisBinding(): String /** * The field ID of the field that you are setting the axis binding to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datafieldseriesitem.html#cfn-quicksight-dashboard-datafieldseriesitem-fieldid) */ public fun fieldId(): String /** * The field value of the field that you are setting the axis binding to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datafieldseriesitem.html#cfn-quicksight-dashboard-datafieldseriesitem-fieldvalue) */ public fun fieldValue(): String? = unwrap(this).getFieldValue() /** * The options that determine the presentation of line series associated to the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datafieldseriesitem.html#cfn-quicksight-dashboard-datafieldseriesitem-settings) */ public fun settings(): Any? = unwrap(this).getSettings() /** * A builder for [DataFieldSeriesItemProperty] */ @CdkDslMarker public interface Builder { /** * @param axisBinding The axis that you are binding the field to. */ public fun axisBinding(axisBinding: String) /** * @param fieldId The field ID of the field that you are setting the axis binding to. */ public fun fieldId(fieldId: String) /** * @param fieldValue The field value of the field that you are setting the axis binding to. */ public fun fieldValue(fieldValue: String) /** * @param settings The options that determine the presentation of line series associated to * the field. */ public fun settings(settings: IResolvable) /** * @param settings The options that determine the presentation of line series associated to * the field. */ public fun settings(settings: LineChartSeriesSettingsProperty) /** * @param settings The options that determine the presentation of line series associated to * the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("165d9fe5516af2fb04063d2bb81241600f248768f7320625c46fb88a774160c8") public fun settings(settings: LineChartSeriesSettingsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataFieldSeriesItemProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataFieldSeriesItemProperty.builder() /** * @param axisBinding The axis that you are binding the field to. */ override fun axisBinding(axisBinding: String) { cdkBuilder.axisBinding(axisBinding) } /** * @param fieldId The field ID of the field that you are setting the axis binding to. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param fieldValue The field value of the field that you are setting the axis binding to. */ override fun fieldValue(fieldValue: String) { cdkBuilder.fieldValue(fieldValue) } /** * @param settings The options that determine the presentation of line series associated to * the field. */ override fun settings(settings: IResolvable) { cdkBuilder.settings(settings.let(IResolvable.Companion::unwrap)) } /** * @param settings The options that determine the presentation of line series associated to * the field. */ override fun settings(settings: LineChartSeriesSettingsProperty) { cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty.Companion::unwrap)) } /** * @param settings The options that determine the presentation of line series associated to * the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("165d9fe5516af2fb04063d2bb81241600f248768f7320625c46fb88a774160c8") override fun settings(settings: LineChartSeriesSettingsProperty.Builder.() -> Unit): Unit = settings(LineChartSeriesSettingsProperty(settings)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataFieldSeriesItemProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataFieldSeriesItemProperty, ) : CdkObject(cdkObject), DataFieldSeriesItemProperty { /** * The axis that you are binding the field to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datafieldseriesitem.html#cfn-quicksight-dashboard-datafieldseriesitem-axisbinding) */ override fun axisBinding(): String = unwrap(this).getAxisBinding() /** * The field ID of the field that you are setting the axis binding to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datafieldseriesitem.html#cfn-quicksight-dashboard-datafieldseriesitem-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The field value of the field that you are setting the axis binding to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datafieldseriesitem.html#cfn-quicksight-dashboard-datafieldseriesitem-fieldvalue) */ override fun fieldValue(): String? = unwrap(this).getFieldValue() /** * The options that determine the presentation of line series associated to the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datafieldseriesitem.html#cfn-quicksight-dashboard-datafieldseriesitem-settings) */ override fun settings(): Any? = unwrap(this).getSettings() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataFieldSeriesItemProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataFieldSeriesItemProperty): DataFieldSeriesItemProperty = CdkObjectWrappers.wrap(cdkObject) as? DataFieldSeriesItemProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataFieldSeriesItemProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataFieldSeriesItemProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataFieldSeriesItemProperty } } /** * The options that determine the presentation of the data labels. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataLabelOptionsProperty dataLabelOptionsProperty = DataLabelOptionsProperty.builder() * .categoryLabelVisibility("categoryLabelVisibility") * .dataLabelTypes(List.of(DataLabelTypeProperty.builder() * .dataPathLabelType(DataPathLabelTypeProperty.builder() * .fieldId("fieldId") * .fieldValue("fieldValue") * .visibility("visibility") * .build()) * .fieldLabelType(FieldLabelTypeProperty.builder() * .fieldId("fieldId") * .visibility("visibility") * .build()) * .maximumLabelType(MaximumLabelTypeProperty.builder() * .visibility("visibility") * .build()) * .minimumLabelType(MinimumLabelTypeProperty.builder() * .visibility("visibility") * .build()) * .rangeEndsLabelType(RangeEndsLabelTypeProperty.builder() * .visibility("visibility") * .build()) * .build())) * .labelColor("labelColor") * .labelContent("labelContent") * .labelFontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .measureLabelVisibility("measureLabelVisibility") * .overlap("overlap") * .position("position") * .totalsVisibility("totalsVisibility") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html) */ public interface DataLabelOptionsProperty { /** * Determines the visibility of the category field labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-categorylabelvisibility) */ public fun categoryLabelVisibility(): String? = unwrap(this).getCategoryLabelVisibility() /** * The option that determines the data label type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-datalabeltypes) */ public fun dataLabelTypes(): Any? = unwrap(this).getDataLabelTypes() /** * Determines the color of the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-labelcolor) */ public fun labelColor(): String? = unwrap(this).getLabelColor() /** * Determines the content of the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-labelcontent) */ public fun labelContent(): String? = unwrap(this).getLabelContent() /** * Determines the font configuration of the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-labelfontconfiguration) */ public fun labelFontConfiguration(): Any? = unwrap(this).getLabelFontConfiguration() /** * Determines the visibility of the measure field labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-measurelabelvisibility) */ public fun measureLabelVisibility(): String? = unwrap(this).getMeasureLabelVisibility() /** * Determines whether overlap is enabled or disabled for the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-overlap) */ public fun overlap(): String? = unwrap(this).getOverlap() /** * Determines the position of the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-position) */ public fun position(): String? = unwrap(this).getPosition() /** * Determines the visibility of the total. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-totalsvisibility) */ public fun totalsVisibility(): String? = unwrap(this).getTotalsVisibility() /** * Determines the visibility of the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [DataLabelOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryLabelVisibility Determines the visibility of the category field labels. */ public fun categoryLabelVisibility(categoryLabelVisibility: String) /** * @param dataLabelTypes The option that determines the data label type. */ public fun dataLabelTypes(dataLabelTypes: IResolvable) /** * @param dataLabelTypes The option that determines the data label type. */ public fun dataLabelTypes(dataLabelTypes: List) /** * @param dataLabelTypes The option that determines the data label type. */ public fun dataLabelTypes(vararg dataLabelTypes: Any) /** * @param labelColor Determines the color of the data labels. */ public fun labelColor(labelColor: String) /** * @param labelContent Determines the content of the data labels. */ public fun labelContent(labelContent: String) /** * @param labelFontConfiguration Determines the font configuration of the data labels. */ public fun labelFontConfiguration(labelFontConfiguration: IResolvable) /** * @param labelFontConfiguration Determines the font configuration of the data labels. */ public fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty) /** * @param labelFontConfiguration Determines the font configuration of the data labels. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("10a249033f050dbe7a709e43467e22ffb7cdc92e8b1cd86b9fc91af03b32763f") public fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty.Builder.() -> Unit) /** * @param measureLabelVisibility Determines the visibility of the measure field labels. */ public fun measureLabelVisibility(measureLabelVisibility: String) /** * @param overlap Determines whether overlap is enabled or disabled for the data labels. */ public fun overlap(overlap: String) /** * @param position Determines the position of the data labels. */ public fun position(position: String) /** * @param totalsVisibility Determines the visibility of the total. */ public fun totalsVisibility(totalsVisibility: String) /** * @param visibility Determines the visibility of the data labels. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelOptionsProperty.builder() /** * @param categoryLabelVisibility Determines the visibility of the category field labels. */ override fun categoryLabelVisibility(categoryLabelVisibility: String) { cdkBuilder.categoryLabelVisibility(categoryLabelVisibility) } /** * @param dataLabelTypes The option that determines the data label type. */ override fun dataLabelTypes(dataLabelTypes: IResolvable) { cdkBuilder.dataLabelTypes(dataLabelTypes.let(IResolvable.Companion::unwrap)) } /** * @param dataLabelTypes The option that determines the data label type. */ override fun dataLabelTypes(dataLabelTypes: List) { cdkBuilder.dataLabelTypes(dataLabelTypes.map{CdkObjectWrappers.unwrap(it)}) } /** * @param dataLabelTypes The option that determines the data label type. */ override fun dataLabelTypes(vararg dataLabelTypes: Any): Unit = dataLabelTypes(dataLabelTypes.toList()) /** * @param labelColor Determines the color of the data labels. */ override fun labelColor(labelColor: String) { cdkBuilder.labelColor(labelColor) } /** * @param labelContent Determines the content of the data labels. */ override fun labelContent(labelContent: String) { cdkBuilder.labelContent(labelContent) } /** * @param labelFontConfiguration Determines the font configuration of the data labels. */ override fun labelFontConfiguration(labelFontConfiguration: IResolvable) { cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param labelFontConfiguration Determines the font configuration of the data labels. */ override fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty) { cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** * @param labelFontConfiguration Determines the font configuration of the data labels. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("10a249033f050dbe7a709e43467e22ffb7cdc92e8b1cd86b9fc91af03b32763f") override fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty.Builder.() -> Unit): Unit = labelFontConfiguration(FontConfigurationProperty(labelFontConfiguration)) /** * @param measureLabelVisibility Determines the visibility of the measure field labels. */ override fun measureLabelVisibility(measureLabelVisibility: String) { cdkBuilder.measureLabelVisibility(measureLabelVisibility) } /** * @param overlap Determines whether overlap is enabled or disabled for the data labels. */ override fun overlap(overlap: String) { cdkBuilder.overlap(overlap) } /** * @param position Determines the position of the data labels. */ override fun position(position: String) { cdkBuilder.position(position) } /** * @param totalsVisibility Determines the visibility of the total. */ override fun totalsVisibility(totalsVisibility: String) { cdkBuilder.totalsVisibility(totalsVisibility) } /** * @param visibility Determines the visibility of the data labels. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelOptionsProperty, ) : CdkObject(cdkObject), DataLabelOptionsProperty { /** * Determines the visibility of the category field labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-categorylabelvisibility) */ override fun categoryLabelVisibility(): String? = unwrap(this).getCategoryLabelVisibility() /** * The option that determines the data label type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-datalabeltypes) */ override fun dataLabelTypes(): Any? = unwrap(this).getDataLabelTypes() /** * Determines the color of the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-labelcolor) */ override fun labelColor(): String? = unwrap(this).getLabelColor() /** * Determines the content of the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-labelcontent) */ override fun labelContent(): String? = unwrap(this).getLabelContent() /** * Determines the font configuration of the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-labelfontconfiguration) */ override fun labelFontConfiguration(): Any? = unwrap(this).getLabelFontConfiguration() /** * Determines the visibility of the measure field labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-measurelabelvisibility) */ override fun measureLabelVisibility(): String? = unwrap(this).getMeasureLabelVisibility() /** * Determines whether overlap is enabled or disabled for the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-overlap) */ override fun overlap(): String? = unwrap(this).getOverlap() /** * Determines the position of the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-position) */ override fun position(): String? = unwrap(this).getPosition() /** * Determines the visibility of the total. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-totalsvisibility) */ override fun totalsVisibility(): String? = unwrap(this).getTotalsVisibility() /** * Determines the visibility of the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeloptions.html#cfn-quicksight-dashboard-datalabeloptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataLabelOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelOptionsProperty): DataLabelOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DataLabelOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataLabelOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelOptionsProperty } } /** * The option that determines the data label type. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataLabelTypeProperty dataLabelTypeProperty = DataLabelTypeProperty.builder() * .dataPathLabelType(DataPathLabelTypeProperty.builder() * .fieldId("fieldId") * .fieldValue("fieldValue") * .visibility("visibility") * .build()) * .fieldLabelType(FieldLabelTypeProperty.builder() * .fieldId("fieldId") * .visibility("visibility") * .build()) * .maximumLabelType(MaximumLabelTypeProperty.builder() * .visibility("visibility") * .build()) * .minimumLabelType(MinimumLabelTypeProperty.builder() * .visibility("visibility") * .build()) * .rangeEndsLabelType(RangeEndsLabelTypeProperty.builder() * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeltype.html) */ public interface DataLabelTypeProperty { /** * The option that specifies individual data values for labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeltype.html#cfn-quicksight-dashboard-datalabeltype-datapathlabeltype) */ public fun dataPathLabelType(): Any? = unwrap(this).getDataPathLabelType() /** * Determines the label configuration for the entire field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeltype.html#cfn-quicksight-dashboard-datalabeltype-fieldlabeltype) */ public fun fieldLabelType(): Any? = unwrap(this).getFieldLabelType() /** * Determines the label configuration for the maximum value in a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeltype.html#cfn-quicksight-dashboard-datalabeltype-maximumlabeltype) */ public fun maximumLabelType(): Any? = unwrap(this).getMaximumLabelType() /** * Determines the label configuration for the minimum value in a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeltype.html#cfn-quicksight-dashboard-datalabeltype-minimumlabeltype) */ public fun minimumLabelType(): Any? = unwrap(this).getMinimumLabelType() /** * Determines the label configuration for range end value in a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeltype.html#cfn-quicksight-dashboard-datalabeltype-rangeendslabeltype) */ public fun rangeEndsLabelType(): Any? = unwrap(this).getRangeEndsLabelType() /** * A builder for [DataLabelTypeProperty] */ @CdkDslMarker public interface Builder { /** * @param dataPathLabelType The option that specifies individual data values for labels. */ public fun dataPathLabelType(dataPathLabelType: IResolvable) /** * @param dataPathLabelType The option that specifies individual data values for labels. */ public fun dataPathLabelType(dataPathLabelType: DataPathLabelTypeProperty) /** * @param dataPathLabelType The option that specifies individual data values for labels. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("09d0098d08bf18d98123fd8fbd9d17825d7aa735c77f0d8cb9aca162d15aae48") public fun dataPathLabelType(dataPathLabelType: DataPathLabelTypeProperty.Builder.() -> Unit) /** * @param fieldLabelType Determines the label configuration for the entire field. */ public fun fieldLabelType(fieldLabelType: IResolvable) /** * @param fieldLabelType Determines the label configuration for the entire field. */ public fun fieldLabelType(fieldLabelType: FieldLabelTypeProperty) /** * @param fieldLabelType Determines the label configuration for the entire field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6b3c0ad84f8cdc07ad2efcb10c7bada541b28514dfc9ae649d5eba7129ab3db5") public fun fieldLabelType(fieldLabelType: FieldLabelTypeProperty.Builder.() -> Unit) /** * @param maximumLabelType Determines the label configuration for the maximum value in a * visual. */ public fun maximumLabelType(maximumLabelType: IResolvable) /** * @param maximumLabelType Determines the label configuration for the maximum value in a * visual. */ public fun maximumLabelType(maximumLabelType: MaximumLabelTypeProperty) /** * @param maximumLabelType Determines the label configuration for the maximum value in a * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("af23c55704418396d3def28de882f0aa69c33141fca78c8c38cf02bd9f872ea0") public fun maximumLabelType(maximumLabelType: MaximumLabelTypeProperty.Builder.() -> Unit) /** * @param minimumLabelType Determines the label configuration for the minimum value in a * visual. */ public fun minimumLabelType(minimumLabelType: IResolvable) /** * @param minimumLabelType Determines the label configuration for the minimum value in a * visual. */ public fun minimumLabelType(minimumLabelType: MinimumLabelTypeProperty) /** * @param minimumLabelType Determines the label configuration for the minimum value in a * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("897ce915c7f2b9937f19d1ef379c9a207661fdc6381597775bdb6683d63f212b") public fun minimumLabelType(minimumLabelType: MinimumLabelTypeProperty.Builder.() -> Unit) /** * @param rangeEndsLabelType Determines the label configuration for range end value in a * visual. */ public fun rangeEndsLabelType(rangeEndsLabelType: IResolvable) /** * @param rangeEndsLabelType Determines the label configuration for range end value in a * visual. */ public fun rangeEndsLabelType(rangeEndsLabelType: RangeEndsLabelTypeProperty) /** * @param rangeEndsLabelType Determines the label configuration for range end value in a * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("52917e02fb35def411c2894845ea19946b24d8e0c1e440d494219b5052a04ddd") public fun rangeEndsLabelType(rangeEndsLabelType: RangeEndsLabelTypeProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelTypeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelTypeProperty.builder() /** * @param dataPathLabelType The option that specifies individual data values for labels. */ override fun dataPathLabelType(dataPathLabelType: IResolvable) { cdkBuilder.dataPathLabelType(dataPathLabelType.let(IResolvable.Companion::unwrap)) } /** * @param dataPathLabelType The option that specifies individual data values for labels. */ override fun dataPathLabelType(dataPathLabelType: DataPathLabelTypeProperty) { cdkBuilder.dataPathLabelType(dataPathLabelType.let(DataPathLabelTypeProperty.Companion::unwrap)) } /** * @param dataPathLabelType The option that specifies individual data values for labels. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("09d0098d08bf18d98123fd8fbd9d17825d7aa735c77f0d8cb9aca162d15aae48") override fun dataPathLabelType(dataPathLabelType: DataPathLabelTypeProperty.Builder.() -> Unit): Unit = dataPathLabelType(DataPathLabelTypeProperty(dataPathLabelType)) /** * @param fieldLabelType Determines the label configuration for the entire field. */ override fun fieldLabelType(fieldLabelType: IResolvable) { cdkBuilder.fieldLabelType(fieldLabelType.let(IResolvable.Companion::unwrap)) } /** * @param fieldLabelType Determines the label configuration for the entire field. */ override fun fieldLabelType(fieldLabelType: FieldLabelTypeProperty) { cdkBuilder.fieldLabelType(fieldLabelType.let(FieldLabelTypeProperty.Companion::unwrap)) } /** * @param fieldLabelType Determines the label configuration for the entire field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6b3c0ad84f8cdc07ad2efcb10c7bada541b28514dfc9ae649d5eba7129ab3db5") override fun fieldLabelType(fieldLabelType: FieldLabelTypeProperty.Builder.() -> Unit): Unit = fieldLabelType(FieldLabelTypeProperty(fieldLabelType)) /** * @param maximumLabelType Determines the label configuration for the maximum value in a * visual. */ override fun maximumLabelType(maximumLabelType: IResolvable) { cdkBuilder.maximumLabelType(maximumLabelType.let(IResolvable.Companion::unwrap)) } /** * @param maximumLabelType Determines the label configuration for the maximum value in a * visual. */ override fun maximumLabelType(maximumLabelType: MaximumLabelTypeProperty) { cdkBuilder.maximumLabelType(maximumLabelType.let(MaximumLabelTypeProperty.Companion::unwrap)) } /** * @param maximumLabelType Determines the label configuration for the maximum value in a * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("af23c55704418396d3def28de882f0aa69c33141fca78c8c38cf02bd9f872ea0") override fun maximumLabelType(maximumLabelType: MaximumLabelTypeProperty.Builder.() -> Unit): Unit = maximumLabelType(MaximumLabelTypeProperty(maximumLabelType)) /** * @param minimumLabelType Determines the label configuration for the minimum value in a * visual. */ override fun minimumLabelType(minimumLabelType: IResolvable) { cdkBuilder.minimumLabelType(minimumLabelType.let(IResolvable.Companion::unwrap)) } /** * @param minimumLabelType Determines the label configuration for the minimum value in a * visual. */ override fun minimumLabelType(minimumLabelType: MinimumLabelTypeProperty) { cdkBuilder.minimumLabelType(minimumLabelType.let(MinimumLabelTypeProperty.Companion::unwrap)) } /** * @param minimumLabelType Determines the label configuration for the minimum value in a * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("897ce915c7f2b9937f19d1ef379c9a207661fdc6381597775bdb6683d63f212b") override fun minimumLabelType(minimumLabelType: MinimumLabelTypeProperty.Builder.() -> Unit): Unit = minimumLabelType(MinimumLabelTypeProperty(minimumLabelType)) /** * @param rangeEndsLabelType Determines the label configuration for range end value in a * visual. */ override fun rangeEndsLabelType(rangeEndsLabelType: IResolvable) { cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(IResolvable.Companion::unwrap)) } /** * @param rangeEndsLabelType Determines the label configuration for range end value in a * visual. */ override fun rangeEndsLabelType(rangeEndsLabelType: RangeEndsLabelTypeProperty) { cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(RangeEndsLabelTypeProperty.Companion::unwrap)) } /** * @param rangeEndsLabelType Determines the label configuration for range end value in a * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("52917e02fb35def411c2894845ea19946b24d8e0c1e440d494219b5052a04ddd") override fun rangeEndsLabelType(rangeEndsLabelType: RangeEndsLabelTypeProperty.Builder.() -> Unit): Unit = rangeEndsLabelType(RangeEndsLabelTypeProperty(rangeEndsLabelType)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelTypeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelTypeProperty, ) : CdkObject(cdkObject), DataLabelTypeProperty { /** * The option that specifies individual data values for labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeltype.html#cfn-quicksight-dashboard-datalabeltype-datapathlabeltype) */ override fun dataPathLabelType(): Any? = unwrap(this).getDataPathLabelType() /** * Determines the label configuration for the entire field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeltype.html#cfn-quicksight-dashboard-datalabeltype-fieldlabeltype) */ override fun fieldLabelType(): Any? = unwrap(this).getFieldLabelType() /** * Determines the label configuration for the maximum value in a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeltype.html#cfn-quicksight-dashboard-datalabeltype-maximumlabeltype) */ override fun maximumLabelType(): Any? = unwrap(this).getMaximumLabelType() /** * Determines the label configuration for the minimum value in a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeltype.html#cfn-quicksight-dashboard-datalabeltype-minimumlabeltype) */ override fun minimumLabelType(): Any? = unwrap(this).getMinimumLabelType() /** * Determines the label configuration for range end value in a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datalabeltype.html#cfn-quicksight-dashboard-datalabeltype-rangeendslabeltype) */ override fun rangeEndsLabelType(): Any? = unwrap(this).getRangeEndsLabelType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataLabelTypeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelTypeProperty): DataLabelTypeProperty = CdkObjectWrappers.wrap(cdkObject) as? DataLabelTypeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataLabelTypeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelTypeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelTypeProperty } } /** * The color map that determines the color options for a particular element. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataPathColorProperty dataPathColorProperty = DataPathColorProperty.builder() * .color("color") * .element(DataPathValueProperty.builder() * .dataPathType(DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build()) * .fieldId("fieldId") * .fieldValue("fieldValue") * .build()) * // the properties below are optional * .timeGranularity("timeGranularity") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathcolor.html) */ public interface DataPathColorProperty { /** * The color that needs to be applied to the element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathcolor.html#cfn-quicksight-dashboard-datapathcolor-color) */ public fun color(): String /** * The element that the color needs to be applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathcolor.html#cfn-quicksight-dashboard-datapathcolor-element) */ public fun element(): Any /** * The time granularity of the field that the color needs to be applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathcolor.html#cfn-quicksight-dashboard-datapathcolor-timegranularity) */ public fun timeGranularity(): String? = unwrap(this).getTimeGranularity() /** * A builder for [DataPathColorProperty] */ @CdkDslMarker public interface Builder { /** * @param color The color that needs to be applied to the element. */ public fun color(color: String) /** * @param element The element that the color needs to be applied to. */ public fun element(element: IResolvable) /** * @param element The element that the color needs to be applied to. */ public fun element(element: DataPathValueProperty) /** * @param element The element that the color needs to be applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("25eba9942a08eb615a75bcfec233fe3afebb7d23de1a5ac9220d8fb42cbdca65") public fun element(element: DataPathValueProperty.Builder.() -> Unit) /** * @param timeGranularity The time granularity of the field that the color needs to be applied * to. */ public fun timeGranularity(timeGranularity: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathColorProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathColorProperty.builder() /** * @param color The color that needs to be applied to the element. */ override fun color(color: String) { cdkBuilder.color(color) } /** * @param element The element that the color needs to be applied to. */ override fun element(element: IResolvable) { cdkBuilder.element(element.let(IResolvable.Companion::unwrap)) } /** * @param element The element that the color needs to be applied to. */ override fun element(element: DataPathValueProperty) { cdkBuilder.element(element.let(DataPathValueProperty.Companion::unwrap)) } /** * @param element The element that the color needs to be applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("25eba9942a08eb615a75bcfec233fe3afebb7d23de1a5ac9220d8fb42cbdca65") override fun element(element: DataPathValueProperty.Builder.() -> Unit): Unit = element(DataPathValueProperty(element)) /** * @param timeGranularity The time granularity of the field that the color needs to be applied * to. */ override fun timeGranularity(timeGranularity: String) { cdkBuilder.timeGranularity(timeGranularity) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathColorProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathColorProperty, ) : CdkObject(cdkObject), DataPathColorProperty { /** * The color that needs to be applied to the element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathcolor.html#cfn-quicksight-dashboard-datapathcolor-color) */ override fun color(): String = unwrap(this).getColor() /** * The element that the color needs to be applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathcolor.html#cfn-quicksight-dashboard-datapathcolor-element) */ override fun element(): Any = unwrap(this).getElement() /** * The time granularity of the field that the color needs to be applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathcolor.html#cfn-quicksight-dashboard-datapathcolor-timegranularity) */ override fun timeGranularity(): String? = unwrap(this).getTimeGranularity() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataPathColorProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathColorProperty): DataPathColorProperty = CdkObjectWrappers.wrap(cdkObject) as? DataPathColorProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataPathColorProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathColorProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathColorProperty } } /** * The option that specifies individual data values for labels. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataPathLabelTypeProperty dataPathLabelTypeProperty = DataPathLabelTypeProperty.builder() * .fieldId("fieldId") * .fieldValue("fieldValue") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathlabeltype.html) */ public interface DataPathLabelTypeProperty { /** * The field ID of the field that the data label needs to be applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathlabeltype.html#cfn-quicksight-dashboard-datapathlabeltype-fieldid) */ public fun fieldId(): String? = unwrap(this).getFieldId() /** * The actual value of the field that is labeled. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathlabeltype.html#cfn-quicksight-dashboard-datapathlabeltype-fieldvalue) */ public fun fieldValue(): String? = unwrap(this).getFieldValue() /** * The visibility of the data label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathlabeltype.html#cfn-quicksight-dashboard-datapathlabeltype-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [DataPathLabelTypeProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldId The field ID of the field that the data label needs to be applied to. */ public fun fieldId(fieldId: String) /** * @param fieldValue The actual value of the field that is labeled. */ public fun fieldValue(fieldValue: String) /** * @param visibility The visibility of the data label. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathLabelTypeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathLabelTypeProperty.builder() /** * @param fieldId The field ID of the field that the data label needs to be applied to. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param fieldValue The actual value of the field that is labeled. */ override fun fieldValue(fieldValue: String) { cdkBuilder.fieldValue(fieldValue) } /** * @param visibility The visibility of the data label. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathLabelTypeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathLabelTypeProperty, ) : CdkObject(cdkObject), DataPathLabelTypeProperty { /** * The field ID of the field that the data label needs to be applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathlabeltype.html#cfn-quicksight-dashboard-datapathlabeltype-fieldid) */ override fun fieldId(): String? = unwrap(this).getFieldId() /** * The actual value of the field that is labeled. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathlabeltype.html#cfn-quicksight-dashboard-datapathlabeltype-fieldvalue) */ override fun fieldValue(): String? = unwrap(this).getFieldValue() /** * The visibility of the data label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathlabeltype.html#cfn-quicksight-dashboard-datapathlabeltype-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataPathLabelTypeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathLabelTypeProperty): DataPathLabelTypeProperty = CdkObjectWrappers.wrap(cdkObject) as? DataPathLabelTypeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataPathLabelTypeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathLabelTypeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathLabelTypeProperty } } /** * Allows data paths to be sorted by a specific data value. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataPathSortProperty dataPathSortProperty = DataPathSortProperty.builder() * .direction("direction") * .sortPaths(List.of(DataPathValueProperty.builder() * .dataPathType(DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build()) * .fieldId("fieldId") * .fieldValue("fieldValue") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathsort.html) */ public interface DataPathSortProperty { /** * Determines the sort direction. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathsort.html#cfn-quicksight-dashboard-datapathsort-direction) */ public fun direction(): String /** * The list of data paths that need to be sorted. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathsort.html#cfn-quicksight-dashboard-datapathsort-sortpaths) */ public fun sortPaths(): Any /** * A builder for [DataPathSortProperty] */ @CdkDslMarker public interface Builder { /** * @param direction Determines the sort direction. */ public fun direction(direction: String) /** * @param sortPaths The list of data paths that need to be sorted. */ public fun sortPaths(sortPaths: IResolvable) /** * @param sortPaths The list of data paths that need to be sorted. */ public fun sortPaths(sortPaths: List) /** * @param sortPaths The list of data paths that need to be sorted. */ public fun sortPaths(vararg sortPaths: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathSortProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathSortProperty.builder() /** * @param direction Determines the sort direction. */ override fun direction(direction: String) { cdkBuilder.direction(direction) } /** * @param sortPaths The list of data paths that need to be sorted. */ override fun sortPaths(sortPaths: IResolvable) { cdkBuilder.sortPaths(sortPaths.let(IResolvable.Companion::unwrap)) } /** * @param sortPaths The list of data paths that need to be sorted. */ override fun sortPaths(sortPaths: List) { cdkBuilder.sortPaths(sortPaths.map{CdkObjectWrappers.unwrap(it)}) } /** * @param sortPaths The list of data paths that need to be sorted. */ override fun sortPaths(vararg sortPaths: Any): Unit = sortPaths(sortPaths.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathSortProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathSortProperty, ) : CdkObject(cdkObject), DataPathSortProperty { /** * Determines the sort direction. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathsort.html#cfn-quicksight-dashboard-datapathsort-direction) */ override fun direction(): String = unwrap(this).getDirection() /** * The list of data paths that need to be sorted. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathsort.html#cfn-quicksight-dashboard-datapathsort-sortpaths) */ override fun sortPaths(): Any = unwrap(this).getSortPaths() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataPathSortProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathSortProperty): DataPathSortProperty = CdkObjectWrappers.wrap(cdkObject) as? DataPathSortProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataPathSortProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathSortProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathSortProperty } } /** * The type of the data path value. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataPathTypeProperty dataPathTypeProperty = DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathtype.html) */ public interface DataPathTypeProperty { /** * The type of data path value utilized in a pivot table. Choose one of the following options:. * * * `HIERARCHY_ROWS_LAYOUT_COLUMN` - The type of data path for the rows layout column, when * `RowsLayout` is set to `HIERARCHY` . * * `MULTIPLE_ROW_METRICS_COLUMN` - The type of data path for the metric column when the row is * set to Metric Placement. * * `EMPTY_COLUMN_HEADER` - The type of data path for the column with empty column header, when * there is no field in `ColumnsFieldWell` and the row is set to Metric Placement. * * `COUNT_METRIC_COLUMN` - The type of data path for the column with `COUNT` as the metric, * when there is no field in the `ValuesFieldWell` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathtype.html#cfn-quicksight-dashboard-datapathtype-pivottabledatapathtype) */ public fun pivotTableDataPathType(): String? = unwrap(this).getPivotTableDataPathType() /** * A builder for [DataPathTypeProperty] */ @CdkDslMarker public interface Builder { /** * @param pivotTableDataPathType The type of data path value utilized in a pivot table. Choose * one of the following options:. * * `HIERARCHY_ROWS_LAYOUT_COLUMN` - The type of data path for the rows layout column, when * `RowsLayout` is set to `HIERARCHY` . * * `MULTIPLE_ROW_METRICS_COLUMN` - The type of data path for the metric column when the row * is set to Metric Placement. * * `EMPTY_COLUMN_HEADER` - The type of data path for the column with empty column header, * when there is no field in `ColumnsFieldWell` and the row is set to Metric Placement. * * `COUNT_METRIC_COLUMN` - The type of data path for the column with `COUNT` as the metric, * when there is no field in the `ValuesFieldWell` . */ public fun pivotTableDataPathType(pivotTableDataPathType: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathTypeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathTypeProperty.builder() /** * @param pivotTableDataPathType The type of data path value utilized in a pivot table. Choose * one of the following options:. * * `HIERARCHY_ROWS_LAYOUT_COLUMN` - The type of data path for the rows layout column, when * `RowsLayout` is set to `HIERARCHY` . * * `MULTIPLE_ROW_METRICS_COLUMN` - The type of data path for the metric column when the row * is set to Metric Placement. * * `EMPTY_COLUMN_HEADER` - The type of data path for the column with empty column header, * when there is no field in `ColumnsFieldWell` and the row is set to Metric Placement. * * `COUNT_METRIC_COLUMN` - The type of data path for the column with `COUNT` as the metric, * when there is no field in the `ValuesFieldWell` . */ override fun pivotTableDataPathType(pivotTableDataPathType: String) { cdkBuilder.pivotTableDataPathType(pivotTableDataPathType) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathTypeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathTypeProperty, ) : CdkObject(cdkObject), DataPathTypeProperty { /** * The type of data path value utilized in a pivot table. Choose one of the following * options:. * * * `HIERARCHY_ROWS_LAYOUT_COLUMN` - The type of data path for the rows layout column, when * `RowsLayout` is set to `HIERARCHY` . * * `MULTIPLE_ROW_METRICS_COLUMN` - The type of data path for the metric column when the row * is set to Metric Placement. * * `EMPTY_COLUMN_HEADER` - The type of data path for the column with empty column header, * when there is no field in `ColumnsFieldWell` and the row is set to Metric Placement. * * `COUNT_METRIC_COLUMN` - The type of data path for the column with `COUNT` as the metric, * when there is no field in the `ValuesFieldWell` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathtype.html#cfn-quicksight-dashboard-datapathtype-pivottabledatapathtype) */ override fun pivotTableDataPathType(): String? = unwrap(this).getPivotTableDataPathType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataPathTypeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathTypeProperty): DataPathTypeProperty = CdkObjectWrappers.wrap(cdkObject) as? DataPathTypeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataPathTypeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathTypeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathTypeProperty } } /** * The data path that needs to be sorted. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataPathValueProperty dataPathValueProperty = DataPathValueProperty.builder() * .dataPathType(DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build()) * .fieldId("fieldId") * .fieldValue("fieldValue") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathvalue.html) */ public interface DataPathValueProperty { /** * The type configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathvalue.html#cfn-quicksight-dashboard-datapathvalue-datapathtype) */ public fun dataPathType(): Any? = unwrap(this).getDataPathType() /** * The field ID of the field that needs to be sorted. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathvalue.html#cfn-quicksight-dashboard-datapathvalue-fieldid) */ public fun fieldId(): String? = unwrap(this).getFieldId() /** * The actual value of the field that needs to be sorted. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathvalue.html#cfn-quicksight-dashboard-datapathvalue-fieldvalue) */ public fun fieldValue(): String? = unwrap(this).getFieldValue() /** * A builder for [DataPathValueProperty] */ @CdkDslMarker public interface Builder { /** * @param dataPathType The type configuration of the field. */ public fun dataPathType(dataPathType: IResolvable) /** * @param dataPathType The type configuration of the field. */ public fun dataPathType(dataPathType: DataPathTypeProperty) /** * @param dataPathType The type configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5120e2c9d6d292571c5754a8af4ab6a1c372ed7cdbaf2acd341022ead9882f77") public fun dataPathType(dataPathType: DataPathTypeProperty.Builder.() -> Unit) /** * @param fieldId The field ID of the field that needs to be sorted. */ public fun fieldId(fieldId: String) /** * @param fieldValue The actual value of the field that needs to be sorted. */ public fun fieldValue(fieldValue: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathValueProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathValueProperty.builder() /** * @param dataPathType The type configuration of the field. */ override fun dataPathType(dataPathType: IResolvable) { cdkBuilder.dataPathType(dataPathType.let(IResolvable.Companion::unwrap)) } /** * @param dataPathType The type configuration of the field. */ override fun dataPathType(dataPathType: DataPathTypeProperty) { cdkBuilder.dataPathType(dataPathType.let(DataPathTypeProperty.Companion::unwrap)) } /** * @param dataPathType The type configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5120e2c9d6d292571c5754a8af4ab6a1c372ed7cdbaf2acd341022ead9882f77") override fun dataPathType(dataPathType: DataPathTypeProperty.Builder.() -> Unit): Unit = dataPathType(DataPathTypeProperty(dataPathType)) /** * @param fieldId The field ID of the field that needs to be sorted. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param fieldValue The actual value of the field that needs to be sorted. */ override fun fieldValue(fieldValue: String) { cdkBuilder.fieldValue(fieldValue) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathValueProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathValueProperty, ) : CdkObject(cdkObject), DataPathValueProperty { /** * The type configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathvalue.html#cfn-quicksight-dashboard-datapathvalue-datapathtype) */ override fun dataPathType(): Any? = unwrap(this).getDataPathType() /** * The field ID of the field that needs to be sorted. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathvalue.html#cfn-quicksight-dashboard-datapathvalue-fieldid) */ override fun fieldId(): String? = unwrap(this).getFieldId() /** * The actual value of the field that needs to be sorted. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathvalue.html#cfn-quicksight-dashboard-datapathvalue-fieldvalue) */ override fun fieldValue(): String? = unwrap(this).getFieldValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataPathValueProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathValueProperty): DataPathValueProperty = CdkObjectWrappers.wrap(cdkObject) as? DataPathValueProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataPathValueProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathValueProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathValueProperty } } /** * The drill down options for data points in a dashbaord. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataPointDrillUpDownOptionProperty dataPointDrillUpDownOptionProperty = * DataPointDrillUpDownOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapointdrillupdownoption.html) */ public interface DataPointDrillUpDownOptionProperty { /** * The status of the drill down options of data points. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapointdrillupdownoption.html#cfn-quicksight-dashboard-datapointdrillupdownoption-availabilitystatus) */ public fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() /** * A builder for [DataPointDrillUpDownOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param availabilityStatus The status of the drill down options of data points. */ public fun availabilityStatus(availabilityStatus: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointDrillUpDownOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointDrillUpDownOptionProperty.builder() /** * @param availabilityStatus The status of the drill down options of data points. */ override fun availabilityStatus(availabilityStatus: String) { cdkBuilder.availabilityStatus(availabilityStatus) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointDrillUpDownOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointDrillUpDownOptionProperty, ) : CdkObject(cdkObject), DataPointDrillUpDownOptionProperty { /** * The status of the drill down options of data points. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapointdrillupdownoption.html#cfn-quicksight-dashboard-datapointdrillupdownoption-availabilitystatus) */ override fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataPointDrillUpDownOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointDrillUpDownOptionProperty): DataPointDrillUpDownOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? DataPointDrillUpDownOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataPointDrillUpDownOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointDrillUpDownOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointDrillUpDownOptionProperty } } /** * The data point menu options of a dashboard. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataPointMenuLabelOptionProperty dataPointMenuLabelOptionProperty = * DataPointMenuLabelOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapointmenulabeloption.html) */ public interface DataPointMenuLabelOptionProperty { /** * The status of the data point menu options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapointmenulabeloption.html#cfn-quicksight-dashboard-datapointmenulabeloption-availabilitystatus) */ public fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() /** * A builder for [DataPointMenuLabelOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param availabilityStatus The status of the data point menu options. */ public fun availabilityStatus(availabilityStatus: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointMenuLabelOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointMenuLabelOptionProperty.builder() /** * @param availabilityStatus The status of the data point menu options. */ override fun availabilityStatus(availabilityStatus: String) { cdkBuilder.availabilityStatus(availabilityStatus) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointMenuLabelOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointMenuLabelOptionProperty, ) : CdkObject(cdkObject), DataPointMenuLabelOptionProperty { /** * The status of the data point menu options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapointmenulabeloption.html#cfn-quicksight-dashboard-datapointmenulabeloption-availabilitystatus) */ override fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataPointMenuLabelOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointMenuLabelOptionProperty): DataPointMenuLabelOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? DataPointMenuLabelOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataPointMenuLabelOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointMenuLabelOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointMenuLabelOptionProperty } } /** * The data point tooltip options. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataPointTooltipOptionProperty dataPointTooltipOptionProperty = * DataPointTooltipOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapointtooltipoption.html) */ public interface DataPointTooltipOptionProperty { /** * The status of the data point tool tip options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapointtooltipoption.html#cfn-quicksight-dashboard-datapointtooltipoption-availabilitystatus) */ public fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() /** * A builder for [DataPointTooltipOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param availabilityStatus The status of the data point tool tip options. */ public fun availabilityStatus(availabilityStatus: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointTooltipOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointTooltipOptionProperty.builder() /** * @param availabilityStatus The status of the data point tool tip options. */ override fun availabilityStatus(availabilityStatus: String) { cdkBuilder.availabilityStatus(availabilityStatus) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointTooltipOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointTooltipOptionProperty, ) : CdkObject(cdkObject), DataPointTooltipOptionProperty { /** * The status of the data point tool tip options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapointtooltipoption.html#cfn-quicksight-dashboard-datapointtooltipoption-availabilitystatus) */ override fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataPointTooltipOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointTooltipOptionProperty): DataPointTooltipOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? DataPointTooltipOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataPointTooltipOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointTooltipOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataPointTooltipOptionProperty } } /** * A data set. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataSetIdentifierDeclarationProperty dataSetIdentifierDeclarationProperty = * DataSetIdentifierDeclarationProperty.builder() * .dataSetArn("dataSetArn") * .identifier("identifier") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetidentifierdeclaration.html) */ public interface DataSetIdentifierDeclarationProperty { /** * The Amazon Resource Name (ARN) of the data set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetidentifierdeclaration.html#cfn-quicksight-dashboard-datasetidentifierdeclaration-datasetarn) */ public fun dataSetArn(): String /** * The identifier of the data set, typically the data set's name. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetidentifierdeclaration.html#cfn-quicksight-dashboard-datasetidentifierdeclaration-identifier) */ public fun identifier(): String /** * A builder for [DataSetIdentifierDeclarationProperty] */ @CdkDslMarker public interface Builder { /** * @param dataSetArn The Amazon Resource Name (ARN) of the data set. */ public fun dataSetArn(dataSetArn: String) /** * @param identifier The identifier of the data set, typically the data set's name. */ public fun identifier(identifier: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetIdentifierDeclarationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetIdentifierDeclarationProperty.builder() /** * @param dataSetArn The Amazon Resource Name (ARN) of the data set. */ override fun dataSetArn(dataSetArn: String) { cdkBuilder.dataSetArn(dataSetArn) } /** * @param identifier The identifier of the data set, typically the data set's name. */ override fun identifier(identifier: String) { cdkBuilder.identifier(identifier) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetIdentifierDeclarationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetIdentifierDeclarationProperty, ) : CdkObject(cdkObject), DataSetIdentifierDeclarationProperty { /** * The Amazon Resource Name (ARN) of the data set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetidentifierdeclaration.html#cfn-quicksight-dashboard-datasetidentifierdeclaration-datasetarn) */ override fun dataSetArn(): String = unwrap(this).getDataSetArn() /** * The identifier of the data set, typically the data set's name. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetidentifierdeclaration.html#cfn-quicksight-dashboard-datasetidentifierdeclaration-identifier) */ override fun identifier(): String = unwrap(this).getIdentifier() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataSetIdentifierDeclarationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetIdentifierDeclarationProperty): DataSetIdentifierDeclarationProperty = CdkObjectWrappers.wrap(cdkObject) as? DataSetIdentifierDeclarationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataSetIdentifierDeclarationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetIdentifierDeclarationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetIdentifierDeclarationProperty } } /** * Dataset reference. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DataSetReferenceProperty dataSetReferenceProperty = DataSetReferenceProperty.builder() * .dataSetArn("dataSetArn") * .dataSetPlaceholder("dataSetPlaceholder") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetreference.html) */ public interface DataSetReferenceProperty { /** * Dataset Amazon Resource Name (ARN). * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetreference.html#cfn-quicksight-dashboard-datasetreference-datasetarn) */ public fun dataSetArn(): String /** * Dataset placeholder. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetreference.html#cfn-quicksight-dashboard-datasetreference-datasetplaceholder) */ public fun dataSetPlaceholder(): String /** * A builder for [DataSetReferenceProperty] */ @CdkDslMarker public interface Builder { /** * @param dataSetArn Dataset Amazon Resource Name (ARN). */ public fun dataSetArn(dataSetArn: String) /** * @param dataSetPlaceholder Dataset placeholder. */ public fun dataSetPlaceholder(dataSetPlaceholder: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetReferenceProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetReferenceProperty.builder() /** * @param dataSetArn Dataset Amazon Resource Name (ARN). */ override fun dataSetArn(dataSetArn: String) { cdkBuilder.dataSetArn(dataSetArn) } /** * @param dataSetPlaceholder Dataset placeholder. */ override fun dataSetPlaceholder(dataSetPlaceholder: String) { cdkBuilder.dataSetPlaceholder(dataSetPlaceholder) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetReferenceProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetReferenceProperty, ) : CdkObject(cdkObject), DataSetReferenceProperty { /** * Dataset Amazon Resource Name (ARN). * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetreference.html#cfn-quicksight-dashboard-datasetreference-datasetarn) */ override fun dataSetArn(): String = unwrap(this).getDataSetArn() /** * Dataset placeholder. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetreference.html#cfn-quicksight-dashboard-datasetreference-datasetplaceholder) */ override fun dataSetPlaceholder(): String = unwrap(this).getDataSetPlaceholder() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DataSetReferenceProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetReferenceProperty): DataSetReferenceProperty = CdkObjectWrappers.wrap(cdkObject) as? DataSetReferenceProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DataSetReferenceProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetReferenceProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DataSetReferenceProperty } } /** * The options that determine how a date axis is displayed. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DateAxisOptionsProperty dateAxisOptionsProperty = DateAxisOptionsProperty.builder() * .missingDateVisibility("missingDateVisibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dateaxisoptions.html) */ public interface DateAxisOptionsProperty { /** * Determines whether or not missing dates are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dateaxisoptions.html#cfn-quicksight-dashboard-dateaxisoptions-missingdatevisibility) */ public fun missingDateVisibility(): String? = unwrap(this).getMissingDateVisibility() /** * A builder for [DateAxisOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param missingDateVisibility Determines whether or not missing dates are displayed. */ public fun missingDateVisibility(missingDateVisibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DateAxisOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DateAxisOptionsProperty.builder() /** * @param missingDateVisibility Determines whether or not missing dates are displayed. */ override fun missingDateVisibility(missingDateVisibility: String) { cdkBuilder.missingDateVisibility(missingDateVisibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DateAxisOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateAxisOptionsProperty, ) : CdkObject(cdkObject), DateAxisOptionsProperty { /** * Determines whether or not missing dates are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dateaxisoptions.html#cfn-quicksight-dashboard-dateaxisoptions-missingdatevisibility) */ override fun missingDateVisibility(): String? = unwrap(this).getMissingDateVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DateAxisOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateAxisOptionsProperty): DateAxisOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DateAxisOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DateAxisOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DateAxisOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DateAxisOptionsProperty } } /** * The dimension type field with date type columns. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DateDimensionFieldProperty dateDimensionFieldProperty = DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datedimensionfield.html) */ public interface DateDimensionFieldProperty { /** * The column that is used in the `DateDimensionField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datedimensionfield.html#cfn-quicksight-dashboard-datedimensionfield-column) */ public fun column(): Any /** * The date granularity of the `DateDimensionField` . Choose one of the following options:. * * * `YEAR` * * `QUARTER` * * `MONTH` * * `WEEK` * * `DAY` * * `HOUR` * * `MINUTE` * * `SECOND` * * `MILLISECOND` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datedimensionfield.html#cfn-quicksight-dashboard-datedimensionfield-dategranularity) */ public fun dateGranularity(): String? = unwrap(this).getDateGranularity() /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datedimensionfield.html#cfn-quicksight-dashboard-datedimensionfield-fieldid) */ public fun fieldId(): String /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datedimensionfield.html#cfn-quicksight-dashboard-datedimensionfield-formatconfiguration) */ public fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * The custom hierarchy ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datedimensionfield.html#cfn-quicksight-dashboard-datedimensionfield-hierarchyid) */ public fun hierarchyId(): String? = unwrap(this).getHierarchyId() /** * A builder for [DateDimensionFieldProperty] */ @CdkDslMarker public interface Builder { /** * @param column The column that is used in the `DateDimensionField` . */ public fun column(column: IResolvable) /** * @param column The column that is used in the `DateDimensionField` . */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that is used in the `DateDimensionField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8e1f38b47b3cc518d21cf7432f58c40410bf7275e8b5042b08c1c07d1448ccba") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param dateGranularity The date granularity of the `DateDimensionField` . Choose one of the * following options:. * * `YEAR` * * `QUARTER` * * `MONTH` * * `WEEK` * * `DAY` * * `HOUR` * * `MINUTE` * * `SECOND` * * `MILLISECOND` */ public fun dateGranularity(dateGranularity: String) /** * @param fieldId The custom field ID. */ public fun fieldId(fieldId: String) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: IResolvable) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty) /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("58f1ccb458e7d6860dd560121811e69ac456d9b73e6c11d6fdfd2049409dff56") public fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty.Builder.() -> Unit) /** * @param hierarchyId The custom hierarchy ID. */ public fun hierarchyId(hierarchyId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DateDimensionFieldProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DateDimensionFieldProperty.builder() /** * @param column The column that is used in the `DateDimensionField` . */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `DateDimensionField` . */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that is used in the `DateDimensionField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8e1f38b47b3cc518d21cf7432f58c40410bf7275e8b5042b08c1c07d1448ccba") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param dateGranularity The date granularity of the `DateDimensionField` . Choose one of the * following options:. * * `YEAR` * * `QUARTER` * * `MONTH` * * `WEEK` * * `DAY` * * `HOUR` * * `MINUTE` * * `SECOND` * * `MILLISECOND` */ override fun dateGranularity(dateGranularity: String) { cdkBuilder.dateGranularity(dateGranularity) } /** * @param fieldId The custom field ID. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty) { cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("58f1ccb458e7d6860dd560121811e69ac456d9b73e6c11d6fdfd2049409dff56") override fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty.Builder.() -> Unit): Unit = formatConfiguration(DateTimeFormatConfigurationProperty(formatConfiguration)) /** * @param hierarchyId The custom hierarchy ID. */ override fun hierarchyId(hierarchyId: String) { cdkBuilder.hierarchyId(hierarchyId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DateDimensionFieldProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateDimensionFieldProperty, ) : CdkObject(cdkObject), DateDimensionFieldProperty { /** * The column that is used in the `DateDimensionField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datedimensionfield.html#cfn-quicksight-dashboard-datedimensionfield-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The date granularity of the `DateDimensionField` . Choose one of the following options:. * * * `YEAR` * * `QUARTER` * * `MONTH` * * `WEEK` * * `DAY` * * `HOUR` * * `MINUTE` * * `SECOND` * * `MILLISECOND` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datedimensionfield.html#cfn-quicksight-dashboard-datedimensionfield-dategranularity) */ override fun dateGranularity(): String? = unwrap(this).getDateGranularity() /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datedimensionfield.html#cfn-quicksight-dashboard-datedimensionfield-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datedimensionfield.html#cfn-quicksight-dashboard-datedimensionfield-formatconfiguration) */ override fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * The custom hierarchy ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datedimensionfield.html#cfn-quicksight-dashboard-datedimensionfield-hierarchyid) */ override fun hierarchyId(): String? = unwrap(this).getHierarchyId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DateDimensionFieldProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateDimensionFieldProperty): DateDimensionFieldProperty = CdkObjectWrappers.wrap(cdkObject) as? DateDimensionFieldProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DateDimensionFieldProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DateDimensionFieldProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DateDimensionFieldProperty } } /** * The measure type field with date type columns. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DateMeasureFieldProperty dateMeasureFieldProperty = DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datemeasurefield.html) */ public interface DateMeasureFieldProperty { /** * The aggregation function of the measure field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datemeasurefield.html#cfn-quicksight-dashboard-datemeasurefield-aggregationfunction) */ public fun aggregationFunction(): String? = unwrap(this).getAggregationFunction() /** * The column that is used in the `DateMeasureField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datemeasurefield.html#cfn-quicksight-dashboard-datemeasurefield-column) */ public fun column(): Any /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datemeasurefield.html#cfn-quicksight-dashboard-datemeasurefield-fieldid) */ public fun fieldId(): String /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datemeasurefield.html#cfn-quicksight-dashboard-datemeasurefield-formatconfiguration) */ public fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * A builder for [DateMeasureFieldProperty] */ @CdkDslMarker public interface Builder { /** * @param aggregationFunction The aggregation function of the measure field. */ public fun aggregationFunction(aggregationFunction: String) /** * @param column The column that is used in the `DateMeasureField` . */ public fun column(column: IResolvable) /** * @param column The column that is used in the `DateMeasureField` . */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that is used in the `DateMeasureField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8f5261ed56d6cf1534a58a5283252e6e9ec0812a46908d92bdf5b07a24f6528c") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param fieldId The custom field ID. */ public fun fieldId(fieldId: String) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: IResolvable) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty) /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e72eb40a6eed3e70ab621bbe94a1e164bb027c22cabe38b6f65ecac3a9158a34") public fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DateMeasureFieldProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DateMeasureFieldProperty.builder() /** * @param aggregationFunction The aggregation function of the measure field. */ override fun aggregationFunction(aggregationFunction: String) { cdkBuilder.aggregationFunction(aggregationFunction) } /** * @param column The column that is used in the `DateMeasureField` . */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `DateMeasureField` . */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that is used in the `DateMeasureField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8f5261ed56d6cf1534a58a5283252e6e9ec0812a46908d92bdf5b07a24f6528c") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param fieldId The custom field ID. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty) { cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e72eb40a6eed3e70ab621bbe94a1e164bb027c22cabe38b6f65ecac3a9158a34") override fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty.Builder.() -> Unit): Unit = formatConfiguration(DateTimeFormatConfigurationProperty(formatConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DateMeasureFieldProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateMeasureFieldProperty, ) : CdkObject(cdkObject), DateMeasureFieldProperty { /** * The aggregation function of the measure field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datemeasurefield.html#cfn-quicksight-dashboard-datemeasurefield-aggregationfunction) */ override fun aggregationFunction(): String? = unwrap(this).getAggregationFunction() /** * The column that is used in the `DateMeasureField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datemeasurefield.html#cfn-quicksight-dashboard-datemeasurefield-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datemeasurefield.html#cfn-quicksight-dashboard-datemeasurefield-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datemeasurefield.html#cfn-quicksight-dashboard-datemeasurefield-formatconfiguration) */ override fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DateMeasureFieldProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateMeasureFieldProperty): DateMeasureFieldProperty = CdkObjectWrappers.wrap(cdkObject) as? DateMeasureFieldProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DateMeasureFieldProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DateMeasureFieldProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DateMeasureFieldProperty } } /** * The default values of the `DateTimeParameterDeclaration` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DateTimeDefaultValuesProperty dateTimeDefaultValuesProperty = * DateTimeDefaultValuesProperty.builder() * .dynamicValue(DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .rollingDate(RollingDateConfigurationProperty.builder() * .expression("expression") * // the properties below are optional * .dataSetIdentifier("dataSetIdentifier") * .build()) * .staticValues(List.of("staticValues")) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimedefaultvalues.html) */ public interface DateTimeDefaultValuesProperty { /** * The dynamic value of the `DataTimeDefaultValues` . * * Different defaults are displayed according to users, groups, and values mapping. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimedefaultvalues.html#cfn-quicksight-dashboard-datetimedefaultvalues-dynamicvalue) */ public fun dynamicValue(): Any? = unwrap(this).getDynamicValue() /** * The rolling date of the `DataTimeDefaultValues` . * * The date is determined from the dataset based on input expression. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimedefaultvalues.html#cfn-quicksight-dashboard-datetimedefaultvalues-rollingdate) */ public fun rollingDate(): Any? = unwrap(this).getRollingDate() /** * The static values of the `DataTimeDefaultValues` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimedefaultvalues.html#cfn-quicksight-dashboard-datetimedefaultvalues-staticvalues) */ public fun staticValues(): List = unwrap(this).getStaticValues() ?: emptyList() /** * A builder for [DateTimeDefaultValuesProperty] */ @CdkDslMarker public interface Builder { /** * @param dynamicValue The dynamic value of the `DataTimeDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ public fun dynamicValue(dynamicValue: IResolvable) /** * @param dynamicValue The dynamic value of the `DataTimeDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ public fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) /** * @param dynamicValue The dynamic value of the `DataTimeDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dbe5a22421038f32c6e4eeabe7c3d421fd0f867dc13c0cd8801122db1a9ecc94") public fun dynamicValue(dynamicValue: DynamicDefaultValueProperty.Builder.() -> Unit) /** * @param rollingDate The rolling date of the `DataTimeDefaultValues` . * The date is determined from the dataset based on input expression. */ public fun rollingDate(rollingDate: IResolvable) /** * @param rollingDate The rolling date of the `DataTimeDefaultValues` . * The date is determined from the dataset based on input expression. */ public fun rollingDate(rollingDate: RollingDateConfigurationProperty) /** * @param rollingDate The rolling date of the `DataTimeDefaultValues` . * The date is determined from the dataset based on input expression. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3091fa72646839d3bd1a0f5df30f01184c229c83e453a079cb6a186901aa8b24") public fun rollingDate(rollingDate: RollingDateConfigurationProperty.Builder.() -> Unit) /** * @param staticValues The static values of the `DataTimeDefaultValues` . */ public fun staticValues(staticValues: List) /** * @param staticValues The static values of the `DataTimeDefaultValues` . */ public fun staticValues(vararg staticValues: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeDefaultValuesProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeDefaultValuesProperty.builder() /** * @param dynamicValue The dynamic value of the `DataTimeDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** * @param dynamicValue The dynamic value of the `DataTimeDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** * @param dynamicValue The dynamic value of the `DataTimeDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dbe5a22421038f32c6e4eeabe7c3d421fd0f867dc13c0cd8801122db1a9ecc94") override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty.Builder.() -> Unit): Unit = dynamicValue(DynamicDefaultValueProperty(dynamicValue)) /** * @param rollingDate The rolling date of the `DataTimeDefaultValues` . * The date is determined from the dataset based on input expression. */ override fun rollingDate(rollingDate: IResolvable) { cdkBuilder.rollingDate(rollingDate.let(IResolvable.Companion::unwrap)) } /** * @param rollingDate The rolling date of the `DataTimeDefaultValues` . * The date is determined from the dataset based on input expression. */ override fun rollingDate(rollingDate: RollingDateConfigurationProperty) { cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty.Companion::unwrap)) } /** * @param rollingDate The rolling date of the `DataTimeDefaultValues` . * The date is determined from the dataset based on input expression. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3091fa72646839d3bd1a0f5df30f01184c229c83e453a079cb6a186901aa8b24") override fun rollingDate(rollingDate: RollingDateConfigurationProperty.Builder.() -> Unit): Unit = rollingDate(RollingDateConfigurationProperty(rollingDate)) /** * @param staticValues The static values of the `DataTimeDefaultValues` . */ override fun staticValues(staticValues: List) { cdkBuilder.staticValues(staticValues) } /** * @param staticValues The static values of the `DataTimeDefaultValues` . */ override fun staticValues(vararg staticValues: String): Unit = staticValues(staticValues.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeDefaultValuesProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeDefaultValuesProperty, ) : CdkObject(cdkObject), DateTimeDefaultValuesProperty { /** * The dynamic value of the `DataTimeDefaultValues` . * * Different defaults are displayed according to users, groups, and values mapping. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimedefaultvalues.html#cfn-quicksight-dashboard-datetimedefaultvalues-dynamicvalue) */ override fun dynamicValue(): Any? = unwrap(this).getDynamicValue() /** * The rolling date of the `DataTimeDefaultValues` . * * The date is determined from the dataset based on input expression. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimedefaultvalues.html#cfn-quicksight-dashboard-datetimedefaultvalues-rollingdate) */ override fun rollingDate(): Any? = unwrap(this).getRollingDate() /** * The static values of the `DataTimeDefaultValues` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimedefaultvalues.html#cfn-quicksight-dashboard-datetimedefaultvalues-staticvalues) */ override fun staticValues(): List = unwrap(this).getStaticValues() ?: emptyList() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DateTimeDefaultValuesProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeDefaultValuesProperty): DateTimeDefaultValuesProperty = CdkObjectWrappers.wrap(cdkObject) as? DateTimeDefaultValuesProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DateTimeDefaultValuesProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeDefaultValuesProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeDefaultValuesProperty } } /** * Formatting configuration for `DateTime` fields. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DateTimeFormatConfigurationProperty dateTimeFormatConfigurationProperty = * DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeformatconfiguration.html) */ public interface DateTimeFormatConfigurationProperty { /** * Determines the `DateTime` format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeformatconfiguration.html#cfn-quicksight-dashboard-datetimeformatconfiguration-datetimeformat) */ public fun dateTimeFormat(): String? = unwrap(this).getDateTimeFormat() /** * The options that determine the null value format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeformatconfiguration.html#cfn-quicksight-dashboard-datetimeformatconfiguration-nullvalueformatconfiguration) */ public fun nullValueFormatConfiguration(): Any? = unwrap(this).getNullValueFormatConfiguration() /** * The formatting configuration for numeric `DateTime` fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeformatconfiguration.html#cfn-quicksight-dashboard-datetimeformatconfiguration-numericformatconfiguration) */ public fun numericFormatConfiguration(): Any? = unwrap(this).getNumericFormatConfiguration() /** * A builder for [DateTimeFormatConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param dateTimeFormat Determines the `DateTime` format. */ public fun dateTimeFormat(dateTimeFormat: String) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ public fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ public fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("78a8ae1de0dffe8edc2d185020b1792ce1e4fddddf0735d74c73195dc44d616f") public fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty.Builder.() -> Unit) /** * @param numericFormatConfiguration The formatting configuration for numeric `DateTime` * fields. */ public fun numericFormatConfiguration(numericFormatConfiguration: IResolvable) /** * @param numericFormatConfiguration The formatting configuration for numeric `DateTime` * fields. */ public fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty) /** * @param numericFormatConfiguration The formatting configuration for numeric `DateTime` * fields. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d427f944bc1b08b0f34637fa8e0e3255c2df04d560dc9f28275722083b30296b") public fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeFormatConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeFormatConfigurationProperty.builder() /** * @param dateTimeFormat Determines the `DateTime` format. */ override fun dateTimeFormat(dateTimeFormat: String) { cdkBuilder.dateTimeFormat(dateTimeFormat) } /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("78a8ae1de0dffe8edc2d185020b1792ce1e4fddddf0735d74c73195dc44d616f") override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty.Builder.() -> Unit): Unit = nullValueFormatConfiguration(NullValueFormatConfigurationProperty(nullValueFormatConfiguration)) /** * @param numericFormatConfiguration The formatting configuration for numeric `DateTime` * fields. */ override fun numericFormatConfiguration(numericFormatConfiguration: IResolvable) { cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param numericFormatConfiguration The formatting configuration for numeric `DateTime` * fields. */ override fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty) { cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** * @param numericFormatConfiguration The formatting configuration for numeric `DateTime` * fields. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d427f944bc1b08b0f34637fa8e0e3255c2df04d560dc9f28275722083b30296b") override fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty.Builder.() -> Unit): Unit = numericFormatConfiguration(NumericFormatConfigurationProperty(numericFormatConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeFormatConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeFormatConfigurationProperty, ) : CdkObject(cdkObject), DateTimeFormatConfigurationProperty { /** * Determines the `DateTime` format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeformatconfiguration.html#cfn-quicksight-dashboard-datetimeformatconfiguration-datetimeformat) */ override fun dateTimeFormat(): String? = unwrap(this).getDateTimeFormat() /** * The options that determine the null value format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeformatconfiguration.html#cfn-quicksight-dashboard-datetimeformatconfiguration-nullvalueformatconfiguration) */ override fun nullValueFormatConfiguration(): Any? = unwrap(this).getNullValueFormatConfiguration() /** * The formatting configuration for numeric `DateTime` fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeformatconfiguration.html#cfn-quicksight-dashboard-datetimeformatconfiguration-numericformatconfiguration) */ override fun numericFormatConfiguration(): Any? = unwrap(this).getNumericFormatConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DateTimeFormatConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeFormatConfigurationProperty): DateTimeFormatConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? DateTimeFormatConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DateTimeFormatConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeFormatConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeFormatConfigurationProperty } } /** * The option that determines the hierarchy of any `DateTime` fields. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DateTimeHierarchyProperty dateTimeHierarchyProperty = DateTimeHierarchyProperty.builder() * .hierarchyId("hierarchyId") * // the properties below are optional * .drillDownFilters(List.of(DrillDownFilterProperty.builder() * .categoryFilter(CategoryDrillDownFilterProperty.builder() * .categoryValues(List.of("categoryValues")) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .numericEqualityFilter(NumericEqualityDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .value(123) * .build()) * .timeRangeFilter(TimeRangeDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .rangeMaximum("rangeMaximum") * .rangeMinimum("rangeMinimum") * .timeGranularity("timeGranularity") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimehierarchy.html) */ public interface DateTimeHierarchyProperty { /** * The option that determines the drill down filters for the `DateTime` hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimehierarchy.html#cfn-quicksight-dashboard-datetimehierarchy-drilldownfilters) */ public fun drillDownFilters(): Any? = unwrap(this).getDrillDownFilters() /** * The hierarchy ID of the `DateTime` hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimehierarchy.html#cfn-quicksight-dashboard-datetimehierarchy-hierarchyid) */ public fun hierarchyId(): String /** * A builder for [DateTimeHierarchyProperty] */ @CdkDslMarker public interface Builder { /** * @param drillDownFilters The option that determines the drill down filters for the * `DateTime` hierarchy. */ public fun drillDownFilters(drillDownFilters: IResolvable) /** * @param drillDownFilters The option that determines the drill down filters for the * `DateTime` hierarchy. */ public fun drillDownFilters(drillDownFilters: List) /** * @param drillDownFilters The option that determines the drill down filters for the * `DateTime` hierarchy. */ public fun drillDownFilters(vararg drillDownFilters: Any) /** * @param hierarchyId The hierarchy ID of the `DateTime` hierarchy. */ public fun hierarchyId(hierarchyId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeHierarchyProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeHierarchyProperty.builder() /** * @param drillDownFilters The option that determines the drill down filters for the * `DateTime` hierarchy. */ override fun drillDownFilters(drillDownFilters: IResolvable) { cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable.Companion::unwrap)) } /** * @param drillDownFilters The option that determines the drill down filters for the * `DateTime` hierarchy. */ override fun drillDownFilters(drillDownFilters: List) { cdkBuilder.drillDownFilters(drillDownFilters.map{CdkObjectWrappers.unwrap(it)}) } /** * @param drillDownFilters The option that determines the drill down filters for the * `DateTime` hierarchy. */ override fun drillDownFilters(vararg drillDownFilters: Any): Unit = drillDownFilters(drillDownFilters.toList()) /** * @param hierarchyId The hierarchy ID of the `DateTime` hierarchy. */ override fun hierarchyId(hierarchyId: String) { cdkBuilder.hierarchyId(hierarchyId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeHierarchyProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeHierarchyProperty, ) : CdkObject(cdkObject), DateTimeHierarchyProperty { /** * The option that determines the drill down filters for the `DateTime` hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimehierarchy.html#cfn-quicksight-dashboard-datetimehierarchy-drilldownfilters) */ override fun drillDownFilters(): Any? = unwrap(this).getDrillDownFilters() /** * The hierarchy ID of the `DateTime` hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimehierarchy.html#cfn-quicksight-dashboard-datetimehierarchy-hierarchyid) */ override fun hierarchyId(): String = unwrap(this).getHierarchyId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DateTimeHierarchyProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeHierarchyProperty): DateTimeHierarchyProperty = CdkObjectWrappers.wrap(cdkObject) as? DateTimeHierarchyProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DateTimeHierarchyProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeHierarchyProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeHierarchyProperty } } /** * A parameter declaration for the `DateTime` data type. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DateTimeParameterDeclarationProperty dateTimeParameterDeclarationProperty = * DateTimeParameterDeclarationProperty.builder() * .name("name") * // the properties below are optional * .defaultValues(DateTimeDefaultValuesProperty.builder() * .dynamicValue(DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .rollingDate(RollingDateConfigurationProperty.builder() * .expression("expression") * // the properties below are optional * .dataSetIdentifier("dataSetIdentifier") * .build()) * .staticValues(List.of("staticValues")) * .build()) * .mappedDataSetParameters(List.of(MappedDataSetParameterProperty.builder() * .dataSetIdentifier("dataSetIdentifier") * .dataSetParameterName("dataSetParameterName") * .build())) * .timeGranularity("timeGranularity") * .valueWhenUnset(DateTimeValueWhenUnsetConfigurationProperty.builder() * .customValue("customValue") * .valueWhenUnsetOption("valueWhenUnsetOption") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameterdeclaration.html) */ public interface DateTimeParameterDeclarationProperty { /** * The default values of a parameter. * * If the parameter is a single-value parameter, a maximum of one default value can be provided. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameterdeclaration.html#cfn-quicksight-dashboard-datetimeparameterdeclaration-defaultvalues) */ public fun defaultValues(): Any? = unwrap(this).getDefaultValues() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameterdeclaration.html#cfn-quicksight-dashboard-datetimeparameterdeclaration-mappeddatasetparameters) */ public fun mappedDataSetParameters(): Any? = unwrap(this).getMappedDataSetParameters() /** * The name of the parameter that is being declared. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameterdeclaration.html#cfn-quicksight-dashboard-datetimeparameterdeclaration-name) */ public fun name(): String /** * The level of time precision that is used to aggregate `DateTime` values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameterdeclaration.html#cfn-quicksight-dashboard-datetimeparameterdeclaration-timegranularity) */ public fun timeGranularity(): String? = unwrap(this).getTimeGranularity() /** * The configuration that defines the default value of a `DateTime` parameter when a value has * not been set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameterdeclaration.html#cfn-quicksight-dashboard-datetimeparameterdeclaration-valuewhenunset) */ public fun valueWhenUnset(): Any? = unwrap(this).getValueWhenUnset() /** * A builder for [DateTimeParameterDeclarationProperty] */ @CdkDslMarker public interface Builder { /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ public fun defaultValues(defaultValues: IResolvable) /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ public fun defaultValues(defaultValues: DateTimeDefaultValuesProperty) /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dcc5e7bfcf1a619e7faf39508cde77ce77c6541864eb0d7223e88983a9f99f83") public fun defaultValues(defaultValues: DateTimeDefaultValuesProperty.Builder.() -> Unit) /** * @param mappedDataSetParameters the value to be set. */ public fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) /** * @param mappedDataSetParameters the value to be set. */ public fun mappedDataSetParameters(mappedDataSetParameters: List) /** * @param mappedDataSetParameters the value to be set. */ public fun mappedDataSetParameters(vararg mappedDataSetParameters: Any) /** * @param name The name of the parameter that is being declared. */ public fun name(name: String) /** * @param timeGranularity The level of time precision that is used to aggregate `DateTime` * values. */ public fun timeGranularity(timeGranularity: String) /** * @param valueWhenUnset The configuration that defines the default value of a `DateTime` * parameter when a value has not been set. */ public fun valueWhenUnset(valueWhenUnset: IResolvable) /** * @param valueWhenUnset The configuration that defines the default value of a `DateTime` * parameter when a value has not been set. */ public fun valueWhenUnset(valueWhenUnset: DateTimeValueWhenUnsetConfigurationProperty) /** * @param valueWhenUnset The configuration that defines the default value of a `DateTime` * parameter when a value has not been set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("43fc5b775a00d7da62aab5804038b992dc50698bef222fb4585b0fb4feef68e1") public fun valueWhenUnset(valueWhenUnset: DateTimeValueWhenUnsetConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterDeclarationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterDeclarationProperty.builder() /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ override fun defaultValues(defaultValues: IResolvable) { cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ override fun defaultValues(defaultValues: DateTimeDefaultValuesProperty) { cdkBuilder.defaultValues(defaultValues.let(DateTimeDefaultValuesProperty.Companion::unwrap)) } /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dcc5e7bfcf1a619e7faf39508cde77ce77c6541864eb0d7223e88983a9f99f83") override fun defaultValues(defaultValues: DateTimeDefaultValuesProperty.Builder.() -> Unit): Unit = defaultValues(DateTimeDefaultValuesProperty(defaultValues)) /** * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: List) { cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.map{CdkObjectWrappers.unwrap(it)}) } /** * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(vararg mappedDataSetParameters: Any): Unit = mappedDataSetParameters(mappedDataSetParameters.toList()) /** * @param name The name of the parameter that is being declared. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param timeGranularity The level of time precision that is used to aggregate `DateTime` * values. */ override fun timeGranularity(timeGranularity: String) { cdkBuilder.timeGranularity(timeGranularity) } /** * @param valueWhenUnset The configuration that defines the default value of a `DateTime` * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** * @param valueWhenUnset The configuration that defines the default value of a `DateTime` * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: DateTimeValueWhenUnsetConfigurationProperty) { cdkBuilder.valueWhenUnset(valueWhenUnset.let(DateTimeValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** * @param valueWhenUnset The configuration that defines the default value of a `DateTime` * parameter when a value has not been set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("43fc5b775a00d7da62aab5804038b992dc50698bef222fb4585b0fb4feef68e1") override fun valueWhenUnset(valueWhenUnset: DateTimeValueWhenUnsetConfigurationProperty.Builder.() -> Unit): Unit = valueWhenUnset(DateTimeValueWhenUnsetConfigurationProperty(valueWhenUnset)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterDeclarationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterDeclarationProperty, ) : CdkObject(cdkObject), DateTimeParameterDeclarationProperty { /** * The default values of a parameter. * * If the parameter is a single-value parameter, a maximum of one default value can be * provided. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameterdeclaration.html#cfn-quicksight-dashboard-datetimeparameterdeclaration-defaultvalues) */ override fun defaultValues(): Any? = unwrap(this).getDefaultValues() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameterdeclaration.html#cfn-quicksight-dashboard-datetimeparameterdeclaration-mappeddatasetparameters) */ override fun mappedDataSetParameters(): Any? = unwrap(this).getMappedDataSetParameters() /** * The name of the parameter that is being declared. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameterdeclaration.html#cfn-quicksight-dashboard-datetimeparameterdeclaration-name) */ override fun name(): String = unwrap(this).getName() /** * The level of time precision that is used to aggregate `DateTime` values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameterdeclaration.html#cfn-quicksight-dashboard-datetimeparameterdeclaration-timegranularity) */ override fun timeGranularity(): String? = unwrap(this).getTimeGranularity() /** * The configuration that defines the default value of a `DateTime` parameter when a value has * not been set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameterdeclaration.html#cfn-quicksight-dashboard-datetimeparameterdeclaration-valuewhenunset) */ override fun valueWhenUnset(): Any? = unwrap(this).getValueWhenUnset() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DateTimeParameterDeclarationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterDeclarationProperty): DateTimeParameterDeclarationProperty = CdkObjectWrappers.wrap(cdkObject) as? DateTimeParameterDeclarationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DateTimeParameterDeclarationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterDeclarationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterDeclarationProperty } } /** * A date-time parameter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DateTimeParameterProperty dateTimeParameterProperty = DateTimeParameterProperty.builder() * .name("name") * .values(List.of("values")) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameter.html) */ public interface DateTimeParameterProperty { /** * A display name for the date-time parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameter.html#cfn-quicksight-dashboard-datetimeparameter-name) */ public fun name(): String /** * The values for the date-time parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameter.html#cfn-quicksight-dashboard-datetimeparameter-values) */ public fun values(): List /** * A builder for [DateTimeParameterProperty] */ @CdkDslMarker public interface Builder { /** * @param name A display name for the date-time parameter. */ public fun name(name: String) /** * @param values The values for the date-time parameter. */ public fun values(values: List) /** * @param values The values for the date-time parameter. */ public fun values(vararg values: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterProperty.builder() /** * @param name A display name for the date-time parameter. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param values The values for the date-time parameter. */ override fun values(values: List) { cdkBuilder.values(values) } /** * @param values The values for the date-time parameter. */ override fun values(vararg values: String): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterProperty, ) : CdkObject(cdkObject), DateTimeParameterProperty { /** * A display name for the date-time parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameter.html#cfn-quicksight-dashboard-datetimeparameter-name) */ override fun name(): String = unwrap(this).getName() /** * The values for the date-time parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameter.html#cfn-quicksight-dashboard-datetimeparameter-values) */ override fun values(): List = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DateTimeParameterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterProperty): DateTimeParameterProperty = CdkObjectWrappers.wrap(cdkObject) as? DateTimeParameterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DateTimeParameterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterProperty } } /** * The display options of a control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DateTimePickerControlDisplayOptionsProperty dateTimePickerControlDisplayOptionsProperty = * DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimepickercontroldisplayoptions.html) */ public interface DateTimePickerControlDisplayOptionsProperty { /** * Customize how dates are formatted in controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimepickercontroldisplayoptions.html#cfn-quicksight-dashboard-datetimepickercontroldisplayoptions-datetimeformat) */ public fun dateTimeFormat(): String? = unwrap(this).getDateTimeFormat() /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimepickercontroldisplayoptions.html#cfn-quicksight-dashboard-datetimepickercontroldisplayoptions-infoiconlabeloptions) */ public fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimepickercontroldisplayoptions.html#cfn-quicksight-dashboard-datetimepickercontroldisplayoptions-titleoptions) */ public fun titleOptions(): Any? = unwrap(this).getTitleOptions() /** * A builder for [DateTimePickerControlDisplayOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param dateTimeFormat Customize how dates are formatted in controls. */ public fun dateTimeFormat(dateTimeFormat: String) /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a67c213c5d79b6397301b808365683ac79a739787b68fdea2ccf61eca64a35ce") public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: IResolvable) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: LabelOptionsProperty) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("26d3c4e37ff5d6ca2e36fba1cb1c659c324a4800bf1f20ce68a95dd727b24fa3") public fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimePickerControlDisplayOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimePickerControlDisplayOptionsProperty.builder() /** * @param dateTimeFormat Customize how dates are formatted in controls. */ override fun dateTimeFormat(dateTimeFormat: String) { cdkBuilder.dateTimeFormat(dateTimeFormat) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a67c213c5d79b6397301b808365683ac79a739787b68fdea2ccf61eca64a35ce") override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit): Unit = infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty(infoIconLabelOptions)) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("26d3c4e37ff5d6ca2e36fba1cb1c659c324a4800bf1f20ce68a95dd727b24fa3") override fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit): Unit = titleOptions(LabelOptionsProperty(titleOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimePickerControlDisplayOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimePickerControlDisplayOptionsProperty, ) : CdkObject(cdkObject), DateTimePickerControlDisplayOptionsProperty { /** * Customize how dates are formatted in controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimepickercontroldisplayoptions.html#cfn-quicksight-dashboard-datetimepickercontroldisplayoptions-datetimeformat) */ override fun dateTimeFormat(): String? = unwrap(this).getDateTimeFormat() /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimepickercontroldisplayoptions.html#cfn-quicksight-dashboard-datetimepickercontroldisplayoptions-infoiconlabeloptions) */ override fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimepickercontroldisplayoptions.html#cfn-quicksight-dashboard-datetimepickercontroldisplayoptions-titleoptions) */ override fun titleOptions(): Any? = unwrap(this).getTitleOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DateTimePickerControlDisplayOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimePickerControlDisplayOptionsProperty): DateTimePickerControlDisplayOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DateTimePickerControlDisplayOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DateTimePickerControlDisplayOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimePickerControlDisplayOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimePickerControlDisplayOptionsProperty } } /** * The configuration that defines the default value of a `DateTime` parameter when a value has not * been set. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DateTimeValueWhenUnsetConfigurationProperty dateTimeValueWhenUnsetConfigurationProperty = * DateTimeValueWhenUnsetConfigurationProperty.builder() * .customValue("customValue") * .valueWhenUnsetOption("valueWhenUnsetOption") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimevaluewhenunsetconfiguration.html) */ public interface DateTimeValueWhenUnsetConfigurationProperty { /** * A custom value that's used when the value of a parameter isn't set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimevaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-datetimevaluewhenunsetconfiguration-customvalue) */ public fun customValue(): String? = unwrap(this).getCustomValue() /** * The built-in options for default values. The value can be one of the following:. * * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimevaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-datetimevaluewhenunsetconfiguration-valuewhenunsetoption) */ public fun valueWhenUnsetOption(): String? = unwrap(this).getValueWhenUnsetOption() /** * A builder for [DateTimeValueWhenUnsetConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param customValue A custom value that's used when the value of a parameter isn't set. */ public fun customValue(customValue: String) /** * @param valueWhenUnsetOption The built-in options for default values. The value can be one * of the following:. * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. */ public fun valueWhenUnsetOption(valueWhenUnsetOption: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeValueWhenUnsetConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeValueWhenUnsetConfigurationProperty.builder() /** * @param customValue A custom value that's used when the value of a parameter isn't set. */ override fun customValue(customValue: String) { cdkBuilder.customValue(customValue) } /** * @param valueWhenUnsetOption The built-in options for default values. The value can be one * of the following:. * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. */ override fun valueWhenUnsetOption(valueWhenUnsetOption: String) { cdkBuilder.valueWhenUnsetOption(valueWhenUnsetOption) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeValueWhenUnsetConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeValueWhenUnsetConfigurationProperty, ) : CdkObject(cdkObject), DateTimeValueWhenUnsetConfigurationProperty { /** * A custom value that's used when the value of a parameter isn't set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimevaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-datetimevaluewhenunsetconfiguration-customvalue) */ override fun customValue(): String? = unwrap(this).getCustomValue() /** * The built-in options for default values. The value can be one of the following:. * * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimevaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-datetimevaluewhenunsetconfiguration-valuewhenunsetoption) */ override fun valueWhenUnsetOption(): String? = unwrap(this).getValueWhenUnsetOption() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DateTimeValueWhenUnsetConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeValueWhenUnsetConfigurationProperty): DateTimeValueWhenUnsetConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? DateTimeValueWhenUnsetConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DateTimeValueWhenUnsetConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeValueWhenUnsetConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeValueWhenUnsetConfigurationProperty } } /** * The default values of the `DecimalParameterDeclaration` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DecimalDefaultValuesProperty decimalDefaultValuesProperty = * DecimalDefaultValuesProperty.builder() * .dynamicValue(DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .staticValues(List.of(123)) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimaldefaultvalues.html) */ public interface DecimalDefaultValuesProperty { /** * The dynamic value of the `DecimalDefaultValues` . * * Different defaults are displayed according to users, groups, and values mapping. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimaldefaultvalues.html#cfn-quicksight-dashboard-decimaldefaultvalues-dynamicvalue) */ public fun dynamicValue(): Any? = unwrap(this).getDynamicValue() /** * The static values of the `DecimalDefaultValues` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimaldefaultvalues.html#cfn-quicksight-dashboard-decimaldefaultvalues-staticvalues) */ public fun staticValues(): Any? = unwrap(this).getStaticValues() /** * A builder for [DecimalDefaultValuesProperty] */ @CdkDslMarker public interface Builder { /** * @param dynamicValue The dynamic value of the `DecimalDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ public fun dynamicValue(dynamicValue: IResolvable) /** * @param dynamicValue The dynamic value of the `DecimalDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ public fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) /** * @param dynamicValue The dynamic value of the `DecimalDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("296d9660ab7a40e47cb35f09a7fc0a38a88c4f0e126903ea9564d50324894829") public fun dynamicValue(dynamicValue: DynamicDefaultValueProperty.Builder.() -> Unit) /** * @param staticValues The static values of the `DecimalDefaultValues` . */ public fun staticValues(staticValues: IResolvable) /** * @param staticValues The static values of the `DecimalDefaultValues` . */ public fun staticValues(staticValues: List) /** * @param staticValues The static values of the `DecimalDefaultValues` . */ public fun staticValues(vararg staticValues: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalDefaultValuesProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalDefaultValuesProperty.builder() /** * @param dynamicValue The dynamic value of the `DecimalDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** * @param dynamicValue The dynamic value of the `DecimalDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** * @param dynamicValue The dynamic value of the `DecimalDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("296d9660ab7a40e47cb35f09a7fc0a38a88c4f0e126903ea9564d50324894829") override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty.Builder.() -> Unit): Unit = dynamicValue(DynamicDefaultValueProperty(dynamicValue)) /** * @param staticValues The static values of the `DecimalDefaultValues` . */ override fun staticValues(staticValues: IResolvable) { cdkBuilder.staticValues(staticValues.let(IResolvable.Companion::unwrap)) } /** * @param staticValues The static values of the `DecimalDefaultValues` . */ override fun staticValues(staticValues: List) { cdkBuilder.staticValues(staticValues) } /** * @param staticValues The static values of the `DecimalDefaultValues` . */ override fun staticValues(vararg staticValues: Number): Unit = staticValues(staticValues.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalDefaultValuesProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalDefaultValuesProperty, ) : CdkObject(cdkObject), DecimalDefaultValuesProperty { /** * The dynamic value of the `DecimalDefaultValues` . * * Different defaults are displayed according to users, groups, and values mapping. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimaldefaultvalues.html#cfn-quicksight-dashboard-decimaldefaultvalues-dynamicvalue) */ override fun dynamicValue(): Any? = unwrap(this).getDynamicValue() /** * The static values of the `DecimalDefaultValues` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimaldefaultvalues.html#cfn-quicksight-dashboard-decimaldefaultvalues-staticvalues) */ override fun staticValues(): Any? = unwrap(this).getStaticValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DecimalDefaultValuesProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalDefaultValuesProperty): DecimalDefaultValuesProperty = CdkObjectWrappers.wrap(cdkObject) as? DecimalDefaultValuesProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DecimalDefaultValuesProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalDefaultValuesProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalDefaultValuesProperty } } /** * A parameter declaration for the `Decimal` data type. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DecimalParameterDeclarationProperty decimalParameterDeclarationProperty = * DecimalParameterDeclarationProperty.builder() * .name("name") * .parameterValueType("parameterValueType") * // the properties below are optional * .defaultValues(DecimalDefaultValuesProperty.builder() * .dynamicValue(DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .staticValues(List.of(123)) * .build()) * .mappedDataSetParameters(List.of(MappedDataSetParameterProperty.builder() * .dataSetIdentifier("dataSetIdentifier") * .dataSetParameterName("dataSetParameterName") * .build())) * .valueWhenUnset(DecimalValueWhenUnsetConfigurationProperty.builder() * .customValue(123) * .valueWhenUnsetOption("valueWhenUnsetOption") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameterdeclaration.html) */ public interface DecimalParameterDeclarationProperty { /** * The default values of a parameter. * * If the parameter is a single-value parameter, a maximum of one default value can be provided. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameterdeclaration.html#cfn-quicksight-dashboard-decimalparameterdeclaration-defaultvalues) */ public fun defaultValues(): Any? = unwrap(this).getDefaultValues() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameterdeclaration.html#cfn-quicksight-dashboard-decimalparameterdeclaration-mappeddatasetparameters) */ public fun mappedDataSetParameters(): Any? = unwrap(this).getMappedDataSetParameters() /** * The name of the parameter that is being declared. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameterdeclaration.html#cfn-quicksight-dashboard-decimalparameterdeclaration-name) */ public fun name(): String /** * The value type determines whether the parameter is a single-value or multi-value parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameterdeclaration.html#cfn-quicksight-dashboard-decimalparameterdeclaration-parametervaluetype) */ public fun parameterValueType(): String /** * The configuration that defines the default value of a `Decimal` parameter when a value has * not been set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameterdeclaration.html#cfn-quicksight-dashboard-decimalparameterdeclaration-valuewhenunset) */ public fun valueWhenUnset(): Any? = unwrap(this).getValueWhenUnset() /** * A builder for [DecimalParameterDeclarationProperty] */ @CdkDslMarker public interface Builder { /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ public fun defaultValues(defaultValues: IResolvable) /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ public fun defaultValues(defaultValues: DecimalDefaultValuesProperty) /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1ff7108ce90b28dbdbb6e25cbb178c3d5446852d0c6dcae15867234d96c45919") public fun defaultValues(defaultValues: DecimalDefaultValuesProperty.Builder.() -> Unit) /** * @param mappedDataSetParameters the value to be set. */ public fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) /** * @param mappedDataSetParameters the value to be set. */ public fun mappedDataSetParameters(mappedDataSetParameters: List) /** * @param mappedDataSetParameters the value to be set. */ public fun mappedDataSetParameters(vararg mappedDataSetParameters: Any) /** * @param name The name of the parameter that is being declared. */ public fun name(name: String) /** * @param parameterValueType The value type determines whether the parameter is a single-value * or multi-value parameter. */ public fun parameterValueType(parameterValueType: String) /** * @param valueWhenUnset The configuration that defines the default value of a `Decimal` * parameter when a value has not been set. */ public fun valueWhenUnset(valueWhenUnset: IResolvable) /** * @param valueWhenUnset The configuration that defines the default value of a `Decimal` * parameter when a value has not been set. */ public fun valueWhenUnset(valueWhenUnset: DecimalValueWhenUnsetConfigurationProperty) /** * @param valueWhenUnset The configuration that defines the default value of a `Decimal` * parameter when a value has not been set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("31eb1565df61b1edf7e6fb8c897f8960fccd7ac5ffd93ac955afbf4b394aa92b") public fun valueWhenUnset(valueWhenUnset: DecimalValueWhenUnsetConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterDeclarationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterDeclarationProperty.builder() /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ override fun defaultValues(defaultValues: IResolvable) { cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ override fun defaultValues(defaultValues: DecimalDefaultValuesProperty) { cdkBuilder.defaultValues(defaultValues.let(DecimalDefaultValuesProperty.Companion::unwrap)) } /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1ff7108ce90b28dbdbb6e25cbb178c3d5446852d0c6dcae15867234d96c45919") override fun defaultValues(defaultValues: DecimalDefaultValuesProperty.Builder.() -> Unit): Unit = defaultValues(DecimalDefaultValuesProperty(defaultValues)) /** * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: List) { cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.map{CdkObjectWrappers.unwrap(it)}) } /** * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(vararg mappedDataSetParameters: Any): Unit = mappedDataSetParameters(mappedDataSetParameters.toList()) /** * @param name The name of the parameter that is being declared. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param parameterValueType The value type determines whether the parameter is a single-value * or multi-value parameter. */ override fun parameterValueType(parameterValueType: String) { cdkBuilder.parameterValueType(parameterValueType) } /** * @param valueWhenUnset The configuration that defines the default value of a `Decimal` * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** * @param valueWhenUnset The configuration that defines the default value of a `Decimal` * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: DecimalValueWhenUnsetConfigurationProperty) { cdkBuilder.valueWhenUnset(valueWhenUnset.let(DecimalValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** * @param valueWhenUnset The configuration that defines the default value of a `Decimal` * parameter when a value has not been set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("31eb1565df61b1edf7e6fb8c897f8960fccd7ac5ffd93ac955afbf4b394aa92b") override fun valueWhenUnset(valueWhenUnset: DecimalValueWhenUnsetConfigurationProperty.Builder.() -> Unit): Unit = valueWhenUnset(DecimalValueWhenUnsetConfigurationProperty(valueWhenUnset)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterDeclarationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterDeclarationProperty, ) : CdkObject(cdkObject), DecimalParameterDeclarationProperty { /** * The default values of a parameter. * * If the parameter is a single-value parameter, a maximum of one default value can be * provided. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameterdeclaration.html#cfn-quicksight-dashboard-decimalparameterdeclaration-defaultvalues) */ override fun defaultValues(): Any? = unwrap(this).getDefaultValues() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameterdeclaration.html#cfn-quicksight-dashboard-decimalparameterdeclaration-mappeddatasetparameters) */ override fun mappedDataSetParameters(): Any? = unwrap(this).getMappedDataSetParameters() /** * The name of the parameter that is being declared. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameterdeclaration.html#cfn-quicksight-dashboard-decimalparameterdeclaration-name) */ override fun name(): String = unwrap(this).getName() /** * The value type determines whether the parameter is a single-value or multi-value parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameterdeclaration.html#cfn-quicksight-dashboard-decimalparameterdeclaration-parametervaluetype) */ override fun parameterValueType(): String = unwrap(this).getParameterValueType() /** * The configuration that defines the default value of a `Decimal` parameter when a value has * not been set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameterdeclaration.html#cfn-quicksight-dashboard-decimalparameterdeclaration-valuewhenunset) */ override fun valueWhenUnset(): Any? = unwrap(this).getValueWhenUnset() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DecimalParameterDeclarationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterDeclarationProperty): DecimalParameterDeclarationProperty = CdkObjectWrappers.wrap(cdkObject) as? DecimalParameterDeclarationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DecimalParameterDeclarationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterDeclarationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterDeclarationProperty } } /** * A decimal parameter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DecimalParameterProperty decimalParameterProperty = DecimalParameterProperty.builder() * .name("name") * .values(List.of(123)) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameter.html) */ public interface DecimalParameterProperty { /** * A display name for the decimal parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameter.html#cfn-quicksight-dashboard-decimalparameter-name) */ public fun name(): String /** * The values for the decimal parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameter.html#cfn-quicksight-dashboard-decimalparameter-values) */ public fun values(): Any /** * A builder for [DecimalParameterProperty] */ @CdkDslMarker public interface Builder { /** * @param name A display name for the decimal parameter. */ public fun name(name: String) /** * @param values The values for the decimal parameter. */ public fun values(values: IResolvable) /** * @param values The values for the decimal parameter. */ public fun values(values: List) /** * @param values The values for the decimal parameter. */ public fun values(vararg values: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterProperty.builder() /** * @param name A display name for the decimal parameter. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param values The values for the decimal parameter. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The values for the decimal parameter. */ override fun values(values: List) { cdkBuilder.values(values) } /** * @param values The values for the decimal parameter. */ override fun values(vararg values: Number): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterProperty, ) : CdkObject(cdkObject), DecimalParameterProperty { /** * A display name for the decimal parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameter.html#cfn-quicksight-dashboard-decimalparameter-name) */ override fun name(): String = unwrap(this).getName() /** * The values for the decimal parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameter.html#cfn-quicksight-dashboard-decimalparameter-values) */ override fun values(): Any = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DecimalParameterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterProperty): DecimalParameterProperty = CdkObjectWrappers.wrap(cdkObject) as? DecimalParameterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DecimalParameterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterProperty } } /** * The option that determines the decimal places configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DecimalPlacesConfigurationProperty decimalPlacesConfigurationProperty = * DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalplacesconfiguration.html) */ public interface DecimalPlacesConfigurationProperty { /** * The values of the decimal places. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalplacesconfiguration.html#cfn-quicksight-dashboard-decimalplacesconfiguration-decimalplaces) */ public fun decimalPlaces(): Number /** * A builder for [DecimalPlacesConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param decimalPlaces The values of the decimal places. */ public fun decimalPlaces(decimalPlaces: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalPlacesConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalPlacesConfigurationProperty.builder() /** * @param decimalPlaces The values of the decimal places. */ override fun decimalPlaces(decimalPlaces: Number) { cdkBuilder.decimalPlaces(decimalPlaces) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalPlacesConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalPlacesConfigurationProperty, ) : CdkObject(cdkObject), DecimalPlacesConfigurationProperty { /** * The values of the decimal places. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalplacesconfiguration.html#cfn-quicksight-dashboard-decimalplacesconfiguration-decimalplaces) */ override fun decimalPlaces(): Number = unwrap(this).getDecimalPlaces() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DecimalPlacesConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalPlacesConfigurationProperty): DecimalPlacesConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? DecimalPlacesConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DecimalPlacesConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalPlacesConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalPlacesConfigurationProperty } } /** * The configuration that defines the default value of a `Decimal` parameter when a value has not * been set. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DecimalValueWhenUnsetConfigurationProperty decimalValueWhenUnsetConfigurationProperty = * DecimalValueWhenUnsetConfigurationProperty.builder() * .customValue(123) * .valueWhenUnsetOption("valueWhenUnsetOption") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalvaluewhenunsetconfiguration.html) */ public interface DecimalValueWhenUnsetConfigurationProperty { /** * A custom value that's used when the value of a parameter isn't set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalvaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-decimalvaluewhenunsetconfiguration-customvalue) */ public fun customValue(): Number? = unwrap(this).getCustomValue() /** * The built-in options for default values. The value can be one of the following:. * * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalvaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-decimalvaluewhenunsetconfiguration-valuewhenunsetoption) */ public fun valueWhenUnsetOption(): String? = unwrap(this).getValueWhenUnsetOption() /** * A builder for [DecimalValueWhenUnsetConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param customValue A custom value that's used when the value of a parameter isn't set. */ public fun customValue(customValue: Number) /** * @param valueWhenUnsetOption The built-in options for default values. The value can be one * of the following:. * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. */ public fun valueWhenUnsetOption(valueWhenUnsetOption: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalValueWhenUnsetConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalValueWhenUnsetConfigurationProperty.builder() /** * @param customValue A custom value that's used when the value of a parameter isn't set. */ override fun customValue(customValue: Number) { cdkBuilder.customValue(customValue) } /** * @param valueWhenUnsetOption The built-in options for default values. The value can be one * of the following:. * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. */ override fun valueWhenUnsetOption(valueWhenUnsetOption: String) { cdkBuilder.valueWhenUnsetOption(valueWhenUnsetOption) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalValueWhenUnsetConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalValueWhenUnsetConfigurationProperty, ) : CdkObject(cdkObject), DecimalValueWhenUnsetConfigurationProperty { /** * A custom value that's used when the value of a parameter isn't set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalvaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-decimalvaluewhenunsetconfiguration-customvalue) */ override fun customValue(): Number? = unwrap(this).getCustomValue() /** * The built-in options for default values. The value can be one of the following:. * * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalvaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-decimalvaluewhenunsetconfiguration-valuewhenunsetoption) */ override fun valueWhenUnsetOption(): String? = unwrap(this).getValueWhenUnsetOption() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DecimalValueWhenUnsetConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalValueWhenUnsetConfigurationProperty): DecimalValueWhenUnsetConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? DecimalValueWhenUnsetConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DecimalValueWhenUnsetConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalValueWhenUnsetConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalValueWhenUnsetConfigurationProperty } } /** * The default options that correspond to the filter control type of a `DateTimePicker` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultDateTimePickerControlOptionsProperty defaultDateTimePickerControlOptionsProperty = * DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultdatetimepickercontroloptions.html) */ public interface DefaultDateTimePickerControlOptionsProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultdatetimepickercontroloptions.html#cfn-quicksight-dashboard-defaultdatetimepickercontroloptions-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the * following options:. * * * `SINGLE_VALUED` : The filter condition is a fixed date. * * `DATE_RANGE` : The filter condition is a date time range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultdatetimepickercontroloptions.html#cfn-quicksight-dashboard-defaultdatetimepickercontroloptions-type) */ public fun type(): String? = unwrap(this).getType() /** * A builder for [DefaultDateTimePickerControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9da82fc531dc518740fe03c9302ae0518f4dd5441aa5bc0cdc6bf44f2dbfb604") public fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param type The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose * one of the following options:. * * `SINGLE_VALUED` : The filter condition is a fixed date. * * `DATE_RANGE` : The filter condition is a date time range. */ public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9da82fc531dc518740fe03c9302ae0518f4dd5441aa5bc0cdc6bf44f2dbfb604") override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(DateTimePickerControlDisplayOptionsProperty(displayOptions)) /** * @param type The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose * one of the following options:. * * `SINGLE_VALUED` : The filter condition is a fixed date. * * `DATE_RANGE` : The filter condition is a date time range. */ override fun type(type: String) { cdkBuilder.type(type) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty, ) : CdkObject(cdkObject), DefaultDateTimePickerControlOptionsProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultdatetimepickercontroloptions.html#cfn-quicksight-dashboard-defaultdatetimepickercontroloptions-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the * following options:. * * * `SINGLE_VALUED` : The filter condition is a fixed date. * * `DATE_RANGE` : The filter condition is a date time range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultdatetimepickercontroloptions.html#cfn-quicksight-dashboard-defaultdatetimepickercontroloptions-type) */ override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultDateTimePickerControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty): DefaultDateTimePickerControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultDateTimePickerControlOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultDateTimePickerControlOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty } } /** * The default configuration for all dependent controls of the filter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultFilterControlConfigurationProperty defaultFilterControlConfigurationProperty = * DefaultFilterControlConfigurationProperty.builder() * .controlOptions(DefaultFilterControlOptionsProperty.builder() * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build()) * .title("title") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontrolconfiguration.html) */ public interface DefaultFilterControlConfigurationProperty { /** * The control option for the `DefaultFilterControlConfiguration` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontrolconfiguration.html#cfn-quicksight-dashboard-defaultfiltercontrolconfiguration-controloptions) */ public fun controlOptions(): Any /** * The title of the `DefaultFilterControlConfiguration` . * * This title is shared by all controls that are tied to this filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontrolconfiguration.html#cfn-quicksight-dashboard-defaultfiltercontrolconfiguration-title) */ public fun title(): String /** * A builder for [DefaultFilterControlConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . */ public fun controlOptions(controlOptions: IResolvable) /** * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . */ public fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty) /** * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("23174dfe5d3905a52c02c7a6900a515881ef4d5cc4f3250d8c20dc1d498aa0cc") public fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty.Builder.() -> Unit) /** * @param title The title of the `DefaultFilterControlConfiguration` . * This title is shared by all controls that are tied to this filter. */ public fun title(title: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty.builder() /** * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . */ override fun controlOptions(controlOptions: IResolvable) { cdkBuilder.controlOptions(controlOptions.let(IResolvable.Companion::unwrap)) } /** * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . */ override fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty) { cdkBuilder.controlOptions(controlOptions.let(DefaultFilterControlOptionsProperty.Companion::unwrap)) } /** * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("23174dfe5d3905a52c02c7a6900a515881ef4d5cc4f3250d8c20dc1d498aa0cc") override fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty.Builder.() -> Unit): Unit = controlOptions(DefaultFilterControlOptionsProperty(controlOptions)) /** * @param title The title of the `DefaultFilterControlConfiguration` . * This title is shared by all controls that are tied to this filter. */ override fun title(title: String) { cdkBuilder.title(title) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty, ) : CdkObject(cdkObject), DefaultFilterControlConfigurationProperty { /** * The control option for the `DefaultFilterControlConfiguration` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontrolconfiguration.html#cfn-quicksight-dashboard-defaultfiltercontrolconfiguration-controloptions) */ override fun controlOptions(): Any = unwrap(this).getControlOptions() /** * The title of the `DefaultFilterControlConfiguration` . * * This title is shared by all controls that are tied to this filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontrolconfiguration.html#cfn-quicksight-dashboard-defaultfiltercontrolconfiguration-title) */ override fun title(): String = unwrap(this).getTitle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultFilterControlConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty): DefaultFilterControlConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultFilterControlConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultFilterControlConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty } } /** * The option that corresponds to the control type of the filter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultFilterControlOptionsProperty defaultFilterControlOptionsProperty = * DefaultFilterControlOptionsProperty.builder() * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html) */ public interface DefaultFilterControlOptionsProperty { /** * The default options that correspond to the filter control type of a `DateTimePicker` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultdatetimepickeroptions) */ public fun defaultDateTimePickerOptions(): Any? = unwrap(this).getDefaultDateTimePickerOptions() /** * The default options that correspond to the `Dropdown` filter control type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultdropdownoptions) */ public fun defaultDropdownOptions(): Any? = unwrap(this).getDefaultDropdownOptions() /** * The default options that correspond to the `List` filter control type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultlistoptions) */ public fun defaultListOptions(): Any? = unwrap(this).getDefaultListOptions() /** * The default options that correspond to the `RelativeDateTime` filter control type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultrelativedatetimeoptions) */ public fun defaultRelativeDateTimeOptions(): Any? = unwrap(this).getDefaultRelativeDateTimeOptions() /** * The default options that correspond to the `Slider` filter control type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultslideroptions) */ public fun defaultSliderOptions(): Any? = unwrap(this).getDefaultSliderOptions() /** * The default options that correspond to the `TextArea` filter control type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaulttextareaoptions) */ public fun defaultTextAreaOptions(): Any? = unwrap(this).getDefaultTextAreaOptions() /** * The default options that correspond to the `TextField` filter control type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaulttextfieldoptions) */ public fun defaultTextFieldOptions(): Any? = unwrap(this).getDefaultTextFieldOptions() /** * A builder for [DefaultFilterControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param defaultDateTimePickerOptions The default options that correspond to the filter * control type of a `DateTimePicker` . */ public fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: IResolvable) /** * @param defaultDateTimePickerOptions The default options that correspond to the filter * control type of a `DateTimePicker` . */ public fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty) /** * @param defaultDateTimePickerOptions The default options that correspond to the filter * control type of a `DateTimePicker` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0ce943ba3753757e5eb5c1a9332a13bb25cae8824a7b7c36c308bfdba541faf7") public fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty.Builder.() -> Unit) /** * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter * control type. */ public fun defaultDropdownOptions(defaultDropdownOptions: IResolvable) /** * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter * control type. */ public fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty) /** * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter * control type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7ba4c0e567556eb2015ca340ede59e118d839166dd41c82ea1dff95f81cde6a4") public fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty.Builder.() -> Unit) /** * @param defaultListOptions The default options that correspond to the `List` filter control * type. */ public fun defaultListOptions(defaultListOptions: IResolvable) /** * @param defaultListOptions The default options that correspond to the `List` filter control * type. */ public fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty) /** * @param defaultListOptions The default options that correspond to the `List` filter control * type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("35f7df23ed2d3fa5c7849e0a020c57404b091e9ff107a81519e46279b0730dac") public fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty.Builder.() -> Unit) /** * @param defaultRelativeDateTimeOptions The default options that correspond to the * `RelativeDateTime` filter control type. */ public fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: IResolvable) /** * @param defaultRelativeDateTimeOptions The default options that correspond to the * `RelativeDateTime` filter control type. */ public fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty) /** * @param defaultRelativeDateTimeOptions The default options that correspond to the * `RelativeDateTime` filter control type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ab01c10610e1f433cec64d819e6c80f6ccd508221f78f0543998dba45be55f1f") public fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty.Builder.() -> Unit) /** * @param defaultSliderOptions The default options that correspond to the `Slider` filter * control type. */ public fun defaultSliderOptions(defaultSliderOptions: IResolvable) /** * @param defaultSliderOptions The default options that correspond to the `Slider` filter * control type. */ public fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty) /** * @param defaultSliderOptions The default options that correspond to the `Slider` filter * control type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5a231952626bd43140e8ff28934184446ee390dda0428405c7410d646b13bbe3") public fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty.Builder.() -> Unit) /** * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter * control type. */ public fun defaultTextAreaOptions(defaultTextAreaOptions: IResolvable) /** * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter * control type. */ public fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty) /** * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter * control type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("823867e9e820e745dfc4910b616e53c79ddd8feb9ee3ccb5e38a5b59f0dcbe1c") public fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty.Builder.() -> Unit) /** * @param defaultTextFieldOptions The default options that correspond to the `TextField` * filter control type. */ public fun defaultTextFieldOptions(defaultTextFieldOptions: IResolvable) /** * @param defaultTextFieldOptions The default options that correspond to the `TextField` * filter control type. */ public fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty) /** * @param defaultTextFieldOptions The default options that correspond to the `TextField` * filter control type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("420803f2bd3d8f7207d6963ba3474f16e79f0ac4399f35e2ddd9ef236cf5a931") public fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty.builder() /** * @param defaultDateTimePickerOptions The default options that correspond to the filter * control type of a `DateTimePicker` . */ override fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: IResolvable) { cdkBuilder.defaultDateTimePickerOptions(defaultDateTimePickerOptions.let(IResolvable.Companion::unwrap)) } /** * @param defaultDateTimePickerOptions The default options that correspond to the filter * control type of a `DateTimePicker` . */ override fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty) { cdkBuilder.defaultDateTimePickerOptions(defaultDateTimePickerOptions.let(DefaultDateTimePickerControlOptionsProperty.Companion::unwrap)) } /** * @param defaultDateTimePickerOptions The default options that correspond to the filter * control type of a `DateTimePicker` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0ce943ba3753757e5eb5c1a9332a13bb25cae8824a7b7c36c308bfdba541faf7") override fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty.Builder.() -> Unit): Unit = defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty(defaultDateTimePickerOptions)) /** * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter * control type. */ override fun defaultDropdownOptions(defaultDropdownOptions: IResolvable) { cdkBuilder.defaultDropdownOptions(defaultDropdownOptions.let(IResolvable.Companion::unwrap)) } /** * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter * control type. */ override fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty) { cdkBuilder.defaultDropdownOptions(defaultDropdownOptions.let(DefaultFilterDropDownControlOptionsProperty.Companion::unwrap)) } /** * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter * control type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7ba4c0e567556eb2015ca340ede59e118d839166dd41c82ea1dff95f81cde6a4") override fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty.Builder.() -> Unit): Unit = defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty(defaultDropdownOptions)) /** * @param defaultListOptions The default options that correspond to the `List` filter control * type. */ override fun defaultListOptions(defaultListOptions: IResolvable) { cdkBuilder.defaultListOptions(defaultListOptions.let(IResolvable.Companion::unwrap)) } /** * @param defaultListOptions The default options that correspond to the `List` filter control * type. */ override fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty) { cdkBuilder.defaultListOptions(defaultListOptions.let(DefaultFilterListControlOptionsProperty.Companion::unwrap)) } /** * @param defaultListOptions The default options that correspond to the `List` filter control * type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("35f7df23ed2d3fa5c7849e0a020c57404b091e9ff107a81519e46279b0730dac") override fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty.Builder.() -> Unit): Unit = defaultListOptions(DefaultFilterListControlOptionsProperty(defaultListOptions)) /** * @param defaultRelativeDateTimeOptions The default options that correspond to the * `RelativeDateTime` filter control type. */ override fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: IResolvable) { cdkBuilder.defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions.let(IResolvable.Companion::unwrap)) } /** * @param defaultRelativeDateTimeOptions The default options that correspond to the * `RelativeDateTime` filter control type. */ override fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty) { cdkBuilder.defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions.let(DefaultRelativeDateTimeControlOptionsProperty.Companion::unwrap)) } /** * @param defaultRelativeDateTimeOptions The default options that correspond to the * `RelativeDateTime` filter control type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ab01c10610e1f433cec64d819e6c80f6ccd508221f78f0543998dba45be55f1f") override fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty.Builder.() -> Unit): Unit = defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty(defaultRelativeDateTimeOptions)) /** * @param defaultSliderOptions The default options that correspond to the `Slider` filter * control type. */ override fun defaultSliderOptions(defaultSliderOptions: IResolvable) { cdkBuilder.defaultSliderOptions(defaultSliderOptions.let(IResolvable.Companion::unwrap)) } /** * @param defaultSliderOptions The default options that correspond to the `Slider` filter * control type. */ override fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty) { cdkBuilder.defaultSliderOptions(defaultSliderOptions.let(DefaultSliderControlOptionsProperty.Companion::unwrap)) } /** * @param defaultSliderOptions The default options that correspond to the `Slider` filter * control type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5a231952626bd43140e8ff28934184446ee390dda0428405c7410d646b13bbe3") override fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty.Builder.() -> Unit): Unit = defaultSliderOptions(DefaultSliderControlOptionsProperty(defaultSliderOptions)) /** * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter * control type. */ override fun defaultTextAreaOptions(defaultTextAreaOptions: IResolvable) { cdkBuilder.defaultTextAreaOptions(defaultTextAreaOptions.let(IResolvable.Companion::unwrap)) } /** * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter * control type. */ override fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty) { cdkBuilder.defaultTextAreaOptions(defaultTextAreaOptions.let(DefaultTextAreaControlOptionsProperty.Companion::unwrap)) } /** * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter * control type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("823867e9e820e745dfc4910b616e53c79ddd8feb9ee3ccb5e38a5b59f0dcbe1c") override fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty.Builder.() -> Unit): Unit = defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty(defaultTextAreaOptions)) /** * @param defaultTextFieldOptions The default options that correspond to the `TextField` * filter control type. */ override fun defaultTextFieldOptions(defaultTextFieldOptions: IResolvable) { cdkBuilder.defaultTextFieldOptions(defaultTextFieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param defaultTextFieldOptions The default options that correspond to the `TextField` * filter control type. */ override fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty) { cdkBuilder.defaultTextFieldOptions(defaultTextFieldOptions.let(DefaultTextFieldControlOptionsProperty.Companion::unwrap)) } /** * @param defaultTextFieldOptions The default options that correspond to the `TextField` * filter control type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("420803f2bd3d8f7207d6963ba3474f16e79f0ac4399f35e2ddd9ef236cf5a931") override fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty.Builder.() -> Unit): Unit = defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty(defaultTextFieldOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty, ) : CdkObject(cdkObject), DefaultFilterControlOptionsProperty { /** * The default options that correspond to the filter control type of a `DateTimePicker` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultdatetimepickeroptions) */ override fun defaultDateTimePickerOptions(): Any? = unwrap(this).getDefaultDateTimePickerOptions() /** * The default options that correspond to the `Dropdown` filter control type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultdropdownoptions) */ override fun defaultDropdownOptions(): Any? = unwrap(this).getDefaultDropdownOptions() /** * The default options that correspond to the `List` filter control type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultlistoptions) */ override fun defaultListOptions(): Any? = unwrap(this).getDefaultListOptions() /** * The default options that correspond to the `RelativeDateTime` filter control type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultrelativedatetimeoptions) */ override fun defaultRelativeDateTimeOptions(): Any? = unwrap(this).getDefaultRelativeDateTimeOptions() /** * The default options that correspond to the `Slider` filter control type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultslideroptions) */ override fun defaultSliderOptions(): Any? = unwrap(this).getDefaultSliderOptions() /** * The default options that correspond to the `TextArea` filter control type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaulttextareaoptions) */ override fun defaultTextAreaOptions(): Any? = unwrap(this).getDefaultTextAreaOptions() /** * The default options that correspond to the `TextField` filter control type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaulttextfieldoptions) */ override fun defaultTextFieldOptions(): Any? = unwrap(this).getDefaultTextFieldOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultFilterControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty): DefaultFilterControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultFilterControlOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultFilterControlOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty } } /** * The default options that correspond to the `Dropdown` filter control type. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultFilterDropDownControlOptionsProperty defaultFilterDropDownControlOptionsProperty = * DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html) */ public interface DefaultFilterDropDownControlOptionsProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html#cfn-quicksight-dashboard-defaultfilterdropdowncontroloptions-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * A list of selectable values that are used in a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html#cfn-quicksight-dashboard-defaultfilterdropdowncontroloptions-selectablevalues) */ public fun selectableValues(): Any? = unwrap(this).getSelectableValues() /** * The type of the `FilterDropDownControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html#cfn-quicksight-dashboard-defaultfilterdropdowncontroloptions-type) */ public fun type(): String? = unwrap(this).getType() /** * A builder for [DefaultFilterDropDownControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("35be417db3a9d272d2de2e4c33c3a870402272312c1a269f9fa7f0168d5f2279") public fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param selectableValues A list of selectable values that are used in a control. */ public fun selectableValues(selectableValues: IResolvable) /** * @param selectableValues A list of selectable values that are used in a control. */ public fun selectableValues(selectableValues: FilterSelectableValuesProperty) /** * @param selectableValues A list of selectable values that are used in a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7ba50628490342d0a388020c11798570f6898a4bc3dd97e5114fc37972e2b856") public fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit) /** * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. */ public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("35be417db3a9d272d2de2e4c33c3a870402272312c1a269f9fa7f0168d5f2279") override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(DropDownControlDisplayOptionsProperty(displayOptions)) /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7ba50628490342d0a388020c11798570f6898a4bc3dd97e5114fc37972e2b856") override fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit): Unit = selectableValues(FilterSelectableValuesProperty(selectableValues)) /** * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. */ override fun type(type: String) { cdkBuilder.type(type) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty, ) : CdkObject(cdkObject), DefaultFilterDropDownControlOptionsProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html#cfn-quicksight-dashboard-defaultfilterdropdowncontroloptions-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * A list of selectable values that are used in a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html#cfn-quicksight-dashboard-defaultfilterdropdowncontroloptions-selectablevalues) */ override fun selectableValues(): Any? = unwrap(this).getSelectableValues() /** * The type of the `FilterDropDownControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html#cfn-quicksight-dashboard-defaultfilterdropdowncontroloptions-type) */ override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultFilterDropDownControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty): DefaultFilterDropDownControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultFilterDropDownControlOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultFilterDropDownControlOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty } } /** * The default options that correspond to the `List` filter control type. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultFilterListControlOptionsProperty defaultFilterListControlOptionsProperty = * DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html) */ public interface DefaultFilterListControlOptionsProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html#cfn-quicksight-dashboard-defaultfilterlistcontroloptions-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * A list of selectable values that are used in a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html#cfn-quicksight-dashboard-defaultfilterlistcontroloptions-selectablevalues) */ public fun selectableValues(): Any? = unwrap(this).getSelectableValues() /** * The type of the `DefaultFilterListControlOptions` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html#cfn-quicksight-dashboard-defaultfilterlistcontroloptions-type) */ public fun type(): String? = unwrap(this).getType() /** * A builder for [DefaultFilterListControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d0c4fa77cb3425d0850d994f5a509ff4cbf27629dae596cd556a46d48d4dd29c") public fun displayOptions(displayOptions: ListControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param selectableValues A list of selectable values that are used in a control. */ public fun selectableValues(selectableValues: IResolvable) /** * @param selectableValues A list of selectable values that are used in a control. */ public fun selectableValues(selectableValues: FilterSelectableValuesProperty) /** * @param selectableValues A list of selectable values that are used in a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f999520371d665f8968800d020517ae45fd3dcf27c6b5e76f15adc5eb818349e") public fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit) /** * @param type The type of the `DefaultFilterListControlOptions` . Choose one of the following * options:. * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. */ public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d0c4fa77cb3425d0850d994f5a509ff4cbf27629dae596cd556a46d48d4dd29c") override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(ListControlDisplayOptionsProperty(displayOptions)) /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f999520371d665f8968800d020517ae45fd3dcf27c6b5e76f15adc5eb818349e") override fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit): Unit = selectableValues(FilterSelectableValuesProperty(selectableValues)) /** * @param type The type of the `DefaultFilterListControlOptions` . Choose one of the following * options:. * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. */ override fun type(type: String) { cdkBuilder.type(type) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty, ) : CdkObject(cdkObject), DefaultFilterListControlOptionsProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html#cfn-quicksight-dashboard-defaultfilterlistcontroloptions-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * A list of selectable values that are used in a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html#cfn-quicksight-dashboard-defaultfilterlistcontroloptions-selectablevalues) */ override fun selectableValues(): Any? = unwrap(this).getSelectableValues() /** * The type of the `DefaultFilterListControlOptions` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html#cfn-quicksight-dashboard-defaultfilterlistcontroloptions-type) */ override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultFilterListControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty): DefaultFilterListControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultFilterListControlOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultFilterListControlOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty } } /** * The options that determine the default settings of a free-form layout configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultFreeFormLayoutConfigurationProperty defaultFreeFormLayoutConfigurationProperty = * DefaultFreeFormLayoutConfigurationProperty.builder() * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfreeformlayoutconfiguration.html) */ public interface DefaultFreeFormLayoutConfigurationProperty { /** * Determines the screen canvas size options for a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfreeformlayoutconfiguration.html#cfn-quicksight-dashboard-defaultfreeformlayoutconfiguration-canvassizeoptions) */ public fun canvasSizeOptions(): Any /** * A builder for [DefaultFreeFormLayoutConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. */ public fun canvasSizeOptions(canvasSizeOptions: IResolvable) /** * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. */ public fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) /** * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f77699a165e267e298c974e784a32950723ad59c8ecf090057223042a6ab79eb") public fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty.builder() /** * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. */ override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) { cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f77699a165e267e298c974e784a32950723ad59c8ecf090057223042a6ab79eb") override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): Unit = canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty, ) : CdkObject(cdkObject), DefaultFreeFormLayoutConfigurationProperty { /** * Determines the screen canvas size options for a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfreeformlayoutconfiguration.html#cfn-quicksight-dashboard-defaultfreeformlayoutconfiguration-canvassizeoptions) */ override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultFreeFormLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty): DefaultFreeFormLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultFreeFormLayoutConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultFreeFormLayoutConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty } } /** * The options that determine the default settings for a grid layout configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultGridLayoutConfigurationProperty defaultGridLayoutConfigurationProperty = * DefaultGridLayoutConfigurationProperty.builder() * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() * .resizeOption("resizeOption") * // the properties below are optional * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultgridlayoutconfiguration.html) */ public interface DefaultGridLayoutConfigurationProperty { /** * Determines the screen canvas size options for a grid layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultgridlayoutconfiguration.html#cfn-quicksight-dashboard-defaultgridlayoutconfiguration-canvassizeoptions) */ public fun canvasSizeOptions(): Any /** * A builder for [DefaultGridLayoutConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. */ public fun canvasSizeOptions(canvasSizeOptions: IResolvable) /** * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. */ public fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) /** * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a48b91ec194cb5bbc26cd47bb6d6bcfb5d2f8ad47a20e9f8e46afc238ba69ab7") public fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty.builder() /** * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. */ override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) { cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a48b91ec194cb5bbc26cd47bb6d6bcfb5d2f8ad47a20e9f8e46afc238ba69ab7") override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): Unit = canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty, ) : CdkObject(cdkObject), DefaultGridLayoutConfigurationProperty { /** * Determines the screen canvas size options for a grid layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultgridlayoutconfiguration.html#cfn-quicksight-dashboard-defaultgridlayoutconfiguration-canvassizeoptions) */ override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultGridLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty): DefaultGridLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultGridLayoutConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultGridLayoutConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty } } /** * The options that determine the default settings for interactive layout configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultInteractiveLayoutConfigurationProperty defaultInteractiveLayoutConfigurationProperty = * DefaultInteractiveLayoutConfigurationProperty.builder() * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build()) * .grid(DefaultGridLayoutConfigurationProperty.builder() * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() * .resizeOption("resizeOption") * // the properties below are optional * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html) */ public interface DefaultInteractiveLayoutConfigurationProperty { /** * The options that determine the default settings of a free-form layout configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html#cfn-quicksight-dashboard-defaultinteractivelayoutconfiguration-freeform) */ public fun freeForm(): Any? = unwrap(this).getFreeForm() /** * The options that determine the default settings for a grid layout configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html#cfn-quicksight-dashboard-defaultinteractivelayoutconfiguration-grid) */ public fun grid(): Any? = unwrap(this).getGrid() /** * A builder for [DefaultInteractiveLayoutConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param freeForm The options that determine the default settings of a free-form layout * configuration. */ public fun freeForm(freeForm: IResolvable) /** * @param freeForm The options that determine the default settings of a free-form layout * configuration. */ public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) /** * @param freeForm The options that determine the default settings of a free-form layout * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fdb50f7ffaeb720f79c0390bb383e69b62faabfdc2dd622752e2bc3c2a6520f8") public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit) /** * @param grid The options that determine the default settings for a grid layout * configuration. */ public fun grid(grid: IResolvable) /** * @param grid The options that determine the default settings for a grid layout * configuration. */ public fun grid(grid: DefaultGridLayoutConfigurationProperty) /** * @param grid The options that determine the default settings for a grid layout * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("07ae5c92f3efbf4fc2b48fa09b2c1bb95ebdb916d2a2aada69e8cb641186ea82") public fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty.builder() /** * @param freeForm The options that determine the default settings of a free-form layout * configuration. */ override fun freeForm(freeForm: IResolvable) { cdkBuilder.freeForm(freeForm.let(IResolvable.Companion::unwrap)) } /** * @param freeForm The options that determine the default settings of a free-form layout * configuration. */ override fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) { cdkBuilder.freeForm(freeForm.let(DefaultFreeFormLayoutConfigurationProperty.Companion::unwrap)) } /** * @param freeForm The options that determine the default settings of a free-form layout * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fdb50f7ffaeb720f79c0390bb383e69b62faabfdc2dd622752e2bc3c2a6520f8") override fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit): Unit = freeForm(DefaultFreeFormLayoutConfigurationProperty(freeForm)) /** * @param grid The options that determine the default settings for a grid layout * configuration. */ override fun grid(grid: IResolvable) { cdkBuilder.grid(grid.let(IResolvable.Companion::unwrap)) } /** * @param grid The options that determine the default settings for a grid layout * configuration. */ override fun grid(grid: DefaultGridLayoutConfigurationProperty) { cdkBuilder.grid(grid.let(DefaultGridLayoutConfigurationProperty.Companion::unwrap)) } /** * @param grid The options that determine the default settings for a grid layout * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("07ae5c92f3efbf4fc2b48fa09b2c1bb95ebdb916d2a2aada69e8cb641186ea82") override fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit): Unit = grid(DefaultGridLayoutConfigurationProperty(grid)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty, ) : CdkObject(cdkObject), DefaultInteractiveLayoutConfigurationProperty { /** * The options that determine the default settings of a free-form layout configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html#cfn-quicksight-dashboard-defaultinteractivelayoutconfiguration-freeform) */ override fun freeForm(): Any? = unwrap(this).getFreeForm() /** * The options that determine the default settings for a grid layout configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html#cfn-quicksight-dashboard-defaultinteractivelayoutconfiguration-grid) */ override fun grid(): Any? = unwrap(this).getGrid() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultInteractiveLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty): DefaultInteractiveLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultInteractiveLayoutConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultInteractiveLayoutConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty } } /** * The configuration for default new sheet settings. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultNewSheetConfigurationProperty defaultNewSheetConfigurationProperty = * DefaultNewSheetConfigurationProperty.builder() * .interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty.builder() * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build()) * .grid(DefaultGridLayoutConfigurationProperty.builder() * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() * .resizeOption("resizeOption") * // the properties below are optional * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build()) * .build()) * .paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty.builder() * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() * .paperMargin(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .paperOrientation("paperOrientation") * .paperSize("paperSize") * .build()) * .build()) * .build()) * .build()) * .sheetContentType("sheetContentType") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html) */ public interface DefaultNewSheetConfigurationProperty { /** * The options that determine the default settings for interactive layout configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-interactivelayoutconfiguration) */ public fun interactiveLayoutConfiguration(): Any? = unwrap(this).getInteractiveLayoutConfiguration() /** * The options that determine the default settings for a paginated layout configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-paginatedlayoutconfiguration) */ public fun paginatedLayoutConfiguration(): Any? = unwrap(this).getPaginatedLayoutConfiguration() /** * The option that determines the sheet content type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-sheetcontenttype) */ public fun sheetContentType(): String? = unwrap(this).getSheetContentType() /** * A builder for [DefaultNewSheetConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param interactiveLayoutConfiguration The options that determine the default settings for * interactive layout configuration. */ public fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) /** * @param interactiveLayoutConfiguration The options that determine the default settings for * interactive layout configuration. */ public fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) /** * @param interactiveLayoutConfiguration The options that determine the default settings for * interactive layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e805f73957eecaa5c274b810207297ce04a9888fe11795e047b881520dca2233") public fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit) /** * @param paginatedLayoutConfiguration The options that determine the default settings for a * paginated layout configuration. */ public fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) /** * @param paginatedLayoutConfiguration The options that determine the default settings for a * paginated layout configuration. */ public fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) /** * @param paginatedLayoutConfiguration The options that determine the default settings for a * paginated layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c6bf7cf226e41c52d8d4f3053d794c838f4bcb4a2b8dd663b1d663356b8fb320") public fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit) /** * @param sheetContentType The option that determines the sheet content type. */ public fun sheetContentType(sheetContentType: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty.builder() /** * @param interactiveLayoutConfiguration The options that determine the default settings for * interactive layout configuration. */ override fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) { cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param interactiveLayoutConfiguration The options that determine the default settings for * interactive layout configuration. */ override fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) { cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(DefaultInteractiveLayoutConfigurationProperty.Companion::unwrap)) } /** * @param interactiveLayoutConfiguration The options that determine the default settings for * interactive layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e805f73957eecaa5c274b810207297ce04a9888fe11795e047b881520dca2233") override fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit): Unit = interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty(interactiveLayoutConfiguration)) /** * @param paginatedLayoutConfiguration The options that determine the default settings for a * paginated layout configuration. */ override fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) { cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param paginatedLayoutConfiguration The options that determine the default settings for a * paginated layout configuration. */ override fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) { cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(DefaultPaginatedLayoutConfigurationProperty.Companion::unwrap)) } /** * @param paginatedLayoutConfiguration The options that determine the default settings for a * paginated layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c6bf7cf226e41c52d8d4f3053d794c838f4bcb4a2b8dd663b1d663356b8fb320") override fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit): Unit = paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty(paginatedLayoutConfiguration)) /** * @param sheetContentType The option that determines the sheet content type. */ override fun sheetContentType(sheetContentType: String) { cdkBuilder.sheetContentType(sheetContentType) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty, ) : CdkObject(cdkObject), DefaultNewSheetConfigurationProperty { /** * The options that determine the default settings for interactive layout configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-interactivelayoutconfiguration) */ override fun interactiveLayoutConfiguration(): Any? = unwrap(this).getInteractiveLayoutConfiguration() /** * The options that determine the default settings for a paginated layout configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-paginatedlayoutconfiguration) */ override fun paginatedLayoutConfiguration(): Any? = unwrap(this).getPaginatedLayoutConfiguration() /** * The option that determines the sheet content type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-sheetcontenttype) */ override fun sheetContentType(): String? = unwrap(this).getSheetContentType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultNewSheetConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty): DefaultNewSheetConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultNewSheetConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultNewSheetConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty } } /** * The options that determine the default settings for a paginated layout configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultPaginatedLayoutConfigurationProperty defaultPaginatedLayoutConfigurationProperty = * DefaultPaginatedLayoutConfigurationProperty.builder() * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() * .paperMargin(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .paperOrientation("paperOrientation") * .paperSize("paperSize") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultpaginatedlayoutconfiguration.html) */ public interface DefaultPaginatedLayoutConfigurationProperty { /** * The options that determine the default settings for a section-based layout configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-dashboard-defaultpaginatedlayoutconfiguration-sectionbased) */ public fun sectionBased(): Any? = unwrap(this).getSectionBased() /** * A builder for [DefaultPaginatedLayoutConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param sectionBased The options that determine the default settings for a section-based * layout configuration. */ public fun sectionBased(sectionBased: IResolvable) /** * @param sectionBased The options that determine the default settings for a section-based * layout configuration. */ public fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) /** * @param sectionBased The options that determine the default settings for a section-based * layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("687f6227cd2cd97c9dd8bb3b64a45791feefa7d24d96a568d4bb15b94c70751b") public fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty.builder() /** * @param sectionBased The options that determine the default settings for a section-based * layout configuration. */ override fun sectionBased(sectionBased: IResolvable) { cdkBuilder.sectionBased(sectionBased.let(IResolvable.Companion::unwrap)) } /** * @param sectionBased The options that determine the default settings for a section-based * layout configuration. */ override fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) { cdkBuilder.sectionBased(sectionBased.let(DefaultSectionBasedLayoutConfigurationProperty.Companion::unwrap)) } /** * @param sectionBased The options that determine the default settings for a section-based * layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("687f6227cd2cd97c9dd8bb3b64a45791feefa7d24d96a568d4bb15b94c70751b") override fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit): Unit = sectionBased(DefaultSectionBasedLayoutConfigurationProperty(sectionBased)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty, ) : CdkObject(cdkObject), DefaultPaginatedLayoutConfigurationProperty { /** * The options that determine the default settings for a section-based layout configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-dashboard-defaultpaginatedlayoutconfiguration-sectionbased) */ override fun sectionBased(): Any? = unwrap(this).getSectionBased() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultPaginatedLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty): DefaultPaginatedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultPaginatedLayoutConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultPaginatedLayoutConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty } } /** * The default options that correspond to the `RelativeDateTime` filter control type. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultRelativeDateTimeControlOptionsProperty defaultRelativeDateTimeControlOptionsProperty = * DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultrelativedatetimecontroloptions.html) */ public interface DefaultRelativeDateTimeControlOptionsProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultrelativedatetimecontroloptions.html#cfn-quicksight-dashboard-defaultrelativedatetimecontroloptions-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * A builder for [DefaultRelativeDateTimeControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f16b34632b1412ebbbb5dbe7948eed08f264a64ba4e5e5030ed8a140fda5bf02") public fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(RelativeDateTimeControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f16b34632b1412ebbbb5dbe7948eed08f264a64ba4e5e5030ed8a140fda5bf02") override fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(RelativeDateTimeControlDisplayOptionsProperty(displayOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty, ) : CdkObject(cdkObject), DefaultRelativeDateTimeControlOptionsProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultrelativedatetimecontroloptions.html#cfn-quicksight-dashboard-defaultrelativedatetimecontroloptions-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultRelativeDateTimeControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty): DefaultRelativeDateTimeControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultRelativeDateTimeControlOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultRelativeDateTimeControlOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty } } /** * The options that determine the default settings for a section-based layout configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultSectionBasedLayoutConfigurationProperty defaultSectionBasedLayoutConfigurationProperty = * DefaultSectionBasedLayoutConfigurationProperty.builder() * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() * .paperMargin(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .paperOrientation("paperOrientation") * .paperSize("paperSize") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultsectionbasedlayoutconfiguration.html) */ public interface DefaultSectionBasedLayoutConfigurationProperty { /** * Determines the screen canvas size options for a section-based layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-defaultsectionbasedlayoutconfiguration-canvassizeoptions) */ public fun canvasSizeOptions(): Any /** * A builder for [DefaultSectionBasedLayoutConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param canvasSizeOptions Determines the screen canvas size options for a section-based * layout. */ public fun canvasSizeOptions(canvasSizeOptions: IResolvable) /** * @param canvasSizeOptions Determines the screen canvas size options for a section-based * layout. */ public fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) /** * @param canvasSizeOptions Determines the screen canvas size options for a section-based * layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a005f44344455f806ffdfe21cf01d99775f2f9cba9922d8c235a1b6f24fe9f6f") public fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty.builder() /** * @param canvasSizeOptions Determines the screen canvas size options for a section-based * layout. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param canvasSizeOptions Determines the screen canvas size options for a section-based * layout. */ override fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) { cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** * @param canvasSizeOptions Determines the screen canvas size options for a section-based * layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a005f44344455f806ffdfe21cf01d99775f2f9cba9922d8c235a1b6f24fe9f6f") override fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): Unit = canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty, ) : CdkObject(cdkObject), DefaultSectionBasedLayoutConfigurationProperty { /** * Determines the screen canvas size options for a section-based layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-defaultsectionbasedlayoutconfiguration-canvassizeoptions) */ override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultSectionBasedLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty): DefaultSectionBasedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultSectionBasedLayoutConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultSectionBasedLayoutConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty } } /** * The default options that correspond to the `Slider` filter control type. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultSliderControlOptionsProperty defaultSliderControlOptionsProperty = * DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html) */ public interface DefaultSliderControlOptionsProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The larger value that is displayed at the right of the slider. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-maximumvalue) */ public fun maximumValue(): Number /** * The smaller value that is displayed at the left of the slider. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-minimumvalue) */ public fun minimumValue(): Number /** * The number of increments that the slider bar is divided into. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-stepsize) */ public fun stepSize(): Number /** * The type of the `DefaultSliderControlOptions` . Choose one of the following options:. * * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-type) */ public fun type(): String? = unwrap(this).getType() /** * A builder for [DefaultSliderControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a25612f2c1ff3319b144329bafe95859bec030507ee40f40ee0a505c4378b8f1") public fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param maximumValue The larger value that is displayed at the right of the slider. */ public fun maximumValue(maximumValue: Number) /** * @param minimumValue The smaller value that is displayed at the left of the slider. */ public fun minimumValue(minimumValue: Number) /** * @param stepSize The number of increments that the slider bar is divided into. */ public fun stepSize(stepSize: Number) /** * @param type The type of the `DefaultSliderControlOptions` . Choose one of the following * options:. * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. */ public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a25612f2c1ff3319b144329bafe95859bec030507ee40f40ee0a505c4378b8f1") override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(SliderControlDisplayOptionsProperty(displayOptions)) /** * @param maximumValue The larger value that is displayed at the right of the slider. */ override fun maximumValue(maximumValue: Number) { cdkBuilder.maximumValue(maximumValue) } /** * @param minimumValue The smaller value that is displayed at the left of the slider. */ override fun minimumValue(minimumValue: Number) { cdkBuilder.minimumValue(minimumValue) } /** * @param stepSize The number of increments that the slider bar is divided into. */ override fun stepSize(stepSize: Number) { cdkBuilder.stepSize(stepSize) } /** * @param type The type of the `DefaultSliderControlOptions` . Choose one of the following * options:. * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. */ override fun type(type: String) { cdkBuilder.type(type) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty, ) : CdkObject(cdkObject), DefaultSliderControlOptionsProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The larger value that is displayed at the right of the slider. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-maximumvalue) */ override fun maximumValue(): Number = unwrap(this).getMaximumValue() /** * The smaller value that is displayed at the left of the slider. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-minimumvalue) */ override fun minimumValue(): Number = unwrap(this).getMinimumValue() /** * The number of increments that the slider bar is divided into. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-stepsize) */ override fun stepSize(): Number = unwrap(this).getStepSize() /** * The type of the `DefaultSliderControlOptions` . Choose one of the following options:. * * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-type) */ override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultSliderControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty): DefaultSliderControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultSliderControlOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultSliderControlOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty } } /** * The default options that correspond to the `TextArea` filter control type. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultTextAreaControlOptionsProperty defaultTextAreaControlOptionsProperty = * DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextareacontroloptions.html) */ public interface DefaultTextAreaControlOptionsProperty { /** * The delimiter that is used to separate the lines in text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextareacontroloptions.html#cfn-quicksight-dashboard-defaulttextareacontroloptions-delimiter) */ public fun delimiter(): String? = unwrap(this).getDelimiter() /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextareacontroloptions.html#cfn-quicksight-dashboard-defaulttextareacontroloptions-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * A builder for [DefaultTextAreaControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param delimiter The delimiter that is used to separate the lines in text. */ public fun delimiter(delimiter: String) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("633530adfb4a35a03bf2f1792557e101a980f26d05c34e242dd52a41e5c5f8d2") public fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty.builder() /** * @param delimiter The delimiter that is used to separate the lines in text. */ override fun delimiter(delimiter: String) { cdkBuilder.delimiter(delimiter) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("633530adfb4a35a03bf2f1792557e101a980f26d05c34e242dd52a41e5c5f8d2") override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(TextAreaControlDisplayOptionsProperty(displayOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty, ) : CdkObject(cdkObject), DefaultTextAreaControlOptionsProperty { /** * The delimiter that is used to separate the lines in text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextareacontroloptions.html#cfn-quicksight-dashboard-defaulttextareacontroloptions-delimiter) */ override fun delimiter(): String? = unwrap(this).getDelimiter() /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextareacontroloptions.html#cfn-quicksight-dashboard-defaulttextareacontroloptions-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultTextAreaControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty): DefaultTextAreaControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultTextAreaControlOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultTextAreaControlOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty } } /** * The default options that correspond to the `TextField` filter control type. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DefaultTextFieldControlOptionsProperty defaultTextFieldControlOptionsProperty = * DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextfieldcontroloptions.html) */ public interface DefaultTextFieldControlOptionsProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextfieldcontroloptions.html#cfn-quicksight-dashboard-defaulttextfieldcontroloptions-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * A builder for [DefaultTextFieldControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("00cf929d07b2b3f120fbef4527dcff476764eef9dde775548911e4ccd2eda4b1") public fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("00cf929d07b2b3f120fbef4527dcff476764eef9dde775548911e4ccd2eda4b1") override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(TextFieldControlDisplayOptionsProperty(displayOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty, ) : CdkObject(cdkObject), DefaultTextFieldControlOptionsProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextfieldcontroloptions.html#cfn-quicksight-dashboard-defaulttextfieldcontroloptions-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DefaultTextFieldControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty): DefaultTextFieldControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DefaultTextFieldControlOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DefaultTextFieldControlOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty } } /** * The configuration of destination parameter values. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DestinationParameterValueConfigurationProperty destinationParameterValueConfigurationProperty = * DestinationParameterValueConfigurationProperty.builder() * .customValuesConfiguration(CustomValuesConfigurationProperty.builder() * .customValues(CustomParameterValuesProperty.builder() * .dateTimeValues(List.of("dateTimeValues")) * .decimalValues(List.of(123)) * .integerValues(List.of(123)) * .stringValues(List.of("stringValues")) * .build()) * // the properties below are optional * .includeNullValue(false) * .build()) * .selectAllValueOptions("selectAllValueOptions") * .sourceColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceField("sourceField") * .sourceParameterName("sourceParameterName") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-destinationparametervalueconfiguration.html) */ public interface DestinationParameterValueConfigurationProperty { /** * The configuration of custom values for destination parameter in * `DestinationParameterValueConfiguration` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-destinationparametervalueconfiguration.html#cfn-quicksight-dashboard-destinationparametervalueconfiguration-customvaluesconfiguration) */ public fun customValuesConfiguration(): Any? = unwrap(this).getCustomValuesConfiguration() /** * The configuration that selects all options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-destinationparametervalueconfiguration.html#cfn-quicksight-dashboard-destinationparametervalueconfiguration-selectallvalueoptions) */ public fun selectAllValueOptions(): String? = unwrap(this).getSelectAllValueOptions() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-destinationparametervalueconfiguration.html#cfn-quicksight-dashboard-destinationparametervalueconfiguration-sourcecolumn) */ public fun sourceColumn(): Any? = unwrap(this).getSourceColumn() /** * The source field ID of the destination parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-destinationparametervalueconfiguration.html#cfn-quicksight-dashboard-destinationparametervalueconfiguration-sourcefield) */ public fun sourceField(): String? = unwrap(this).getSourceField() /** * The source parameter name of the destination parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-destinationparametervalueconfiguration.html#cfn-quicksight-dashboard-destinationparametervalueconfiguration-sourceparametername) */ public fun sourceParameterName(): String? = unwrap(this).getSourceParameterName() /** * A builder for [DestinationParameterValueConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param customValuesConfiguration The configuration of custom values for destination * parameter in `DestinationParameterValueConfiguration` . */ public fun customValuesConfiguration(customValuesConfiguration: IResolvable) /** * @param customValuesConfiguration The configuration of custom values for destination * parameter in `DestinationParameterValueConfiguration` . */ public fun customValuesConfiguration(customValuesConfiguration: CustomValuesConfigurationProperty) /** * @param customValuesConfiguration The configuration of custom values for destination * parameter in `DestinationParameterValueConfiguration` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bc3abe2d07a2f56891ac2ec1eefa86664172783668b3e941470fb63dd4a5e8a3") public fun customValuesConfiguration(customValuesConfiguration: CustomValuesConfigurationProperty.Builder.() -> Unit) /** * @param selectAllValueOptions The configuration that selects all options. */ public fun selectAllValueOptions(selectAllValueOptions: String) /** * @param sourceColumn the value to be set. */ public fun sourceColumn(sourceColumn: IResolvable) /** * @param sourceColumn the value to be set. */ public fun sourceColumn(sourceColumn: ColumnIdentifierProperty) /** * @param sourceColumn the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3028a394f15c035e702739fbb8ef4df270317e5c7a41ac3f52f620a74c09e32f") public fun sourceColumn(sourceColumn: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param sourceField The source field ID of the destination parameter. */ public fun sourceField(sourceField: String) /** * @param sourceParameterName The source parameter name of the destination parameter. */ public fun sourceParameterName(sourceParameterName: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DestinationParameterValueConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DestinationParameterValueConfigurationProperty.builder() /** * @param customValuesConfiguration The configuration of custom values for destination * parameter in `DestinationParameterValueConfiguration` . */ override fun customValuesConfiguration(customValuesConfiguration: IResolvable) { cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param customValuesConfiguration The configuration of custom values for destination * parameter in `DestinationParameterValueConfiguration` . */ override fun customValuesConfiguration(customValuesConfiguration: CustomValuesConfigurationProperty) { cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(CustomValuesConfigurationProperty.Companion::unwrap)) } /** * @param customValuesConfiguration The configuration of custom values for destination * parameter in `DestinationParameterValueConfiguration` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bc3abe2d07a2f56891ac2ec1eefa86664172783668b3e941470fb63dd4a5e8a3") override fun customValuesConfiguration(customValuesConfiguration: CustomValuesConfigurationProperty.Builder.() -> Unit): Unit = customValuesConfiguration(CustomValuesConfigurationProperty(customValuesConfiguration)) /** * @param selectAllValueOptions The configuration that selects all options. */ override fun selectAllValueOptions(selectAllValueOptions: String) { cdkBuilder.selectAllValueOptions(selectAllValueOptions) } /** * @param sourceColumn the value to be set. */ override fun sourceColumn(sourceColumn: IResolvable) { cdkBuilder.sourceColumn(sourceColumn.let(IResolvable.Companion::unwrap)) } /** * @param sourceColumn the value to be set. */ override fun sourceColumn(sourceColumn: ColumnIdentifierProperty) { cdkBuilder.sourceColumn(sourceColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param sourceColumn the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3028a394f15c035e702739fbb8ef4df270317e5c7a41ac3f52f620a74c09e32f") override fun sourceColumn(sourceColumn: ColumnIdentifierProperty.Builder.() -> Unit): Unit = sourceColumn(ColumnIdentifierProperty(sourceColumn)) /** * @param sourceField The source field ID of the destination parameter. */ override fun sourceField(sourceField: String) { cdkBuilder.sourceField(sourceField) } /** * @param sourceParameterName The source parameter name of the destination parameter. */ override fun sourceParameterName(sourceParameterName: String) { cdkBuilder.sourceParameterName(sourceParameterName) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DestinationParameterValueConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DestinationParameterValueConfigurationProperty, ) : CdkObject(cdkObject), DestinationParameterValueConfigurationProperty { /** * The configuration of custom values for destination parameter in * `DestinationParameterValueConfiguration` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-destinationparametervalueconfiguration.html#cfn-quicksight-dashboard-destinationparametervalueconfiguration-customvaluesconfiguration) */ override fun customValuesConfiguration(): Any? = unwrap(this).getCustomValuesConfiguration() /** * The configuration that selects all options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-destinationparametervalueconfiguration.html#cfn-quicksight-dashboard-destinationparametervalueconfiguration-selectallvalueoptions) */ override fun selectAllValueOptions(): String? = unwrap(this).getSelectAllValueOptions() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-destinationparametervalueconfiguration.html#cfn-quicksight-dashboard-destinationparametervalueconfiguration-sourcecolumn) */ override fun sourceColumn(): Any? = unwrap(this).getSourceColumn() /** * The source field ID of the destination parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-destinationparametervalueconfiguration.html#cfn-quicksight-dashboard-destinationparametervalueconfiguration-sourcefield) */ override fun sourceField(): String? = unwrap(this).getSourceField() /** * The source parameter name of the destination parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-destinationparametervalueconfiguration.html#cfn-quicksight-dashboard-destinationparametervalueconfiguration-sourceparametername) */ override fun sourceParameterName(): String? = unwrap(this).getSourceParameterName() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DestinationParameterValueConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DestinationParameterValueConfigurationProperty): DestinationParameterValueConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? DestinationParameterValueConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DestinationParameterValueConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DestinationParameterValueConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DestinationParameterValueConfigurationProperty } } /** * The dimension type field. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DimensionFieldProperty dimensionFieldProperty = DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dimensionfield.html) */ public interface DimensionFieldProperty { /** * The dimension type field with categorical type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dimensionfield.html#cfn-quicksight-dashboard-dimensionfield-categoricaldimensionfield) */ public fun categoricalDimensionField(): Any? = unwrap(this).getCategoricalDimensionField() /** * The dimension type field with date type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dimensionfield.html#cfn-quicksight-dashboard-dimensionfield-datedimensionfield) */ public fun dateDimensionField(): Any? = unwrap(this).getDateDimensionField() /** * The dimension type field with numerical type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dimensionfield.html#cfn-quicksight-dashboard-dimensionfield-numericaldimensionfield) */ public fun numericalDimensionField(): Any? = unwrap(this).getNumericalDimensionField() /** * A builder for [DimensionFieldProperty] */ @CdkDslMarker public interface Builder { /** * @param categoricalDimensionField The dimension type field with categorical type columns. */ public fun categoricalDimensionField(categoricalDimensionField: IResolvable) /** * @param categoricalDimensionField The dimension type field with categorical type columns. */ public fun categoricalDimensionField(categoricalDimensionField: CategoricalDimensionFieldProperty) /** * @param categoricalDimensionField The dimension type field with categorical type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8c5e99d69e91104f09358b44d242c7bfae4808bd1811b706868242861b43de57") public fun categoricalDimensionField(categoricalDimensionField: CategoricalDimensionFieldProperty.Builder.() -> Unit) /** * @param dateDimensionField The dimension type field with date type columns. */ public fun dateDimensionField(dateDimensionField: IResolvable) /** * @param dateDimensionField The dimension type field with date type columns. */ public fun dateDimensionField(dateDimensionField: DateDimensionFieldProperty) /** * @param dateDimensionField The dimension type field with date type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("62f7b3a38b1e3f9ed0e73869740efaee2b1795666a8209aca042925f22c6fdff") public fun dateDimensionField(dateDimensionField: DateDimensionFieldProperty.Builder.() -> Unit) /** * @param numericalDimensionField The dimension type field with numerical type columns. */ public fun numericalDimensionField(numericalDimensionField: IResolvable) /** * @param numericalDimensionField The dimension type field with numerical type columns. */ public fun numericalDimensionField(numericalDimensionField: NumericalDimensionFieldProperty) /** * @param numericalDimensionField The dimension type field with numerical type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("eed8391a817592b6053645517ff75ea1ab51cf71cd2f67fbccba26e1ae2f124d") public fun numericalDimensionField(numericalDimensionField: NumericalDimensionFieldProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DimensionFieldProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DimensionFieldProperty.builder() /** * @param categoricalDimensionField The dimension type field with categorical type columns. */ override fun categoricalDimensionField(categoricalDimensionField: IResolvable) { cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(IResolvable.Companion::unwrap)) } /** * @param categoricalDimensionField The dimension type field with categorical type columns. */ override fun categoricalDimensionField(categoricalDimensionField: CategoricalDimensionFieldProperty) { cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(CategoricalDimensionFieldProperty.Companion::unwrap)) } /** * @param categoricalDimensionField The dimension type field with categorical type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8c5e99d69e91104f09358b44d242c7bfae4808bd1811b706868242861b43de57") override fun categoricalDimensionField(categoricalDimensionField: CategoricalDimensionFieldProperty.Builder.() -> Unit): Unit = categoricalDimensionField(CategoricalDimensionFieldProperty(categoricalDimensionField)) /** * @param dateDimensionField The dimension type field with date type columns. */ override fun dateDimensionField(dateDimensionField: IResolvable) { cdkBuilder.dateDimensionField(dateDimensionField.let(IResolvable.Companion::unwrap)) } /** * @param dateDimensionField The dimension type field with date type columns. */ override fun dateDimensionField(dateDimensionField: DateDimensionFieldProperty) { cdkBuilder.dateDimensionField(dateDimensionField.let(DateDimensionFieldProperty.Companion::unwrap)) } /** * @param dateDimensionField The dimension type field with date type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("62f7b3a38b1e3f9ed0e73869740efaee2b1795666a8209aca042925f22c6fdff") override fun dateDimensionField(dateDimensionField: DateDimensionFieldProperty.Builder.() -> Unit): Unit = dateDimensionField(DateDimensionFieldProperty(dateDimensionField)) /** * @param numericalDimensionField The dimension type field with numerical type columns. */ override fun numericalDimensionField(numericalDimensionField: IResolvable) { cdkBuilder.numericalDimensionField(numericalDimensionField.let(IResolvable.Companion::unwrap)) } /** * @param numericalDimensionField The dimension type field with numerical type columns. */ override fun numericalDimensionField(numericalDimensionField: NumericalDimensionFieldProperty) { cdkBuilder.numericalDimensionField(numericalDimensionField.let(NumericalDimensionFieldProperty.Companion::unwrap)) } /** * @param numericalDimensionField The dimension type field with numerical type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("eed8391a817592b6053645517ff75ea1ab51cf71cd2f67fbccba26e1ae2f124d") override fun numericalDimensionField(numericalDimensionField: NumericalDimensionFieldProperty.Builder.() -> Unit): Unit = numericalDimensionField(NumericalDimensionFieldProperty(numericalDimensionField)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DimensionFieldProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DimensionFieldProperty, ) : CdkObject(cdkObject), DimensionFieldProperty { /** * The dimension type field with categorical type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dimensionfield.html#cfn-quicksight-dashboard-dimensionfield-categoricaldimensionfield) */ override fun categoricalDimensionField(): Any? = unwrap(this).getCategoricalDimensionField() /** * The dimension type field with date type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dimensionfield.html#cfn-quicksight-dashboard-dimensionfield-datedimensionfield) */ override fun dateDimensionField(): Any? = unwrap(this).getDateDimensionField() /** * The dimension type field with numerical type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dimensionfield.html#cfn-quicksight-dashboard-dimensionfield-numericaldimensionfield) */ override fun numericalDimensionField(): Any? = unwrap(this).getNumericalDimensionField() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DimensionFieldProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DimensionFieldProperty): DimensionFieldProperty = CdkObjectWrappers.wrap(cdkObject) as? DimensionFieldProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DimensionFieldProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DimensionFieldProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DimensionFieldProperty } } /** * The label options of the label that is displayed in the center of a donut chart. * * This option isn't available for pie charts. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DonutCenterOptionsProperty donutCenterOptionsProperty = DonutCenterOptionsProperty.builder() * .labelVisibility("labelVisibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-donutcenteroptions.html) */ public interface DonutCenterOptionsProperty { /** * Determines the visibility of the label in a donut chart. * * In the Amazon QuickSight console, this option is called `'Show total'` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-donutcenteroptions.html#cfn-quicksight-dashboard-donutcenteroptions-labelvisibility) */ public fun labelVisibility(): String? = unwrap(this).getLabelVisibility() /** * A builder for [DonutCenterOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param labelVisibility Determines the visibility of the label in a donut chart. * In the Amazon QuickSight console, this option is called `'Show total'` . */ public fun labelVisibility(labelVisibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DonutCenterOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DonutCenterOptionsProperty.builder() /** * @param labelVisibility Determines the visibility of the label in a donut chart. * In the Amazon QuickSight console, this option is called `'Show total'` . */ override fun labelVisibility(labelVisibility: String) { cdkBuilder.labelVisibility(labelVisibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DonutCenterOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DonutCenterOptionsProperty, ) : CdkObject(cdkObject), DonutCenterOptionsProperty { /** * Determines the visibility of the label in a donut chart. * * In the Amazon QuickSight console, this option is called `'Show total'` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-donutcenteroptions.html#cfn-quicksight-dashboard-donutcenteroptions-labelvisibility) */ override fun labelVisibility(): String? = unwrap(this).getLabelVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DonutCenterOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DonutCenterOptionsProperty): DonutCenterOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DonutCenterOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DonutCenterOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DonutCenterOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DonutCenterOptionsProperty } } /** * The options for configuring a donut chart or pie chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DonutOptionsProperty donutOptionsProperty = DonutOptionsProperty.builder() * .arcOptions(ArcOptionsProperty.builder() * .arcThickness("arcThickness") * .build()) * .donutCenterOptions(DonutCenterOptionsProperty.builder() * .labelVisibility("labelVisibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-donutoptions.html) */ public interface DonutOptionsProperty { /** * The option for define the arc of the chart shape. Valid values are as follows:. * * * `WHOLE` - A pie chart * * `SMALL` - A small-sized donut chart * * `MEDIUM` - A medium-sized donut chart * * `LARGE` - A large-sized donut chart * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-donutoptions.html#cfn-quicksight-dashboard-donutoptions-arcoptions) */ public fun arcOptions(): Any? = unwrap(this).getArcOptions() /** * The label options of the label that is displayed in the center of a donut chart. * * This option isn't available for pie charts. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-donutoptions.html#cfn-quicksight-dashboard-donutoptions-donutcenteroptions) */ public fun donutCenterOptions(): Any? = unwrap(this).getDonutCenterOptions() /** * A builder for [DonutOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param arcOptions The option for define the arc of the chart shape. Valid values are as * follows:. * * `WHOLE` - A pie chart * * `SMALL` - A small-sized donut chart * * `MEDIUM` - A medium-sized donut chart * * `LARGE` - A large-sized donut chart */ public fun arcOptions(arcOptions: IResolvable) /** * @param arcOptions The option for define the arc of the chart shape. Valid values are as * follows:. * * `WHOLE` - A pie chart * * `SMALL` - A small-sized donut chart * * `MEDIUM` - A medium-sized donut chart * * `LARGE` - A large-sized donut chart */ public fun arcOptions(arcOptions: ArcOptionsProperty) /** * @param arcOptions The option for define the arc of the chart shape. Valid values are as * follows:. * * `WHOLE` - A pie chart * * `SMALL` - A small-sized donut chart * * `MEDIUM` - A medium-sized donut chart * * `LARGE` - A large-sized donut chart */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("04097bcd1a6824d6bc88bfac0230976b7fbc10fdf0d00ad762ceb06eada4e329") public fun arcOptions(arcOptions: ArcOptionsProperty.Builder.() -> Unit) /** * @param donutCenterOptions The label options of the label that is displayed in the center of * a donut chart. * This option isn't available for pie charts. */ public fun donutCenterOptions(donutCenterOptions: IResolvable) /** * @param donutCenterOptions The label options of the label that is displayed in the center of * a donut chart. * This option isn't available for pie charts. */ public fun donutCenterOptions(donutCenterOptions: DonutCenterOptionsProperty) /** * @param donutCenterOptions The label options of the label that is displayed in the center of * a donut chart. * This option isn't available for pie charts. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33981e819dadbed4ba09f599b6a385b4dbbe22174bb8dde5841d3df70a05368d") public fun donutCenterOptions(donutCenterOptions: DonutCenterOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DonutOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DonutOptionsProperty.builder() /** * @param arcOptions The option for define the arc of the chart shape. Valid values are as * follows:. * * `WHOLE` - A pie chart * * `SMALL` - A small-sized donut chart * * `MEDIUM` - A medium-sized donut chart * * `LARGE` - A large-sized donut chart */ override fun arcOptions(arcOptions: IResolvable) { cdkBuilder.arcOptions(arcOptions.let(IResolvable.Companion::unwrap)) } /** * @param arcOptions The option for define the arc of the chart shape. Valid values are as * follows:. * * `WHOLE` - A pie chart * * `SMALL` - A small-sized donut chart * * `MEDIUM` - A medium-sized donut chart * * `LARGE` - A large-sized donut chart */ override fun arcOptions(arcOptions: ArcOptionsProperty) { cdkBuilder.arcOptions(arcOptions.let(ArcOptionsProperty.Companion::unwrap)) } /** * @param arcOptions The option for define the arc of the chart shape. Valid values are as * follows:. * * `WHOLE` - A pie chart * * `SMALL` - A small-sized donut chart * * `MEDIUM` - A medium-sized donut chart * * `LARGE` - A large-sized donut chart */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("04097bcd1a6824d6bc88bfac0230976b7fbc10fdf0d00ad762ceb06eada4e329") override fun arcOptions(arcOptions: ArcOptionsProperty.Builder.() -> Unit): Unit = arcOptions(ArcOptionsProperty(arcOptions)) /** * @param donutCenterOptions The label options of the label that is displayed in the center of * a donut chart. * This option isn't available for pie charts. */ override fun donutCenterOptions(donutCenterOptions: IResolvable) { cdkBuilder.donutCenterOptions(donutCenterOptions.let(IResolvable.Companion::unwrap)) } /** * @param donutCenterOptions The label options of the label that is displayed in the center of * a donut chart. * This option isn't available for pie charts. */ override fun donutCenterOptions(donutCenterOptions: DonutCenterOptionsProperty) { cdkBuilder.donutCenterOptions(donutCenterOptions.let(DonutCenterOptionsProperty.Companion::unwrap)) } /** * @param donutCenterOptions The label options of the label that is displayed in the center of * a donut chart. * This option isn't available for pie charts. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33981e819dadbed4ba09f599b6a385b4dbbe22174bb8dde5841d3df70a05368d") override fun donutCenterOptions(donutCenterOptions: DonutCenterOptionsProperty.Builder.() -> Unit): Unit = donutCenterOptions(DonutCenterOptionsProperty(donutCenterOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DonutOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DonutOptionsProperty, ) : CdkObject(cdkObject), DonutOptionsProperty { /** * The option for define the arc of the chart shape. Valid values are as follows:. * * * `WHOLE` - A pie chart * * `SMALL` - A small-sized donut chart * * `MEDIUM` - A medium-sized donut chart * * `LARGE` - A large-sized donut chart * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-donutoptions.html#cfn-quicksight-dashboard-donutoptions-arcoptions) */ override fun arcOptions(): Any? = unwrap(this).getArcOptions() /** * The label options of the label that is displayed in the center of a donut chart. * * This option isn't available for pie charts. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-donutoptions.html#cfn-quicksight-dashboard-donutoptions-donutcenteroptions) */ override fun donutCenterOptions(): Any? = unwrap(this).getDonutCenterOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DonutOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DonutOptionsProperty): DonutOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DonutOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DonutOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DonutOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DonutOptionsProperty } } /** * The drill down filter for the column hierarchies. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DrillDownFilterProperty drillDownFilterProperty = DrillDownFilterProperty.builder() * .categoryFilter(CategoryDrillDownFilterProperty.builder() * .categoryValues(List.of("categoryValues")) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .numericEqualityFilter(NumericEqualityDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .value(123) * .build()) * .timeRangeFilter(TimeRangeDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .rangeMaximum("rangeMaximum") * .rangeMinimum("rangeMinimum") * .timeGranularity("timeGranularity") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-drilldownfilter.html) */ public interface DrillDownFilterProperty { /** * The category type drill down filter. * * This filter is used for string type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-drilldownfilter.html#cfn-quicksight-dashboard-drilldownfilter-categoryfilter) */ public fun categoryFilter(): Any? = unwrap(this).getCategoryFilter() /** * The numeric equality type drill down filter. * * This filter is used for number type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-drilldownfilter.html#cfn-quicksight-dashboard-drilldownfilter-numericequalityfilter) */ public fun numericEqualityFilter(): Any? = unwrap(this).getNumericEqualityFilter() /** * The time range drill down filter. * * This filter is used for date time columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-drilldownfilter.html#cfn-quicksight-dashboard-drilldownfilter-timerangefilter) */ public fun timeRangeFilter(): Any? = unwrap(this).getTimeRangeFilter() /** * A builder for [DrillDownFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryFilter The category type drill down filter. * This filter is used for string type columns. */ public fun categoryFilter(categoryFilter: IResolvable) /** * @param categoryFilter The category type drill down filter. * This filter is used for string type columns. */ public fun categoryFilter(categoryFilter: CategoryDrillDownFilterProperty) /** * @param categoryFilter The category type drill down filter. * This filter is used for string type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5eebf92984e68574bbcaa36879fa5b3a4c337ee4d49bf5e7ddc98a3f620b5b2f") public fun categoryFilter(categoryFilter: CategoryDrillDownFilterProperty.Builder.() -> Unit) /** * @param numericEqualityFilter The numeric equality type drill down filter. * This filter is used for number type columns. */ public fun numericEqualityFilter(numericEqualityFilter: IResolvable) /** * @param numericEqualityFilter The numeric equality type drill down filter. * This filter is used for number type columns. */ public fun numericEqualityFilter(numericEqualityFilter: NumericEqualityDrillDownFilterProperty) /** * @param numericEqualityFilter The numeric equality type drill down filter. * This filter is used for number type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f404bacbc0601316be57d214c2a7e383a13524386958aa21d7023704eeedc94e") public fun numericEqualityFilter(numericEqualityFilter: NumericEqualityDrillDownFilterProperty.Builder.() -> Unit) /** * @param timeRangeFilter The time range drill down filter. * This filter is used for date time columns. */ public fun timeRangeFilter(timeRangeFilter: IResolvable) /** * @param timeRangeFilter The time range drill down filter. * This filter is used for date time columns. */ public fun timeRangeFilter(timeRangeFilter: TimeRangeDrillDownFilterProperty) /** * @param timeRangeFilter The time range drill down filter. * This filter is used for date time columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("80df7fdb42fd29574d8f84d869b54bf136cc503bbeb8aa1749083b7d6c7c4c15") public fun timeRangeFilter(timeRangeFilter: TimeRangeDrillDownFilterProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DrillDownFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DrillDownFilterProperty.builder() /** * @param categoryFilter The category type drill down filter. * This filter is used for string type columns. */ override fun categoryFilter(categoryFilter: IResolvable) { cdkBuilder.categoryFilter(categoryFilter.let(IResolvable.Companion::unwrap)) } /** * @param categoryFilter The category type drill down filter. * This filter is used for string type columns. */ override fun categoryFilter(categoryFilter: CategoryDrillDownFilterProperty) { cdkBuilder.categoryFilter(categoryFilter.let(CategoryDrillDownFilterProperty.Companion::unwrap)) } /** * @param categoryFilter The category type drill down filter. * This filter is used for string type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5eebf92984e68574bbcaa36879fa5b3a4c337ee4d49bf5e7ddc98a3f620b5b2f") override fun categoryFilter(categoryFilter: CategoryDrillDownFilterProperty.Builder.() -> Unit): Unit = categoryFilter(CategoryDrillDownFilterProperty(categoryFilter)) /** * @param numericEqualityFilter The numeric equality type drill down filter. * This filter is used for number type columns. */ override fun numericEqualityFilter(numericEqualityFilter: IResolvable) { cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable.Companion::unwrap)) } /** * @param numericEqualityFilter The numeric equality type drill down filter. * This filter is used for number type columns. */ override fun numericEqualityFilter(numericEqualityFilter: NumericEqualityDrillDownFilterProperty) { cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityDrillDownFilterProperty.Companion::unwrap)) } /** * @param numericEqualityFilter The numeric equality type drill down filter. * This filter is used for number type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f404bacbc0601316be57d214c2a7e383a13524386958aa21d7023704eeedc94e") override fun numericEqualityFilter(numericEqualityFilter: NumericEqualityDrillDownFilterProperty.Builder.() -> Unit): Unit = numericEqualityFilter(NumericEqualityDrillDownFilterProperty(numericEqualityFilter)) /** * @param timeRangeFilter The time range drill down filter. * This filter is used for date time columns. */ override fun timeRangeFilter(timeRangeFilter: IResolvable) { cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable.Companion::unwrap)) } /** * @param timeRangeFilter The time range drill down filter. * This filter is used for date time columns. */ override fun timeRangeFilter(timeRangeFilter: TimeRangeDrillDownFilterProperty) { cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeDrillDownFilterProperty.Companion::unwrap)) } /** * @param timeRangeFilter The time range drill down filter. * This filter is used for date time columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("80df7fdb42fd29574d8f84d869b54bf136cc503bbeb8aa1749083b7d6c7c4c15") override fun timeRangeFilter(timeRangeFilter: TimeRangeDrillDownFilterProperty.Builder.() -> Unit): Unit = timeRangeFilter(TimeRangeDrillDownFilterProperty(timeRangeFilter)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DrillDownFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DrillDownFilterProperty, ) : CdkObject(cdkObject), DrillDownFilterProperty { /** * The category type drill down filter. * * This filter is used for string type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-drilldownfilter.html#cfn-quicksight-dashboard-drilldownfilter-categoryfilter) */ override fun categoryFilter(): Any? = unwrap(this).getCategoryFilter() /** * The numeric equality type drill down filter. * * This filter is used for number type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-drilldownfilter.html#cfn-quicksight-dashboard-drilldownfilter-numericequalityfilter) */ override fun numericEqualityFilter(): Any? = unwrap(this).getNumericEqualityFilter() /** * The time range drill down filter. * * This filter is used for date time columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-drilldownfilter.html#cfn-quicksight-dashboard-drilldownfilter-timerangefilter) */ override fun timeRangeFilter(): Any? = unwrap(this).getTimeRangeFilter() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DrillDownFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DrillDownFilterProperty): DrillDownFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? DrillDownFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DrillDownFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DrillDownFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DrillDownFilterProperty } } /** * The display options of a control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DropDownControlDisplayOptionsProperty dropDownControlDisplayOptionsProperty = * DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dropdowncontroldisplayoptions.html) */ public interface DropDownControlDisplayOptionsProperty { /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dropdowncontroldisplayoptions.html#cfn-quicksight-dashboard-dropdowncontroldisplayoptions-infoiconlabeloptions) */ public fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The configuration of the `Select all` options in a dropdown control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dropdowncontroldisplayoptions.html#cfn-quicksight-dashboard-dropdowncontroldisplayoptions-selectalloptions) */ public fun selectAllOptions(): Any? = unwrap(this).getSelectAllOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dropdowncontroldisplayoptions.html#cfn-quicksight-dashboard-dropdowncontroldisplayoptions-titleoptions) */ public fun titleOptions(): Any? = unwrap(this).getTitleOptions() /** * A builder for [DropDownControlDisplayOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2d2abfd19e327f99b2ef47ec8a3975391da3edeb72eaed69ff0a97502a913f29") public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit) /** * @param selectAllOptions The configuration of the `Select all` options in a dropdown * control. */ public fun selectAllOptions(selectAllOptions: IResolvable) /** * @param selectAllOptions The configuration of the `Select all` options in a dropdown * control. */ public fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty) /** * @param selectAllOptions The configuration of the `Select all` options in a dropdown * control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c60326f1b1047785064eb1c85ab7525c233ddde102fbb8c888af74e4ed80b871") public fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty.Builder.() -> Unit) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: IResolvable) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: LabelOptionsProperty) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b7704b9d8b63afd40e82840bd1d87f00d19782582f4ab01ba3813b41b1b28060") public fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DropDownControlDisplayOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DropDownControlDisplayOptionsProperty.builder() /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2d2abfd19e327f99b2ef47ec8a3975391da3edeb72eaed69ff0a97502a913f29") override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit): Unit = infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty(infoIconLabelOptions)) /** * @param selectAllOptions The configuration of the `Select all` options in a dropdown * control. */ override fun selectAllOptions(selectAllOptions: IResolvable) { cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable.Companion::unwrap)) } /** * @param selectAllOptions The configuration of the `Select all` options in a dropdown * control. */ override fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty) { cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty.Companion::unwrap)) } /** * @param selectAllOptions The configuration of the `Select all` options in a dropdown * control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c60326f1b1047785064eb1c85ab7525c233ddde102fbb8c888af74e4ed80b871") override fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty.Builder.() -> Unit): Unit = selectAllOptions(ListControlSelectAllOptionsProperty(selectAllOptions)) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b7704b9d8b63afd40e82840bd1d87f00d19782582f4ab01ba3813b41b1b28060") override fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit): Unit = titleOptions(LabelOptionsProperty(titleOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DropDownControlDisplayOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DropDownControlDisplayOptionsProperty, ) : CdkObject(cdkObject), DropDownControlDisplayOptionsProperty { /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dropdowncontroldisplayoptions.html#cfn-quicksight-dashboard-dropdowncontroldisplayoptions-infoiconlabeloptions) */ override fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The configuration of the `Select all` options in a dropdown control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dropdowncontroldisplayoptions.html#cfn-quicksight-dashboard-dropdowncontroldisplayoptions-selectalloptions) */ override fun selectAllOptions(): Any? = unwrap(this).getSelectAllOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dropdowncontroldisplayoptions.html#cfn-quicksight-dashboard-dropdowncontroldisplayoptions-titleoptions) */ override fun titleOptions(): Any? = unwrap(this).getTitleOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DropDownControlDisplayOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DropDownControlDisplayOptionsProperty): DropDownControlDisplayOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? DropDownControlDisplayOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DropDownControlDisplayOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DropDownControlDisplayOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DropDownControlDisplayOptionsProperty } } /** * Defines different defaults to the users or groups based on mapping. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * DynamicDefaultValueProperty dynamicDefaultValueProperty = DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dynamicdefaultvalue.html) */ public interface DynamicDefaultValueProperty { /** * The column that contains the default value of each user or group. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dynamicdefaultvalue.html#cfn-quicksight-dashboard-dynamicdefaultvalue-defaultvaluecolumn) */ public fun defaultValueColumn(): Any /** * The column that contains the group name. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dynamicdefaultvalue.html#cfn-quicksight-dashboard-dynamicdefaultvalue-groupnamecolumn) */ public fun groupNameColumn(): Any? = unwrap(this).getGroupNameColumn() /** * The column that contains the username. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dynamicdefaultvalue.html#cfn-quicksight-dashboard-dynamicdefaultvalue-usernamecolumn) */ public fun userNameColumn(): Any? = unwrap(this).getUserNameColumn() /** * A builder for [DynamicDefaultValueProperty] */ @CdkDslMarker public interface Builder { /** * @param defaultValueColumn The column that contains the default value of each user or group. * */ public fun defaultValueColumn(defaultValueColumn: IResolvable) /** * @param defaultValueColumn The column that contains the default value of each user or group. * */ public fun defaultValueColumn(defaultValueColumn: ColumnIdentifierProperty) /** * @param defaultValueColumn The column that contains the default value of each user or group. * */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7eba0f09258c668ada4dbda086b35f88a293fb3ce7a5a09660e052e51fefbcf3") public fun defaultValueColumn(defaultValueColumn: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param groupNameColumn The column that contains the group name. */ public fun groupNameColumn(groupNameColumn: IResolvable) /** * @param groupNameColumn The column that contains the group name. */ public fun groupNameColumn(groupNameColumn: ColumnIdentifierProperty) /** * @param groupNameColumn The column that contains the group name. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9077f1fbbf01ac19a4e68adc588ce0b47e3c76cc89bdece8149ef57afbf914d0") public fun groupNameColumn(groupNameColumn: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param userNameColumn The column that contains the username. */ public fun userNameColumn(userNameColumn: IResolvable) /** * @param userNameColumn The column that contains the username. */ public fun userNameColumn(userNameColumn: ColumnIdentifierProperty) /** * @param userNameColumn The column that contains the username. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4cf5a8b95609d28b409d50fd243b743ff5f7aa66dd291bdedc47f210ade9851a") public fun userNameColumn(userNameColumn: ColumnIdentifierProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.DynamicDefaultValueProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.DynamicDefaultValueProperty.builder() /** * @param defaultValueColumn The column that contains the default value of each user or group. * */ override fun defaultValueColumn(defaultValueColumn: IResolvable) { cdkBuilder.defaultValueColumn(defaultValueColumn.let(IResolvable.Companion::unwrap)) } /** * @param defaultValueColumn The column that contains the default value of each user or group. * */ override fun defaultValueColumn(defaultValueColumn: ColumnIdentifierProperty) { cdkBuilder.defaultValueColumn(defaultValueColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param defaultValueColumn The column that contains the default value of each user or group. * */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7eba0f09258c668ada4dbda086b35f88a293fb3ce7a5a09660e052e51fefbcf3") override fun defaultValueColumn(defaultValueColumn: ColumnIdentifierProperty.Builder.() -> Unit): Unit = defaultValueColumn(ColumnIdentifierProperty(defaultValueColumn)) /** * @param groupNameColumn The column that contains the group name. */ override fun groupNameColumn(groupNameColumn: IResolvable) { cdkBuilder.groupNameColumn(groupNameColumn.let(IResolvable.Companion::unwrap)) } /** * @param groupNameColumn The column that contains the group name. */ override fun groupNameColumn(groupNameColumn: ColumnIdentifierProperty) { cdkBuilder.groupNameColumn(groupNameColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param groupNameColumn The column that contains the group name. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9077f1fbbf01ac19a4e68adc588ce0b47e3c76cc89bdece8149ef57afbf914d0") override fun groupNameColumn(groupNameColumn: ColumnIdentifierProperty.Builder.() -> Unit): Unit = groupNameColumn(ColumnIdentifierProperty(groupNameColumn)) /** * @param userNameColumn The column that contains the username. */ override fun userNameColumn(userNameColumn: IResolvable) { cdkBuilder.userNameColumn(userNameColumn.let(IResolvable.Companion::unwrap)) } /** * @param userNameColumn The column that contains the username. */ override fun userNameColumn(userNameColumn: ColumnIdentifierProperty) { cdkBuilder.userNameColumn(userNameColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param userNameColumn The column that contains the username. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4cf5a8b95609d28b409d50fd243b743ff5f7aa66dd291bdedc47f210ade9851a") override fun userNameColumn(userNameColumn: ColumnIdentifierProperty.Builder.() -> Unit): Unit = userNameColumn(ColumnIdentifierProperty(userNameColumn)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.DynamicDefaultValueProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DynamicDefaultValueProperty, ) : CdkObject(cdkObject), DynamicDefaultValueProperty { /** * The column that contains the default value of each user or group. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dynamicdefaultvalue.html#cfn-quicksight-dashboard-dynamicdefaultvalue-defaultvaluecolumn) */ override fun defaultValueColumn(): Any = unwrap(this).getDefaultValueColumn() /** * The column that contains the group name. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dynamicdefaultvalue.html#cfn-quicksight-dashboard-dynamicdefaultvalue-groupnamecolumn) */ override fun groupNameColumn(): Any? = unwrap(this).getGroupNameColumn() /** * The column that contains the username. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dynamicdefaultvalue.html#cfn-quicksight-dashboard-dynamicdefaultvalue-usernamecolumn) */ override fun userNameColumn(): Any? = unwrap(this).getUserNameColumn() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): DynamicDefaultValueProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DynamicDefaultValueProperty): DynamicDefaultValueProperty = CdkObjectWrappers.wrap(cdkObject) as? DynamicDefaultValueProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: DynamicDefaultValueProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.DynamicDefaultValueProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.DynamicDefaultValueProperty } } /** * An empty visual. * * Empty visuals are used in layouts but have not been configured to show any data. A new visual * created in the Amazon QuickSight console is considered an `EmptyVisual` until a visual type is * selected. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * EmptyVisualProperty emptyVisualProperty = EmptyVisualProperty.builder() * .dataSetIdentifier("dataSetIdentifier") * .visualId("visualId") * // the properties below are optional * .actions(List.of(VisualCustomActionProperty.builder() * .actionOperations(List.of(VisualCustomActionOperationProperty.builder() * .filterOperation(CustomActionFilterOperationProperty.builder() * .selectedFieldsConfiguration(FilterOperationSelectedFieldsConfigurationProperty.builder() * .selectedColumns(List.of(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build())) * .selectedFieldOptions("selectedFieldOptions") * .selectedFields(List.of("selectedFields")) * .build()) * .targetVisualsConfiguration(FilterOperationTargetVisualsConfigurationProperty.builder() * .sameSheetTargetVisualConfiguration(SameSheetTargetVisualConfigurationProperty.builder() * .targetVisualOptions("targetVisualOptions") * .targetVisuals(List.of("targetVisuals")) * .build()) * .build()) * .build()) * .navigationOperation(CustomActionNavigationOperationProperty.builder() * .localNavigationConfiguration(LocalNavigationConfigurationProperty.builder() * .targetSheetId("targetSheetId") * .build()) * .build()) * .setParametersOperation(CustomActionSetParametersOperationProperty.builder() * .parameterValueConfigurations(List.of(SetParameterValueConfigurationProperty.builder() * .destinationParameterName("destinationParameterName") * .value(DestinationParameterValueConfigurationProperty.builder() * .customValuesConfiguration(CustomValuesConfigurationProperty.builder() * .customValues(CustomParameterValuesProperty.builder() * .dateTimeValues(List.of("dateTimeValues")) * .decimalValues(List.of(123)) * .integerValues(List.of(123)) * .stringValues(List.of("stringValues")) * .build()) * // the properties below are optional * .includeNullValue(false) * .build()) * .selectAllValueOptions("selectAllValueOptions") * .sourceColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceField("sourceField") * .sourceParameterName("sourceParameterName") * .build()) * .build())) * .build()) * .urlOperation(CustomActionURLOperationProperty.builder() * .urlTarget("urlTarget") * .urlTemplate("urlTemplate") * .build()) * .build())) * .customActionId("customActionId") * .name("name") * .trigger("trigger") * // the properties below are optional * .status("status") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-emptyvisual.html) */ public interface EmptyVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-emptyvisual.html#cfn-quicksight-dashboard-emptyvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The data set that is used in the empty visual. * * Every visual requires a dataset to render. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-emptyvisual.html#cfn-quicksight-dashboard-emptyvisual-datasetidentifier) */ public fun dataSetIdentifier(): String /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-emptyvisual.html#cfn-quicksight-dashboard-emptyvisual-visualid) */ public fun visualId(): String /** * A builder for [EmptyVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param dataSetIdentifier The data set that is used in the empty visual. * Every visual requires a dataset to render. */ public fun dataSetIdentifier(dataSetIdentifier: String) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.EmptyVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.EmptyVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param dataSetIdentifier The data set that is used in the empty visual. * Every visual requires a dataset to render. */ override fun dataSetIdentifier(dataSetIdentifier: String) { cdkBuilder.dataSetIdentifier(dataSetIdentifier) } /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.EmptyVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.EmptyVisualProperty, ) : CdkObject(cdkObject), EmptyVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-emptyvisual.html#cfn-quicksight-dashboard-emptyvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The data set that is used in the empty visual. * * Every visual requires a dataset to render. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-emptyvisual.html#cfn-quicksight-dashboard-emptyvisual-datasetidentifier) */ override fun dataSetIdentifier(): String = unwrap(this).getDataSetIdentifier() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-emptyvisual.html#cfn-quicksight-dashboard-emptyvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): EmptyVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.EmptyVisualProperty): EmptyVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? EmptyVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: EmptyVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.EmptyVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.EmptyVisualProperty } } /** * An object, structure, or sub-structure of an analysis, template, or dashboard. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * EntityProperty entityProperty = EntityProperty.builder() * .path("path") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-entity.html) */ public interface EntityProperty { /** * The hierarchical path of the entity within the analysis, template, or dashboard definition * tree. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-entity.html#cfn-quicksight-dashboard-entity-path) */ public fun path(): String? = unwrap(this).getPath() /** * A builder for [EntityProperty] */ @CdkDslMarker public interface Builder { /** * @param path The hierarchical path of the entity within the analysis, template, or dashboard * definition tree. */ public fun path(path: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.EntityProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.EntityProperty.builder() /** * @param path The hierarchical path of the entity within the analysis, template, or dashboard * definition tree. */ override fun path(path: String) { cdkBuilder.path(path) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.EntityProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.EntityProperty, ) : CdkObject(cdkObject), EntityProperty { /** * The hierarchical path of the entity within the analysis, template, or dashboard definition * tree. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-entity.html#cfn-quicksight-dashboard-entity-path) */ override fun path(): String? = unwrap(this).getPath() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): EntityProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.EntityProperty): EntityProperty = CdkObjectWrappers.wrap(cdkObject) as? EntityProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: EntityProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.EntityProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.EntityProperty } } /** * The exclude period of `TimeRangeFilter` or `RelativeDatesFilter` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ExcludePeriodConfigurationProperty excludePeriodConfigurationProperty = * ExcludePeriodConfigurationProperty.builder() * .amount(123) * .granularity("granularity") * // the properties below are optional * .status("status") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-excludeperiodconfiguration.html) */ public interface ExcludePeriodConfigurationProperty { /** * The amount or number of the exclude period. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-excludeperiodconfiguration.html#cfn-quicksight-dashboard-excludeperiodconfiguration-amount) */ public fun amount(): Number /** * The granularity or unit (day, month, year) of the exclude period. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-excludeperiodconfiguration.html#cfn-quicksight-dashboard-excludeperiodconfiguration-granularity) */ public fun granularity(): String /** * The status of the exclude period. Choose from the following options:. * * * `ENABLED` * * `DISABLED` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-excludeperiodconfiguration.html#cfn-quicksight-dashboard-excludeperiodconfiguration-status) */ public fun status(): String? = unwrap(this).getStatus() /** * A builder for [ExcludePeriodConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param amount The amount or number of the exclude period. */ public fun amount(amount: Number) /** * @param granularity The granularity or unit (day, month, year) of the exclude period. */ public fun granularity(granularity: String) /** * @param status The status of the exclude period. Choose from the following options:. * * `ENABLED` * * `DISABLED` */ public fun status(status: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ExcludePeriodConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ExcludePeriodConfigurationProperty.builder() /** * @param amount The amount or number of the exclude period. */ override fun amount(amount: Number) { cdkBuilder.amount(amount) } /** * @param granularity The granularity or unit (day, month, year) of the exclude period. */ override fun granularity(granularity: String) { cdkBuilder.granularity(granularity) } /** * @param status The status of the exclude period. Choose from the following options:. * * `ENABLED` * * `DISABLED` */ override fun status(status: String) { cdkBuilder.status(status) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ExcludePeriodConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ExcludePeriodConfigurationProperty, ) : CdkObject(cdkObject), ExcludePeriodConfigurationProperty { /** * The amount or number of the exclude period. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-excludeperiodconfiguration.html#cfn-quicksight-dashboard-excludeperiodconfiguration-amount) */ override fun amount(): Number = unwrap(this).getAmount() /** * The granularity or unit (day, month, year) of the exclude period. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-excludeperiodconfiguration.html#cfn-quicksight-dashboard-excludeperiodconfiguration-granularity) */ override fun granularity(): String = unwrap(this).getGranularity() /** * The status of the exclude period. Choose from the following options:. * * * `ENABLED` * * `DISABLED` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-excludeperiodconfiguration.html#cfn-quicksight-dashboard-excludeperiodconfiguration-status) */ override fun status(): String? = unwrap(this).getStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ExcludePeriodConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ExcludePeriodConfigurationProperty): ExcludePeriodConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ExcludePeriodConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ExcludePeriodConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ExcludePeriodConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ExcludePeriodConfigurationProperty } } /** * The option that determines the hierarchy of the fields that are built within a visual's field * wells. * * These fields can't be duplicated to other visuals. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ExplicitHierarchyProperty explicitHierarchyProperty = ExplicitHierarchyProperty.builder() * .columns(List.of(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build())) * .hierarchyId("hierarchyId") * // the properties below are optional * .drillDownFilters(List.of(DrillDownFilterProperty.builder() * .categoryFilter(CategoryDrillDownFilterProperty.builder() * .categoryValues(List.of("categoryValues")) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .numericEqualityFilter(NumericEqualityDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .value(123) * .build()) * .timeRangeFilter(TimeRangeDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .rangeMaximum("rangeMaximum") * .rangeMinimum("rangeMinimum") * .timeGranularity("timeGranularity") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-explicithierarchy.html) */ public interface ExplicitHierarchyProperty { /** * The list of columns that define the explicit hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-explicithierarchy.html#cfn-quicksight-dashboard-explicithierarchy-columns) */ public fun columns(): Any /** * The option that determines the drill down filters for the explicit hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-explicithierarchy.html#cfn-quicksight-dashboard-explicithierarchy-drilldownfilters) */ public fun drillDownFilters(): Any? = unwrap(this).getDrillDownFilters() /** * The hierarchy ID of the explicit hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-explicithierarchy.html#cfn-quicksight-dashboard-explicithierarchy-hierarchyid) */ public fun hierarchyId(): String /** * A builder for [ExplicitHierarchyProperty] */ @CdkDslMarker public interface Builder { /** * @param columns The list of columns that define the explicit hierarchy. */ public fun columns(columns: IResolvable) /** * @param columns The list of columns that define the explicit hierarchy. */ public fun columns(columns: List) /** * @param columns The list of columns that define the explicit hierarchy. */ public fun columns(vararg columns: Any) /** * @param drillDownFilters The option that determines the drill down filters for the explicit * hierarchy. */ public fun drillDownFilters(drillDownFilters: IResolvable) /** * @param drillDownFilters The option that determines the drill down filters for the explicit * hierarchy. */ public fun drillDownFilters(drillDownFilters: List) /** * @param drillDownFilters The option that determines the drill down filters for the explicit * hierarchy. */ public fun drillDownFilters(vararg drillDownFilters: Any) /** * @param hierarchyId The hierarchy ID of the explicit hierarchy. */ public fun hierarchyId(hierarchyId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ExplicitHierarchyProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ExplicitHierarchyProperty.builder() /** * @param columns The list of columns that define the explicit hierarchy. */ override fun columns(columns: IResolvable) { cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** * @param columns The list of columns that define the explicit hierarchy. */ override fun columns(columns: List) { cdkBuilder.columns(columns.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columns The list of columns that define the explicit hierarchy. */ override fun columns(vararg columns: Any): Unit = columns(columns.toList()) /** * @param drillDownFilters The option that determines the drill down filters for the explicit * hierarchy. */ override fun drillDownFilters(drillDownFilters: IResolvable) { cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable.Companion::unwrap)) } /** * @param drillDownFilters The option that determines the drill down filters for the explicit * hierarchy. */ override fun drillDownFilters(drillDownFilters: List) { cdkBuilder.drillDownFilters(drillDownFilters.map{CdkObjectWrappers.unwrap(it)}) } /** * @param drillDownFilters The option that determines the drill down filters for the explicit * hierarchy. */ override fun drillDownFilters(vararg drillDownFilters: Any): Unit = drillDownFilters(drillDownFilters.toList()) /** * @param hierarchyId The hierarchy ID of the explicit hierarchy. */ override fun hierarchyId(hierarchyId: String) { cdkBuilder.hierarchyId(hierarchyId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ExplicitHierarchyProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ExplicitHierarchyProperty, ) : CdkObject(cdkObject), ExplicitHierarchyProperty { /** * The list of columns that define the explicit hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-explicithierarchy.html#cfn-quicksight-dashboard-explicithierarchy-columns) */ override fun columns(): Any = unwrap(this).getColumns() /** * The option that determines the drill down filters for the explicit hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-explicithierarchy.html#cfn-quicksight-dashboard-explicithierarchy-drilldownfilters) */ override fun drillDownFilters(): Any? = unwrap(this).getDrillDownFilters() /** * The hierarchy ID of the explicit hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-explicithierarchy.html#cfn-quicksight-dashboard-explicithierarchy-hierarchyid) */ override fun hierarchyId(): String = unwrap(this).getHierarchyId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ExplicitHierarchyProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ExplicitHierarchyProperty): ExplicitHierarchyProperty = CdkObjectWrappers.wrap(cdkObject) as? ExplicitHierarchyProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ExplicitHierarchyProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ExplicitHierarchyProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ExplicitHierarchyProperty } } /** * Determines if hidden fields are included in an exported dashboard. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ExportHiddenFieldsOptionProperty exportHiddenFieldsOptionProperty = * ExportHiddenFieldsOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-exporthiddenfieldsoption.html) */ public interface ExportHiddenFieldsOptionProperty { /** * The status of the export hidden fields options of a dashbaord. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-exporthiddenfieldsoption.html#cfn-quicksight-dashboard-exporthiddenfieldsoption-availabilitystatus) */ public fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() /** * A builder for [ExportHiddenFieldsOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param availabilityStatus The status of the export hidden fields options of a dashbaord. */ public fun availabilityStatus(availabilityStatus: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ExportHiddenFieldsOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ExportHiddenFieldsOptionProperty.builder() /** * @param availabilityStatus The status of the export hidden fields options of a dashbaord. */ override fun availabilityStatus(availabilityStatus: String) { cdkBuilder.availabilityStatus(availabilityStatus) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ExportHiddenFieldsOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ExportHiddenFieldsOptionProperty, ) : CdkObject(cdkObject), ExportHiddenFieldsOptionProperty { /** * The status of the export hidden fields options of a dashbaord. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-exporthiddenfieldsoption.html#cfn-quicksight-dashboard-exporthiddenfieldsoption-availabilitystatus) */ override fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ExportHiddenFieldsOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ExportHiddenFieldsOptionProperty): ExportHiddenFieldsOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? ExportHiddenFieldsOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ExportHiddenFieldsOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ExportHiddenFieldsOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ExportHiddenFieldsOptionProperty } } /** * Export to .csv option. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ExportToCSVOptionProperty exportToCSVOptionProperty = ExportToCSVOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-exporttocsvoption.html) */ public interface ExportToCSVOptionProperty { /** * Availability status. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-exporttocsvoption.html#cfn-quicksight-dashboard-exporttocsvoption-availabilitystatus) */ public fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() /** * A builder for [ExportToCSVOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param availabilityStatus Availability status. */ public fun availabilityStatus(availabilityStatus: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ExportToCSVOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ExportToCSVOptionProperty.builder() /** * @param availabilityStatus Availability status. */ override fun availabilityStatus(availabilityStatus: String) { cdkBuilder.availabilityStatus(availabilityStatus) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ExportToCSVOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ExportToCSVOptionProperty, ) : CdkObject(cdkObject), ExportToCSVOptionProperty { /** * Availability status. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-exporttocsvoption.html#cfn-quicksight-dashboard-exporttocsvoption-availabilitystatus) */ override fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ExportToCSVOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ExportToCSVOptionProperty): ExportToCSVOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? ExportToCSVOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ExportToCSVOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ExportToCSVOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ExportToCSVOptionProperty } } /** * Determines whether or not hidden fields are visible on exported dashbaords. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ExportWithHiddenFieldsOptionProperty exportWithHiddenFieldsOptionProperty = * ExportWithHiddenFieldsOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-exportwithhiddenfieldsoption.html) */ public interface ExportWithHiddenFieldsOptionProperty { /** * The status of the export with hidden fields options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-exportwithhiddenfieldsoption.html#cfn-quicksight-dashboard-exportwithhiddenfieldsoption-availabilitystatus) */ public fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() /** * A builder for [ExportWithHiddenFieldsOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param availabilityStatus The status of the export with hidden fields options. */ public fun availabilityStatus(availabilityStatus: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ExportWithHiddenFieldsOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ExportWithHiddenFieldsOptionProperty.builder() /** * @param availabilityStatus The status of the export with hidden fields options. */ override fun availabilityStatus(availabilityStatus: String) { cdkBuilder.availabilityStatus(availabilityStatus) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ExportWithHiddenFieldsOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ExportWithHiddenFieldsOptionProperty, ) : CdkObject(cdkObject), ExportWithHiddenFieldsOptionProperty { /** * The status of the export with hidden fields options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-exportwithhiddenfieldsoption.html#cfn-quicksight-dashboard-exportwithhiddenfieldsoption-availabilitystatus) */ override fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ExportWithHiddenFieldsOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ExportWithHiddenFieldsOptionProperty): ExportWithHiddenFieldsOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? ExportWithHiddenFieldsOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ExportWithHiddenFieldsOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ExportWithHiddenFieldsOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ExportWithHiddenFieldsOptionProperty } } /** * The setup for the detailed tooltip. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FieldBasedTooltipProperty fieldBasedTooltipProperty = FieldBasedTooltipProperty.builder() * .aggregationVisibility("aggregationVisibility") * .tooltipFields(List.of(TooltipItemProperty.builder() * .columnTooltipItem(ColumnTooltipItemProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregation(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .label("label") * .tooltipTarget("tooltipTarget") * .visibility("visibility") * .build()) * .fieldTooltipItem(FieldTooltipItemProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .label("label") * .tooltipTarget("tooltipTarget") * .visibility("visibility") * .build()) * .build())) * .tooltipTitleType("tooltipTitleType") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldbasedtooltip.html) */ public interface FieldBasedTooltipProperty { /** * The visibility of `Show aggregations` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldbasedtooltip.html#cfn-quicksight-dashboard-fieldbasedtooltip-aggregationvisibility) */ public fun aggregationVisibility(): String? = unwrap(this).getAggregationVisibility() /** * The fields configuration in the tooltip. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldbasedtooltip.html#cfn-quicksight-dashboard-fieldbasedtooltip-tooltipfields) */ public fun tooltipFields(): Any? = unwrap(this).getTooltipFields() /** * The type for the >tooltip title. Choose one of the following options:. * * * `NONE` : Doesn't use the primary value as the title. * * `PRIMARY_VALUE` : Uses primary value as the title. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldbasedtooltip.html#cfn-quicksight-dashboard-fieldbasedtooltip-tooltiptitletype) */ public fun tooltipTitleType(): String? = unwrap(this).getTooltipTitleType() /** * A builder for [FieldBasedTooltipProperty] */ @CdkDslMarker public interface Builder { /** * @param aggregationVisibility The visibility of `Show aggregations` . */ public fun aggregationVisibility(aggregationVisibility: String) /** * @param tooltipFields The fields configuration in the tooltip. */ public fun tooltipFields(tooltipFields: IResolvable) /** * @param tooltipFields The fields configuration in the tooltip. */ public fun tooltipFields(tooltipFields: List) /** * @param tooltipFields The fields configuration in the tooltip. */ public fun tooltipFields(vararg tooltipFields: Any) /** * @param tooltipTitleType The type for the >tooltip title. Choose one of the following * options:. * * `NONE` : Doesn't use the primary value as the title. * * `PRIMARY_VALUE` : Uses primary value as the title. */ public fun tooltipTitleType(tooltipTitleType: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldBasedTooltipProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FieldBasedTooltipProperty.builder() /** * @param aggregationVisibility The visibility of `Show aggregations` . */ override fun aggregationVisibility(aggregationVisibility: String) { cdkBuilder.aggregationVisibility(aggregationVisibility) } /** * @param tooltipFields The fields configuration in the tooltip. */ override fun tooltipFields(tooltipFields: IResolvable) { cdkBuilder.tooltipFields(tooltipFields.let(IResolvable.Companion::unwrap)) } /** * @param tooltipFields The fields configuration in the tooltip. */ override fun tooltipFields(tooltipFields: List) { cdkBuilder.tooltipFields(tooltipFields.map{CdkObjectWrappers.unwrap(it)}) } /** * @param tooltipFields The fields configuration in the tooltip. */ override fun tooltipFields(vararg tooltipFields: Any): Unit = tooltipFields(tooltipFields.toList()) /** * @param tooltipTitleType The type for the >tooltip title. Choose one of the following * options:. * * `NONE` : Doesn't use the primary value as the title. * * `PRIMARY_VALUE` : Uses primary value as the title. */ override fun tooltipTitleType(tooltipTitleType: String) { cdkBuilder.tooltipTitleType(tooltipTitleType) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FieldBasedTooltipProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldBasedTooltipProperty, ) : CdkObject(cdkObject), FieldBasedTooltipProperty { /** * The visibility of `Show aggregations` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldbasedtooltip.html#cfn-quicksight-dashboard-fieldbasedtooltip-aggregationvisibility) */ override fun aggregationVisibility(): String? = unwrap(this).getAggregationVisibility() /** * The fields configuration in the tooltip. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldbasedtooltip.html#cfn-quicksight-dashboard-fieldbasedtooltip-tooltipfields) */ override fun tooltipFields(): Any? = unwrap(this).getTooltipFields() /** * The type for the >tooltip title. Choose one of the following options:. * * * `NONE` : Doesn't use the primary value as the title. * * `PRIMARY_VALUE` : Uses primary value as the title. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldbasedtooltip.html#cfn-quicksight-dashboard-fieldbasedtooltip-tooltiptitletype) */ override fun tooltipTitleType(): String? = unwrap(this).getTooltipTitleType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FieldBasedTooltipProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldBasedTooltipProperty): FieldBasedTooltipProperty = CdkObjectWrappers.wrap(cdkObject) as? FieldBasedTooltipProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FieldBasedTooltipProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FieldBasedTooltipProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FieldBasedTooltipProperty } } /** * The field label type. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FieldLabelTypeProperty fieldLabelTypeProperty = FieldLabelTypeProperty.builder() * .fieldId("fieldId") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldlabeltype.html) */ public interface FieldLabelTypeProperty { /** * Indicates the field that is targeted by the field label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldlabeltype.html#cfn-quicksight-dashboard-fieldlabeltype-fieldid) */ public fun fieldId(): String? = unwrap(this).getFieldId() /** * The visibility of the field label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldlabeltype.html#cfn-quicksight-dashboard-fieldlabeltype-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [FieldLabelTypeProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldId Indicates the field that is targeted by the field label. */ public fun fieldId(fieldId: String) /** * @param visibility The visibility of the field label. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldLabelTypeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FieldLabelTypeProperty.builder() /** * @param fieldId Indicates the field that is targeted by the field label. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param visibility The visibility of the field label. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FieldLabelTypeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldLabelTypeProperty, ) : CdkObject(cdkObject), FieldLabelTypeProperty { /** * Indicates the field that is targeted by the field label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldlabeltype.html#cfn-quicksight-dashboard-fieldlabeltype-fieldid) */ override fun fieldId(): String? = unwrap(this).getFieldId() /** * The visibility of the field label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldlabeltype.html#cfn-quicksight-dashboard-fieldlabeltype-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FieldLabelTypeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldLabelTypeProperty): FieldLabelTypeProperty = CdkObjectWrappers.wrap(cdkObject) as? FieldLabelTypeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FieldLabelTypeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FieldLabelTypeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FieldLabelTypeProperty } } /** * The field series item configuration of a line chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FieldSeriesItemProperty fieldSeriesItemProperty = FieldSeriesItemProperty.builder() * .axisBinding("axisBinding") * .fieldId("fieldId") * // the properties below are optional * .settings(LineChartSeriesSettingsProperty.builder() * .lineStyleSettings(LineChartLineStyleSettingsProperty.builder() * .lineInterpolation("lineInterpolation") * .lineStyle("lineStyle") * .lineVisibility("lineVisibility") * .lineWidth("lineWidth") * .build()) * .markerStyleSettings(LineChartMarkerStyleSettingsProperty.builder() * .markerColor("markerColor") * .markerShape("markerShape") * .markerSize("markerSize") * .markerVisibility("markerVisibility") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldseriesitem.html) */ public interface FieldSeriesItemProperty { /** * The axis that you are binding the field to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldseriesitem.html#cfn-quicksight-dashboard-fieldseriesitem-axisbinding) */ public fun axisBinding(): String /** * The field ID of the field for which you are setting the axis binding. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldseriesitem.html#cfn-quicksight-dashboard-fieldseriesitem-fieldid) */ public fun fieldId(): String /** * The options that determine the presentation of line series associated to the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldseriesitem.html#cfn-quicksight-dashboard-fieldseriesitem-settings) */ public fun settings(): Any? = unwrap(this).getSettings() /** * A builder for [FieldSeriesItemProperty] */ @CdkDslMarker public interface Builder { /** * @param axisBinding The axis that you are binding the field to. */ public fun axisBinding(axisBinding: String) /** * @param fieldId The field ID of the field for which you are setting the axis binding. */ public fun fieldId(fieldId: String) /** * @param settings The options that determine the presentation of line series associated to * the field. */ public fun settings(settings: IResolvable) /** * @param settings The options that determine the presentation of line series associated to * the field. */ public fun settings(settings: LineChartSeriesSettingsProperty) /** * @param settings The options that determine the presentation of line series associated to * the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("37e1fd15c9db5e4e27b4fdb4430df4e303eae22bcfb517c14b7acb6392601cde") public fun settings(settings: LineChartSeriesSettingsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSeriesItemProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSeriesItemProperty.builder() /** * @param axisBinding The axis that you are binding the field to. */ override fun axisBinding(axisBinding: String) { cdkBuilder.axisBinding(axisBinding) } /** * @param fieldId The field ID of the field for which you are setting the axis binding. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param settings The options that determine the presentation of line series associated to * the field. */ override fun settings(settings: IResolvable) { cdkBuilder.settings(settings.let(IResolvable.Companion::unwrap)) } /** * @param settings The options that determine the presentation of line series associated to * the field. */ override fun settings(settings: LineChartSeriesSettingsProperty) { cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty.Companion::unwrap)) } /** * @param settings The options that determine the presentation of line series associated to * the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("37e1fd15c9db5e4e27b4fdb4430df4e303eae22bcfb517c14b7acb6392601cde") override fun settings(settings: LineChartSeriesSettingsProperty.Builder.() -> Unit): Unit = settings(LineChartSeriesSettingsProperty(settings)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSeriesItemProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSeriesItemProperty, ) : CdkObject(cdkObject), FieldSeriesItemProperty { /** * The axis that you are binding the field to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldseriesitem.html#cfn-quicksight-dashboard-fieldseriesitem-axisbinding) */ override fun axisBinding(): String = unwrap(this).getAxisBinding() /** * The field ID of the field for which you are setting the axis binding. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldseriesitem.html#cfn-quicksight-dashboard-fieldseriesitem-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The options that determine the presentation of line series associated to the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldseriesitem.html#cfn-quicksight-dashboard-fieldseriesitem-settings) */ override fun settings(): Any? = unwrap(this).getSettings() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FieldSeriesItemProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSeriesItemProperty): FieldSeriesItemProperty = CdkObjectWrappers.wrap(cdkObject) as? FieldSeriesItemProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FieldSeriesItemProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSeriesItemProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSeriesItemProperty } } /** * The field sort options in a chart configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FieldSortOptionsProperty fieldSortOptionsProperty = FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldsortoptions.html) */ public interface FieldSortOptionsProperty { /** * The sort configuration for a column that is not used in a field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldsortoptions.html#cfn-quicksight-dashboard-fieldsortoptions-columnsort) */ public fun columnSort(): Any? = unwrap(this).getColumnSort() /** * The sort configuration for a field in a field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldsortoptions.html#cfn-quicksight-dashboard-fieldsortoptions-fieldsort) */ public fun fieldSort(): Any? = unwrap(this).getFieldSort() /** * A builder for [FieldSortOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param columnSort The sort configuration for a column that is not used in a field well. */ public fun columnSort(columnSort: IResolvable) /** * @param columnSort The sort configuration for a column that is not used in a field well. */ public fun columnSort(columnSort: ColumnSortProperty) /** * @param columnSort The sort configuration for a column that is not used in a field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("81cb85600541022d8060b6038b5c1bb7d364c971a7b8dbbeee0cc04875c2a76c") public fun columnSort(columnSort: ColumnSortProperty.Builder.() -> Unit) /** * @param fieldSort The sort configuration for a field in a field well. */ public fun fieldSort(fieldSort: IResolvable) /** * @param fieldSort The sort configuration for a field in a field well. */ public fun fieldSort(fieldSort: FieldSortProperty) /** * @param fieldSort The sort configuration for a field in a field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a941282b2c9b7ab58423094a5a11b9bed29e88dae4e2ad7e91148e6236fc48af") public fun fieldSort(fieldSort: FieldSortProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortOptionsProperty.builder() /** * @param columnSort The sort configuration for a column that is not used in a field well. */ override fun columnSort(columnSort: IResolvable) { cdkBuilder.columnSort(columnSort.let(IResolvable.Companion::unwrap)) } /** * @param columnSort The sort configuration for a column that is not used in a field well. */ override fun columnSort(columnSort: ColumnSortProperty) { cdkBuilder.columnSort(columnSort.let(ColumnSortProperty.Companion::unwrap)) } /** * @param columnSort The sort configuration for a column that is not used in a field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("81cb85600541022d8060b6038b5c1bb7d364c971a7b8dbbeee0cc04875c2a76c") override fun columnSort(columnSort: ColumnSortProperty.Builder.() -> Unit): Unit = columnSort(ColumnSortProperty(columnSort)) /** * @param fieldSort The sort configuration for a field in a field well. */ override fun fieldSort(fieldSort: IResolvable) { cdkBuilder.fieldSort(fieldSort.let(IResolvable.Companion::unwrap)) } /** * @param fieldSort The sort configuration for a field in a field well. */ override fun fieldSort(fieldSort: FieldSortProperty) { cdkBuilder.fieldSort(fieldSort.let(FieldSortProperty.Companion::unwrap)) } /** * @param fieldSort The sort configuration for a field in a field well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a941282b2c9b7ab58423094a5a11b9bed29e88dae4e2ad7e91148e6236fc48af") override fun fieldSort(fieldSort: FieldSortProperty.Builder.() -> Unit): Unit = fieldSort(FieldSortProperty(fieldSort)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortOptionsProperty, ) : CdkObject(cdkObject), FieldSortOptionsProperty { /** * The sort configuration for a column that is not used in a field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldsortoptions.html#cfn-quicksight-dashboard-fieldsortoptions-columnsort) */ override fun columnSort(): Any? = unwrap(this).getColumnSort() /** * The sort configuration for a field in a field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldsortoptions.html#cfn-quicksight-dashboard-fieldsortoptions-fieldsort) */ override fun fieldSort(): Any? = unwrap(this).getFieldSort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FieldSortOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortOptionsProperty): FieldSortOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? FieldSortOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FieldSortOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortOptionsProperty } } /** * The sort configuration for a field in a field well. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FieldSortProperty fieldSortProperty = FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldsort.html) */ public interface FieldSortProperty { /** * The sort direction. Choose one of the following options:. * * * `ASC` : Ascending * * `DESC` : Descending * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldsort.html#cfn-quicksight-dashboard-fieldsort-direction) */ public fun direction(): String /** * The sort configuration target field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldsort.html#cfn-quicksight-dashboard-fieldsort-fieldid) */ public fun fieldId(): String /** * A builder for [FieldSortProperty] */ @CdkDslMarker public interface Builder { /** * @param direction The sort direction. Choose one of the following options:. * * `ASC` : Ascending * * `DESC` : Descending */ public fun direction(direction: String) /** * @param fieldId The sort configuration target field. */ public fun fieldId(fieldId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortProperty.builder() /** * @param direction The sort direction. Choose one of the following options:. * * `ASC` : Ascending * * `DESC` : Descending */ override fun direction(direction: String) { cdkBuilder.direction(direction) } /** * @param fieldId The sort configuration target field. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortProperty, ) : CdkObject(cdkObject), FieldSortProperty { /** * The sort direction. Choose one of the following options:. * * * `ASC` : Ascending * * `DESC` : Descending * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldsort.html#cfn-quicksight-dashboard-fieldsort-direction) */ override fun direction(): String = unwrap(this).getDirection() /** * The sort configuration target field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldsort.html#cfn-quicksight-dashboard-fieldsort-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FieldSortProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortProperty): FieldSortProperty = CdkObjectWrappers.wrap(cdkObject) as? FieldSortProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FieldSortProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortProperty } } /** * The tooltip item for the fields. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FieldTooltipItemProperty fieldTooltipItemProperty = FieldTooltipItemProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .label("label") * .tooltipTarget("tooltipTarget") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldtooltipitem.html) */ public interface FieldTooltipItemProperty { /** * The unique ID of the field that is targeted by the tooltip. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldtooltipitem.html#cfn-quicksight-dashboard-fieldtooltipitem-fieldid) */ public fun fieldId(): String /** * The label of the tooltip item. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldtooltipitem.html#cfn-quicksight-dashboard-fieldtooltipitem-label) */ public fun label(): String? = unwrap(this).getLabel() /** * Determines the target of the field tooltip item in a combo chart visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldtooltipitem.html#cfn-quicksight-dashboard-fieldtooltipitem-tooltiptarget) */ public fun tooltipTarget(): String? = unwrap(this).getTooltipTarget() /** * The visibility of the tooltip item. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldtooltipitem.html#cfn-quicksight-dashboard-fieldtooltipitem-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [FieldTooltipItemProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldId The unique ID of the field that is targeted by the tooltip. */ public fun fieldId(fieldId: String) /** * @param label The label of the tooltip item. */ public fun label(label: String) /** * @param tooltipTarget Determines the target of the field tooltip item in a combo chart * visual. */ public fun tooltipTarget(tooltipTarget: String) /** * @param visibility The visibility of the tooltip item. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldTooltipItemProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FieldTooltipItemProperty.builder() /** * @param fieldId The unique ID of the field that is targeted by the tooltip. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param label The label of the tooltip item. */ override fun label(label: String) { cdkBuilder.label(label) } /** * @param tooltipTarget Determines the target of the field tooltip item in a combo chart * visual. */ override fun tooltipTarget(tooltipTarget: String) { cdkBuilder.tooltipTarget(tooltipTarget) } /** * @param visibility The visibility of the tooltip item. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FieldTooltipItemProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldTooltipItemProperty, ) : CdkObject(cdkObject), FieldTooltipItemProperty { /** * The unique ID of the field that is targeted by the tooltip. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldtooltipitem.html#cfn-quicksight-dashboard-fieldtooltipitem-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The label of the tooltip item. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldtooltipitem.html#cfn-quicksight-dashboard-fieldtooltipitem-label) */ override fun label(): String? = unwrap(this).getLabel() /** * Determines the target of the field tooltip item in a combo chart visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldtooltipitem.html#cfn-quicksight-dashboard-fieldtooltipitem-tooltiptarget) */ override fun tooltipTarget(): String? = unwrap(this).getTooltipTarget() /** * The visibility of the tooltip item. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fieldtooltipitem.html#cfn-quicksight-dashboard-fieldtooltipitem-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FieldTooltipItemProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FieldTooltipItemProperty): FieldTooltipItemProperty = CdkObjectWrappers.wrap(cdkObject) as? FieldTooltipItemProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FieldTooltipItemProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FieldTooltipItemProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FieldTooltipItemProperty } } /** * The aggregated field well of the filled map. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilledMapAggregatedFieldWellsProperty filledMapAggregatedFieldWellsProperty = * FilledMapAggregatedFieldWellsProperty.builder() * .geospatial(List.of(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build())) * .values(List.of(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapaggregatedfieldwells.html) */ public interface FilledMapAggregatedFieldWellsProperty { /** * The aggregated location field well of the filled map. * * Values are grouped by location fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapaggregatedfieldwells.html#cfn-quicksight-dashboard-filledmapaggregatedfieldwells-geospatial) */ public fun geospatial(): Any? = unwrap(this).getGeospatial() /** * The aggregated color field well of a filled map. * * Values are aggregated based on location fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapaggregatedfieldwells.html#cfn-quicksight-dashboard-filledmapaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [FilledMapAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param geospatial The aggregated location field well of the filled map. * Values are grouped by location fields. */ public fun geospatial(geospatial: IResolvable) /** * @param geospatial The aggregated location field well of the filled map. * Values are grouped by location fields. */ public fun geospatial(geospatial: List) /** * @param geospatial The aggregated location field well of the filled map. * Values are grouped by location fields. */ public fun geospatial(vararg geospatial: Any) /** * @param values The aggregated color field well of a filled map. * Values are aggregated based on location fields. */ public fun values(values: IResolvable) /** * @param values The aggregated color field well of a filled map. * Values are aggregated based on location fields. */ public fun values(values: List) /** * @param values The aggregated color field well of a filled map. * Values are aggregated based on location fields. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapAggregatedFieldWellsProperty.builder() /** * @param geospatial The aggregated location field well of the filled map. * Values are grouped by location fields. */ override fun geospatial(geospatial: IResolvable) { cdkBuilder.geospatial(geospatial.let(IResolvable.Companion::unwrap)) } /** * @param geospatial The aggregated location field well of the filled map. * Values are grouped by location fields. */ override fun geospatial(geospatial: List) { cdkBuilder.geospatial(geospatial.map{CdkObjectWrappers.unwrap(it)}) } /** * @param geospatial The aggregated location field well of the filled map. * Values are grouped by location fields. */ override fun geospatial(vararg geospatial: Any): Unit = geospatial(geospatial.toList()) /** * @param values The aggregated color field well of a filled map. * Values are aggregated based on location fields. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The aggregated color field well of a filled map. * Values are aggregated based on location fields. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The aggregated color field well of a filled map. * Values are aggregated based on location fields. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), FilledMapAggregatedFieldWellsProperty { /** * The aggregated location field well of the filled map. * * Values are grouped by location fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapaggregatedfieldwells.html#cfn-quicksight-dashboard-filledmapaggregatedfieldwells-geospatial) */ override fun geospatial(): Any? = unwrap(this).getGeospatial() /** * The aggregated color field well of a filled map. * * Values are aggregated based on location fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapaggregatedfieldwells.html#cfn-quicksight-dashboard-filledmapaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilledMapAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapAggregatedFieldWellsProperty): FilledMapAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? FilledMapAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilledMapAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapAggregatedFieldWellsProperty } } /** * Conditional formatting options of a `FilledMapVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilledMapConditionalFormattingOptionProperty filledMapConditionalFormattingOptionProperty = * FilledMapConditionalFormattingOptionProperty.builder() * .shape(FilledMapShapeConditionalFormattingProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .format(ShapeConditionalFormatProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconditionalformattingoption.html) */ public interface FilledMapConditionalFormattingOptionProperty { /** * The conditional formatting that determines the shape of the filled map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconditionalformattingoption.html#cfn-quicksight-dashboard-filledmapconditionalformattingoption-shape) */ public fun shape(): Any /** * A builder for [FilledMapConditionalFormattingOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param shape The conditional formatting that determines the shape of the filled map. */ public fun shape(shape: IResolvable) /** * @param shape The conditional formatting that determines the shape of the filled map. */ public fun shape(shape: FilledMapShapeConditionalFormattingProperty) /** * @param shape The conditional formatting that determines the shape of the filled map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("68f32536087e6a0bf35464b7b177a2fa58960aec105d28d3a23a537f4996ef63") public fun shape(shape: FilledMapShapeConditionalFormattingProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingOptionProperty.builder() /** * @param shape The conditional formatting that determines the shape of the filled map. */ override fun shape(shape: IResolvable) { cdkBuilder.shape(shape.let(IResolvable.Companion::unwrap)) } /** * @param shape The conditional formatting that determines the shape of the filled map. */ override fun shape(shape: FilledMapShapeConditionalFormattingProperty) { cdkBuilder.shape(shape.let(FilledMapShapeConditionalFormattingProperty.Companion::unwrap)) } /** * @param shape The conditional formatting that determines the shape of the filled map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("68f32536087e6a0bf35464b7b177a2fa58960aec105d28d3a23a537f4996ef63") override fun shape(shape: FilledMapShapeConditionalFormattingProperty.Builder.() -> Unit): Unit = shape(FilledMapShapeConditionalFormattingProperty(shape)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingOptionProperty, ) : CdkObject(cdkObject), FilledMapConditionalFormattingOptionProperty { /** * The conditional formatting that determines the shape of the filled map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconditionalformattingoption.html#cfn-quicksight-dashboard-filledmapconditionalformattingoption-shape) */ override fun shape(): Any = unwrap(this).getShape() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilledMapConditionalFormattingOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingOptionProperty): FilledMapConditionalFormattingOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? FilledMapConditionalFormattingOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilledMapConditionalFormattingOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingOptionProperty } } /** * The conditional formatting of a `FilledMapVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilledMapConditionalFormattingProperty filledMapConditionalFormattingProperty = * FilledMapConditionalFormattingProperty.builder() * .conditionalFormattingOptions(List.of(FilledMapConditionalFormattingOptionProperty.builder() * .shape(FilledMapShapeConditionalFormattingProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .format(ShapeConditionalFormatProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconditionalformatting.html) */ public interface FilledMapConditionalFormattingProperty { /** * Conditional formatting options of a `FilledMapVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconditionalformatting.html#cfn-quicksight-dashboard-filledmapconditionalformatting-conditionalformattingoptions) */ public fun conditionalFormattingOptions(): Any /** * A builder for [FilledMapConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param conditionalFormattingOptions Conditional formatting options of a `FilledMapVisual` . * */ public fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) /** * @param conditionalFormattingOptions Conditional formatting options of a `FilledMapVisual` . * */ public fun conditionalFormattingOptions(conditionalFormattingOptions: List) /** * @param conditionalFormattingOptions Conditional formatting options of a `FilledMapVisual` . * */ public fun conditionalFormattingOptions(vararg conditionalFormattingOptions: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingProperty.builder() /** * @param conditionalFormattingOptions Conditional formatting options of a `FilledMapVisual` . * */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormattingOptions Conditional formatting options of a `FilledMapVisual` . * */ override fun conditionalFormattingOptions(conditionalFormattingOptions: List) { cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param conditionalFormattingOptions Conditional formatting options of a `FilledMapVisual` . * */ override fun conditionalFormattingOptions(vararg conditionalFormattingOptions: Any): Unit = conditionalFormattingOptions(conditionalFormattingOptions.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingProperty, ) : CdkObject(cdkObject), FilledMapConditionalFormattingProperty { /** * Conditional formatting options of a `FilledMapVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconditionalformatting.html#cfn-quicksight-dashboard-filledmapconditionalformatting-conditionalformattingoptions) */ override fun conditionalFormattingOptions(): Any = unwrap(this).getConditionalFormattingOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilledMapConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingProperty): FilledMapConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? FilledMapConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilledMapConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConditionalFormattingProperty } } /** * The configuration for a `FilledMapVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html) */ public interface FilledMapConfigurationProperty { /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html#cfn-quicksight-dashboard-filledmapconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html#cfn-quicksight-dashboard-filledmapconfiguration-legend) */ public fun legend(): Any? = unwrap(this).getLegend() /** * The map style options of the filled map visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html#cfn-quicksight-dashboard-filledmapconfiguration-mapstyleoptions) */ public fun mapStyleOptions(): Any? = unwrap(this).getMapStyleOptions() /** * The sort configuration of a `FilledMapVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html#cfn-quicksight-dashboard-filledmapconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html#cfn-quicksight-dashboard-filledmapconfiguration-tooltip) */ public fun tooltip(): Any? = unwrap(this).getTooltip() /** * The window options of the filled map visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html#cfn-quicksight-dashboard-filledmapconfiguration-windowoptions) */ public fun windowOptions(): Any? = unwrap(this).getWindowOptions() /** * A builder for [FilledMapConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: FilledMapFieldWellsProperty) /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7ada2fafd84b34e0ef471727f5bb8450c53bc5178d3e650c3b8192d03c92ba89") public fun fieldWells(fieldWells: FilledMapFieldWellsProperty.Builder.() -> Unit) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: IResolvable) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: LegendOptionsProperty) /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a8335f503a502029fdff03fdf5d48c624b2bedb80f2004ff7933a426581df78a") public fun legend(legend: LegendOptionsProperty.Builder.() -> Unit) /** * @param mapStyleOptions The map style options of the filled map visual. */ public fun mapStyleOptions(mapStyleOptions: IResolvable) /** * @param mapStyleOptions The map style options of the filled map visual. */ public fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty) /** * @param mapStyleOptions The map style options of the filled map visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dade57a14c51916e7da9b8faf6ca3071268d7f43e19add56c6e0ac6e0e1ad7b5") public fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration of a `FilledMapVisual` . */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a `FilledMapVisual` . */ public fun sortConfiguration(sortConfiguration: FilledMapSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a `FilledMapVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("795dacf735e17925daacf1efcff2bb18d47c1e74c6c6a1a02c1317c1bbcf6bb0") public fun sortConfiguration(sortConfiguration: FilledMapSortConfigurationProperty.Builder.() -> Unit) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: IResolvable) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: TooltipOptionsProperty) /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2a0fc7fb1a39d7c6f3847a449ffaa25c7c155563029d8a5dda4a8029ce6003f4") public fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit) /** * @param windowOptions The window options of the filled map visual. */ public fun windowOptions(windowOptions: IResolvable) /** * @param windowOptions The window options of the filled map visual. */ public fun windowOptions(windowOptions: GeospatialWindowOptionsProperty) /** * @param windowOptions The window options of the filled map visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("43b87fd3a8d8d188ed25e8015980e024dc38079d6a4fa8bc9a86411c31bfca9f") public fun windowOptions(windowOptions: GeospatialWindowOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConfigurationProperty.builder() /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: FilledMapFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(FilledMapFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7ada2fafd84b34e0ef471727f5bb8450c53bc5178d3e650c3b8192d03c92ba89") override fun fieldWells(fieldWells: FilledMapFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(FilledMapFieldWellsProperty(fieldWells)) /** * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a8335f503a502029fdff03fdf5d48c624b2bedb80f2004ff7933a426581df78a") override fun legend(legend: LegendOptionsProperty.Builder.() -> Unit): Unit = legend(LegendOptionsProperty(legend)) /** * @param mapStyleOptions The map style options of the filled map visual. */ override fun mapStyleOptions(mapStyleOptions: IResolvable) { cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable.Companion::unwrap)) } /** * @param mapStyleOptions The map style options of the filled map visual. */ override fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty) { cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty.Companion::unwrap)) } /** * @param mapStyleOptions The map style options of the filled map visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dade57a14c51916e7da9b8faf6ca3071268d7f43e19add56c6e0ac6e0e1ad7b5") override fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty.Builder.() -> Unit): Unit = mapStyleOptions(GeospatialMapStyleOptionsProperty(mapStyleOptions)) /** * @param sortConfiguration The sort configuration of a `FilledMapVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `FilledMapVisual` . */ override fun sortConfiguration(sortConfiguration: FilledMapSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(FilledMapSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `FilledMapVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("795dacf735e17925daacf1efcff2bb18d47c1e74c6c6a1a02c1317c1bbcf6bb0") override fun sortConfiguration(sortConfiguration: FilledMapSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(FilledMapSortConfigurationProperty(sortConfiguration)) /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2a0fc7fb1a39d7c6f3847a449ffaa25c7c155563029d8a5dda4a8029ce6003f4") override fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltip(TooltipOptionsProperty(tooltip)) /** * @param windowOptions The window options of the filled map visual. */ override fun windowOptions(windowOptions: IResolvable) { cdkBuilder.windowOptions(windowOptions.let(IResolvable.Companion::unwrap)) } /** * @param windowOptions The window options of the filled map visual. */ override fun windowOptions(windowOptions: GeospatialWindowOptionsProperty) { cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty.Companion::unwrap)) } /** * @param windowOptions The window options of the filled map visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("43b87fd3a8d8d188ed25e8015980e024dc38079d6a4fa8bc9a86411c31bfca9f") override fun windowOptions(windowOptions: GeospatialWindowOptionsProperty.Builder.() -> Unit): Unit = windowOptions(GeospatialWindowOptionsProperty(windowOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConfigurationProperty, ) : CdkObject(cdkObject), FilledMapConfigurationProperty { /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html#cfn-quicksight-dashboard-filledmapconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html#cfn-quicksight-dashboard-filledmapconfiguration-legend) */ override fun legend(): Any? = unwrap(this).getLegend() /** * The map style options of the filled map visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html#cfn-quicksight-dashboard-filledmapconfiguration-mapstyleoptions) */ override fun mapStyleOptions(): Any? = unwrap(this).getMapStyleOptions() /** * The sort configuration of a `FilledMapVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html#cfn-quicksight-dashboard-filledmapconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html#cfn-quicksight-dashboard-filledmapconfiguration-tooltip) */ override fun tooltip(): Any? = unwrap(this).getTooltip() /** * The window options of the filled map visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapconfiguration.html#cfn-quicksight-dashboard-filledmapconfiguration-windowoptions) */ override fun windowOptions(): Any? = unwrap(this).getWindowOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilledMapConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConfigurationProperty): FilledMapConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? FilledMapConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilledMapConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapConfigurationProperty } } /** * The field wells of a `FilledMapVisual` . * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilledMapFieldWellsProperty filledMapFieldWellsProperty = FilledMapFieldWellsProperty.builder() * .filledMapAggregatedFieldWells(FilledMapAggregatedFieldWellsProperty.builder() * .geospatial(List.of(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build())) * .values(List.of(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build())) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapfieldwells.html) */ public interface FilledMapFieldWellsProperty { /** * The aggregated field well of the filled map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapfieldwells.html#cfn-quicksight-dashboard-filledmapfieldwells-filledmapaggregatedfieldwells) */ public fun filledMapAggregatedFieldWells(): Any? = unwrap(this).getFilledMapAggregatedFieldWells() /** * A builder for [FilledMapFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param filledMapAggregatedFieldWells The aggregated field well of the filled map. */ public fun filledMapAggregatedFieldWells(filledMapAggregatedFieldWells: IResolvable) /** * @param filledMapAggregatedFieldWells The aggregated field well of the filled map. */ public fun filledMapAggregatedFieldWells(filledMapAggregatedFieldWells: FilledMapAggregatedFieldWellsProperty) /** * @param filledMapAggregatedFieldWells The aggregated field well of the filled map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("90e2c45d681e6b971517d523430435584ea0021cc5124b33a2a385749a879a0d") public fun filledMapAggregatedFieldWells(filledMapAggregatedFieldWells: FilledMapAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapFieldWellsProperty.builder() /** * @param filledMapAggregatedFieldWells The aggregated field well of the filled map. */ override fun filledMapAggregatedFieldWells(filledMapAggregatedFieldWells: IResolvable) { cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param filledMapAggregatedFieldWells The aggregated field well of the filled map. */ override fun filledMapAggregatedFieldWells(filledMapAggregatedFieldWells: FilledMapAggregatedFieldWellsProperty) { cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(FilledMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param filledMapAggregatedFieldWells The aggregated field well of the filled map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("90e2c45d681e6b971517d523430435584ea0021cc5124b33a2a385749a879a0d") override fun filledMapAggregatedFieldWells(filledMapAggregatedFieldWells: FilledMapAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = filledMapAggregatedFieldWells(FilledMapAggregatedFieldWellsProperty(filledMapAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapFieldWellsProperty, ) : CdkObject(cdkObject), FilledMapFieldWellsProperty { /** * The aggregated field well of the filled map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapfieldwells.html#cfn-quicksight-dashboard-filledmapfieldwells-filledmapaggregatedfieldwells) */ override fun filledMapAggregatedFieldWells(): Any? = unwrap(this).getFilledMapAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilledMapFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapFieldWellsProperty): FilledMapFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? FilledMapFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilledMapFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapFieldWellsProperty } } /** * The conditional formatting that determines the shape of the filled map. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilledMapShapeConditionalFormattingProperty filledMapShapeConditionalFormattingProperty = * FilledMapShapeConditionalFormattingProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .format(ShapeConditionalFormatProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapshapeconditionalformatting.html) */ public interface FilledMapShapeConditionalFormattingProperty { /** * The field ID of the filled map shape. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapshapeconditionalformatting.html#cfn-quicksight-dashboard-filledmapshapeconditionalformatting-fieldid) */ public fun fieldId(): String /** * The conditional formatting that determines the background color of a filled map's shape. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapshapeconditionalformatting.html#cfn-quicksight-dashboard-filledmapshapeconditionalformatting-format) */ public fun format(): Any? = unwrap(this).getFormat() /** * A builder for [FilledMapShapeConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldId The field ID of the filled map shape. */ public fun fieldId(fieldId: String) /** * @param format The conditional formatting that determines the background color of a filled * map's shape. */ public fun format(format: IResolvable) /** * @param format The conditional formatting that determines the background color of a filled * map's shape. */ public fun format(format: ShapeConditionalFormatProperty) /** * @param format The conditional formatting that determines the background color of a filled * map's shape. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("367fea5f48496966a29343f044c0e48f2f6c8e3f9d4fa3aa52b7b5724bf7c6d4") public fun format(format: ShapeConditionalFormatProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapShapeConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapShapeConditionalFormattingProperty.builder() /** * @param fieldId The field ID of the filled map shape. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param format The conditional formatting that determines the background color of a filled * map's shape. */ override fun format(format: IResolvable) { cdkBuilder.format(format.let(IResolvable.Companion::unwrap)) } /** * @param format The conditional formatting that determines the background color of a filled * map's shape. */ override fun format(format: ShapeConditionalFormatProperty) { cdkBuilder.format(format.let(ShapeConditionalFormatProperty.Companion::unwrap)) } /** * @param format The conditional formatting that determines the background color of a filled * map's shape. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("367fea5f48496966a29343f044c0e48f2f6c8e3f9d4fa3aa52b7b5724bf7c6d4") override fun format(format: ShapeConditionalFormatProperty.Builder.() -> Unit): Unit = format(ShapeConditionalFormatProperty(format)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapShapeConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapShapeConditionalFormattingProperty, ) : CdkObject(cdkObject), FilledMapShapeConditionalFormattingProperty { /** * The field ID of the filled map shape. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapshapeconditionalformatting.html#cfn-quicksight-dashboard-filledmapshapeconditionalformatting-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The conditional formatting that determines the background color of a filled map's shape. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapshapeconditionalformatting.html#cfn-quicksight-dashboard-filledmapshapeconditionalformatting-format) */ override fun format(): Any? = unwrap(this).getFormat() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilledMapShapeConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapShapeConditionalFormattingProperty): FilledMapShapeConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? FilledMapShapeConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilledMapShapeConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapShapeConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapShapeConditionalFormattingProperty } } /** * The sort configuration of a `FilledMapVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilledMapSortConfigurationProperty filledMapSortConfigurationProperty = * FilledMapSortConfigurationProperty.builder() * .categorySort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapsortconfiguration.html) */ public interface FilledMapSortConfigurationProperty { /** * The sort configuration of the location fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapsortconfiguration.html#cfn-quicksight-dashboard-filledmapsortconfiguration-categorysort) */ public fun categorySort(): Any? = unwrap(this).getCategorySort() /** * A builder for [FilledMapSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categorySort The sort configuration of the location fields. */ public fun categorySort(categorySort: IResolvable) /** * @param categorySort The sort configuration of the location fields. */ public fun categorySort(categorySort: List) /** * @param categorySort The sort configuration of the location fields. */ public fun categorySort(vararg categorySort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapSortConfigurationProperty.builder() /** * @param categorySort The sort configuration of the location fields. */ override fun categorySort(categorySort: IResolvable) { cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** * @param categorySort The sort configuration of the location fields. */ override fun categorySort(categorySort: List) { cdkBuilder.categorySort(categorySort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param categorySort The sort configuration of the location fields. */ override fun categorySort(vararg categorySort: Any): Unit = categorySort(categorySort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapSortConfigurationProperty, ) : CdkObject(cdkObject), FilledMapSortConfigurationProperty { /** * The sort configuration of the location fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapsortconfiguration.html#cfn-quicksight-dashboard-filledmapsortconfiguration-categorysort) */ override fun categorySort(): Any? = unwrap(this).getCategorySort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilledMapSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapSortConfigurationProperty): FilledMapSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? FilledMapSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilledMapSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapSortConfigurationProperty } } /** * A filled map. * * For more information, see [Creating filled * maps](https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html) */ public interface FilledMapVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The conditional formatting of a `FilledMapVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-conditionalformatting) */ public fun conditionalFormatting(): Any? = unwrap(this).getConditionalFormatting() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-visualid) */ public fun visualId(): String /** * A builder for [FilledMapVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: FilledMapConfigurationProperty) /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3cf91c80157373546439e8d3c0392d23b4a9fab7b402ac5d9430d6dca63d68ae") public fun chartConfiguration(chartConfiguration: FilledMapConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param conditionalFormatting The conditional formatting of a `FilledMapVisual` . */ public fun conditionalFormatting(conditionalFormatting: IResolvable) /** * @param conditionalFormatting The conditional formatting of a `FilledMapVisual` . */ public fun conditionalFormatting(conditionalFormatting: FilledMapConditionalFormattingProperty) /** * @param conditionalFormatting The conditional formatting of a `FilledMapVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0fe6ab21d2a601f10c165b82465c754dd62578bba4e2b9af9d1baf03c1603b7d") public fun conditionalFormatting(conditionalFormatting: FilledMapConditionalFormattingProperty.Builder.() -> Unit) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ee9d556c32811a7a80b34a1e80b0474f2b805bd2b7dba310d1818ecf8e68daa6") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1fb6de35f3af480cab3218ab2f49e29bcecb934e45c4e20dc19e02601d8d41c2") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: FilledMapConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(FilledMapConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3cf91c80157373546439e8d3c0392d23b4a9fab7b402ac5d9430d6dca63d68ae") override fun chartConfiguration(chartConfiguration: FilledMapConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(FilledMapConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param conditionalFormatting The conditional formatting of a `FilledMapVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting of a `FilledMapVisual` . */ override fun conditionalFormatting(conditionalFormatting: FilledMapConditionalFormattingProperty) { cdkBuilder.conditionalFormatting(conditionalFormatting.let(FilledMapConditionalFormattingProperty.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting of a `FilledMapVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0fe6ab21d2a601f10c165b82465c754dd62578bba4e2b9af9d1baf03c1603b7d") override fun conditionalFormatting(conditionalFormatting: FilledMapConditionalFormattingProperty.Builder.() -> Unit): Unit = conditionalFormatting(FilledMapConditionalFormattingProperty(conditionalFormatting)) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ee9d556c32811a7a80b34a1e80b0474f2b805bd2b7dba310d1818ecf8e68daa6") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1fb6de35f3af480cab3218ab2f49e29bcecb934e45c4e20dc19e02601d8d41c2") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapVisualProperty, ) : CdkObject(cdkObject), FilledMapVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The conditional formatting of a `FilledMapVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-conditionalformatting) */ override fun conditionalFormatting(): Any? = unwrap(this).getConditionalFormatting() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filledmapvisual.html#cfn-quicksight-dashboard-filledmapvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilledMapVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapVisualProperty): FilledMapVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? FilledMapVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilledMapVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapVisualProperty } } /** * The control of a filter that is used to interact with a dashboard or an analysis. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterControlProperty filterControlProperty = FilterControlProperty.builder() * .crossSheet(FilterCrossSheetControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * // the properties below are optional * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() * .sourceControls(List.of(CascadingControlSourceProperty.builder() * .columnToMatch(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceSheetControlId("sourceSheetControlId") * .build())) * .build()) * .build()) * .dateTimePicker(FilterDateTimePickerControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * .title("title") * // the properties below are optional * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .dropdown(FilterDropDownControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * .title("title") * // the properties below are optional * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() * .sourceControls(List.of(CascadingControlSourceProperty.builder() * .columnToMatch(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceSheetControlId("sourceSheetControlId") * .build())) * .build()) * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .list(FilterListControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * .title("title") * // the properties below are optional * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() * .sourceControls(List.of(CascadingControlSourceProperty.builder() * .columnToMatch(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceSheetControlId("sourceSheetControlId") * .build())) * .build()) * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .relativeDateTime(FilterRelativeDateTimeControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * .title("title") * // the properties below are optional * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .slider(FilterSliderControlProperty.builder() * .filterControlId("filterControlId") * .maximumValue(123) * .minimumValue(123) * .sourceFilterId("sourceFilterId") * .stepSize(123) * .title("title") * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .textArea(FilterTextAreaControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * .title("title") * // the properties below are optional * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .textField(FilterTextFieldControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * .title("title") * // the properties below are optional * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html) */ public interface FilterControlProperty { /** * A control from a filter that is scoped across more than one sheet. * * This represents your filter control on a sheet * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-crosssheet) */ public fun crossSheet(): Any? = unwrap(this).getCrossSheet() /** * A control from a date filter that is used to specify date and time. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-datetimepicker) */ public fun dateTimePicker(): Any? = unwrap(this).getDateTimePicker() /** * A control to display a dropdown list with buttons that are used to select a single value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-dropdown) */ public fun dropdown(): Any? = unwrap(this).getDropdown() /** * A control to display a list of buttons or boxes. * * This is used to select either a single value or multiple values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-list) */ public fun list(): Any? = unwrap(this).getList() /** * A control from a date filter that is used to specify the relative date. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-relativedatetime) */ public fun relativeDateTime(): Any? = unwrap(this).getRelativeDateTime() /** * A control to display a horizontal toggle bar. * * This is used to change a value by sliding the toggle. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-slider) */ public fun slider(): Any? = unwrap(this).getSlider() /** * A control to display a text box that is used to enter multiple entries. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-textarea) */ public fun textArea(): Any? = unwrap(this).getTextArea() /** * A control to display a text box that is used to enter a single entry. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-textfield) */ public fun textField(): Any? = unwrap(this).getTextField() /** * A builder for [FilterControlProperty] */ @CdkDslMarker public interface Builder { /** * @param crossSheet A control from a filter that is scoped across more than one sheet. * This represents your filter control on a sheet */ public fun crossSheet(crossSheet: IResolvable) /** * @param crossSheet A control from a filter that is scoped across more than one sheet. * This represents your filter control on a sheet */ public fun crossSheet(crossSheet: FilterCrossSheetControlProperty) /** * @param crossSheet A control from a filter that is scoped across more than one sheet. * This represents your filter control on a sheet */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("822216a96316cf69b6cc764e94f0d361cecfd66e45629b11fb7dd9f213c47ef3") public fun crossSheet(crossSheet: FilterCrossSheetControlProperty.Builder.() -> Unit) /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ public fun dateTimePicker(dateTimePicker: IResolvable) /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ public fun dateTimePicker(dateTimePicker: FilterDateTimePickerControlProperty) /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5940e10adef7d89d5b5ba449f11e31848e9e88fe13eb85a52c0851e922ffb90f") public fun dateTimePicker(dateTimePicker: FilterDateTimePickerControlProperty.Builder.() -> Unit) /** * @param dropdown A control to display a dropdown list with buttons that are used to select a * single value. */ public fun dropdown(dropdown: IResolvable) /** * @param dropdown A control to display a dropdown list with buttons that are used to select a * single value. */ public fun dropdown(dropdown: FilterDropDownControlProperty) /** * @param dropdown A control to display a dropdown list with buttons that are used to select a * single value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d2a2aed843ae740338aebefff7560fb4b6dc9bc7903ba673f1ed7169e673cfa2") public fun dropdown(dropdown: FilterDropDownControlProperty.Builder.() -> Unit) /** * @param list A control to display a list of buttons or boxes. * This is used to select either a single value or multiple values. */ public fun list(list: IResolvable) /** * @param list A control to display a list of buttons or boxes. * This is used to select either a single value or multiple values. */ public fun list(list: FilterListControlProperty) /** * @param list A control to display a list of buttons or boxes. * This is used to select either a single value or multiple values. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("df811eb4d0c697a40db2d7ffd63cf29e111220dfb399efb684183a2888537969") public fun list(list: FilterListControlProperty.Builder.() -> Unit) /** * @param relativeDateTime A control from a date filter that is used to specify the relative * date. */ public fun relativeDateTime(relativeDateTime: IResolvable) /** * @param relativeDateTime A control from a date filter that is used to specify the relative * date. */ public fun relativeDateTime(relativeDateTime: FilterRelativeDateTimeControlProperty) /** * @param relativeDateTime A control from a date filter that is used to specify the relative * date. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d781fec17ee562efda24e4d6247c28f19240d330788c9a171aa23cca8936f735") public fun relativeDateTime(relativeDateTime: FilterRelativeDateTimeControlProperty.Builder.() -> Unit) /** * @param slider A control to display a horizontal toggle bar. * This is used to change a value by sliding the toggle. */ public fun slider(slider: IResolvable) /** * @param slider A control to display a horizontal toggle bar. * This is used to change a value by sliding the toggle. */ public fun slider(slider: FilterSliderControlProperty) /** * @param slider A control to display a horizontal toggle bar. * This is used to change a value by sliding the toggle. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("200f949c700ffcbecd3ceca304e0847f89386d4e2a4f053a31252ed4c29f9c50") public fun slider(slider: FilterSliderControlProperty.Builder.() -> Unit) /** * @param textArea A control to display a text box that is used to enter multiple entries. */ public fun textArea(textArea: IResolvable) /** * @param textArea A control to display a text box that is used to enter multiple entries. */ public fun textArea(textArea: FilterTextAreaControlProperty) /** * @param textArea A control to display a text box that is used to enter multiple entries. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3caf077196a0d654b670cb285b2aea44e502823924b2d1582c6bcb7285a33eb1") public fun textArea(textArea: FilterTextAreaControlProperty.Builder.() -> Unit) /** * @param textField A control to display a text box that is used to enter a single entry. */ public fun textField(textField: IResolvable) /** * @param textField A control to display a text box that is used to enter a single entry. */ public fun textField(textField: FilterTextFieldControlProperty) /** * @param textField A control to display a text box that is used to enter a single entry. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ede134abe74f4866633c0a95a1cc83f281ac442af11c609d5d10fb0c1b04e7ae") public fun textField(textField: FilterTextFieldControlProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterControlProperty.builder() /** * @param crossSheet A control from a filter that is scoped across more than one sheet. * This represents your filter control on a sheet */ override fun crossSheet(crossSheet: IResolvable) { cdkBuilder.crossSheet(crossSheet.let(IResolvable.Companion::unwrap)) } /** * @param crossSheet A control from a filter that is scoped across more than one sheet. * This represents your filter control on a sheet */ override fun crossSheet(crossSheet: FilterCrossSheetControlProperty) { cdkBuilder.crossSheet(crossSheet.let(FilterCrossSheetControlProperty.Companion::unwrap)) } /** * @param crossSheet A control from a filter that is scoped across more than one sheet. * This represents your filter control on a sheet */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("822216a96316cf69b6cc764e94f0d361cecfd66e45629b11fb7dd9f213c47ef3") override fun crossSheet(crossSheet: FilterCrossSheetControlProperty.Builder.() -> Unit): Unit = crossSheet(FilterCrossSheetControlProperty(crossSheet)) /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ override fun dateTimePicker(dateTimePicker: IResolvable) { cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable.Companion::unwrap)) } /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ override fun dateTimePicker(dateTimePicker: FilterDateTimePickerControlProperty) { cdkBuilder.dateTimePicker(dateTimePicker.let(FilterDateTimePickerControlProperty.Companion::unwrap)) } /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5940e10adef7d89d5b5ba449f11e31848e9e88fe13eb85a52c0851e922ffb90f") override fun dateTimePicker(dateTimePicker: FilterDateTimePickerControlProperty.Builder.() -> Unit): Unit = dateTimePicker(FilterDateTimePickerControlProperty(dateTimePicker)) /** * @param dropdown A control to display a dropdown list with buttons that are used to select a * single value. */ override fun dropdown(dropdown: IResolvable) { cdkBuilder.dropdown(dropdown.let(IResolvable.Companion::unwrap)) } /** * @param dropdown A control to display a dropdown list with buttons that are used to select a * single value. */ override fun dropdown(dropdown: FilterDropDownControlProperty) { cdkBuilder.dropdown(dropdown.let(FilterDropDownControlProperty.Companion::unwrap)) } /** * @param dropdown A control to display a dropdown list with buttons that are used to select a * single value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d2a2aed843ae740338aebefff7560fb4b6dc9bc7903ba673f1ed7169e673cfa2") override fun dropdown(dropdown: FilterDropDownControlProperty.Builder.() -> Unit): Unit = dropdown(FilterDropDownControlProperty(dropdown)) /** * @param list A control to display a list of buttons or boxes. * This is used to select either a single value or multiple values. */ override fun list(list: IResolvable) { cdkBuilder.list(list.let(IResolvable.Companion::unwrap)) } /** * @param list A control to display a list of buttons or boxes. * This is used to select either a single value or multiple values. */ override fun list(list: FilterListControlProperty) { cdkBuilder.list(list.let(FilterListControlProperty.Companion::unwrap)) } /** * @param list A control to display a list of buttons or boxes. * This is used to select either a single value or multiple values. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("df811eb4d0c697a40db2d7ffd63cf29e111220dfb399efb684183a2888537969") override fun list(list: FilterListControlProperty.Builder.() -> Unit): Unit = list(FilterListControlProperty(list)) /** * @param relativeDateTime A control from a date filter that is used to specify the relative * date. */ override fun relativeDateTime(relativeDateTime: IResolvable) { cdkBuilder.relativeDateTime(relativeDateTime.let(IResolvable.Companion::unwrap)) } /** * @param relativeDateTime A control from a date filter that is used to specify the relative * date. */ override fun relativeDateTime(relativeDateTime: FilterRelativeDateTimeControlProperty) { cdkBuilder.relativeDateTime(relativeDateTime.let(FilterRelativeDateTimeControlProperty.Companion::unwrap)) } /** * @param relativeDateTime A control from a date filter that is used to specify the relative * date. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d781fec17ee562efda24e4d6247c28f19240d330788c9a171aa23cca8936f735") override fun relativeDateTime(relativeDateTime: FilterRelativeDateTimeControlProperty.Builder.() -> Unit): Unit = relativeDateTime(FilterRelativeDateTimeControlProperty(relativeDateTime)) /** * @param slider A control to display a horizontal toggle bar. * This is used to change a value by sliding the toggle. */ override fun slider(slider: IResolvable) { cdkBuilder.slider(slider.let(IResolvable.Companion::unwrap)) } /** * @param slider A control to display a horizontal toggle bar. * This is used to change a value by sliding the toggle. */ override fun slider(slider: FilterSliderControlProperty) { cdkBuilder.slider(slider.let(FilterSliderControlProperty.Companion::unwrap)) } /** * @param slider A control to display a horizontal toggle bar. * This is used to change a value by sliding the toggle. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("200f949c700ffcbecd3ceca304e0847f89386d4e2a4f053a31252ed4c29f9c50") override fun slider(slider: FilterSliderControlProperty.Builder.() -> Unit): Unit = slider(FilterSliderControlProperty(slider)) /** * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: IResolvable) { cdkBuilder.textArea(textArea.let(IResolvable.Companion::unwrap)) } /** * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: FilterTextAreaControlProperty) { cdkBuilder.textArea(textArea.let(FilterTextAreaControlProperty.Companion::unwrap)) } /** * @param textArea A control to display a text box that is used to enter multiple entries. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3caf077196a0d654b670cb285b2aea44e502823924b2d1582c6bcb7285a33eb1") override fun textArea(textArea: FilterTextAreaControlProperty.Builder.() -> Unit): Unit = textArea(FilterTextAreaControlProperty(textArea)) /** * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: IResolvable) { cdkBuilder.textField(textField.let(IResolvable.Companion::unwrap)) } /** * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: FilterTextFieldControlProperty) { cdkBuilder.textField(textField.let(FilterTextFieldControlProperty.Companion::unwrap)) } /** * @param textField A control to display a text box that is used to enter a single entry. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ede134abe74f4866633c0a95a1cc83f281ac442af11c609d5d10fb0c1b04e7ae") override fun textField(textField: FilterTextFieldControlProperty.Builder.() -> Unit): Unit = textField(FilterTextFieldControlProperty(textField)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterControlProperty, ) : CdkObject(cdkObject), FilterControlProperty { /** * A control from a filter that is scoped across more than one sheet. * * This represents your filter control on a sheet * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-crosssheet) */ override fun crossSheet(): Any? = unwrap(this).getCrossSheet() /** * A control from a date filter that is used to specify date and time. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-datetimepicker) */ override fun dateTimePicker(): Any? = unwrap(this).getDateTimePicker() /** * A control to display a dropdown list with buttons that are used to select a single value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-dropdown) */ override fun dropdown(): Any? = unwrap(this).getDropdown() /** * A control to display a list of buttons or boxes. * * This is used to select either a single value or multiple values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-list) */ override fun list(): Any? = unwrap(this).getList() /** * A control from a date filter that is used to specify the relative date. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-relativedatetime) */ override fun relativeDateTime(): Any? = unwrap(this).getRelativeDateTime() /** * A control to display a horizontal toggle bar. * * This is used to change a value by sliding the toggle. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-slider) */ override fun slider(): Any? = unwrap(this).getSlider() /** * A control to display a text box that is used to enter multiple entries. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-textarea) */ override fun textArea(): Any? = unwrap(this).getTextArea() /** * A control to display a text box that is used to enter a single entry. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-textfield) */ override fun textField(): Any? = unwrap(this).getTextField() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterControlProperty): FilterControlProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterControlProperty } } /** * A control from a filter that is scoped across more than one sheet. * * This represents your filter control on a sheet * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterCrossSheetControlProperty filterCrossSheetControlProperty = * FilterCrossSheetControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * // the properties below are optional * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() * .sourceControls(List.of(CascadingControlSourceProperty.builder() * .columnToMatch(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceSheetControlId("sourceSheetControlId") * .build())) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html) */ public interface FilterCrossSheetControlProperty { /** * The values that are displayed in a control can be configured to only show values that are * valid based on what's selected in other controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html#cfn-quicksight-dashboard-filtercrosssheetcontrol-cascadingcontrolconfiguration) */ public fun cascadingControlConfiguration(): Any? = unwrap(this).getCascadingControlConfiguration() /** * The ID of the `FilterCrossSheetControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html#cfn-quicksight-dashboard-filtercrosssheetcontrol-filtercontrolid) */ public fun filterControlId(): String /** * The source filter ID of the `FilterCrossSheetControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html#cfn-quicksight-dashboard-filtercrosssheetcontrol-sourcefilterid) */ public fun sourceFilterId(): String /** * A builder for [FilterCrossSheetControlProperty] */ @CdkDslMarker public interface Builder { /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ public fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ public fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6ec20400e48fede1cdca3acf06a8655c5b41dacb7ed6547252588c6ed067835d") public fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit) /** * @param filterControlId The ID of the `FilterCrossSheetControl` . */ public fun filterControlId(filterControlId: String) /** * @param sourceFilterId The source filter ID of the `FilterCrossSheetControl` . */ public fun sourceFilterId(sourceFilterId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty.builder() /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6ec20400e48fede1cdca3acf06a8655c5b41dacb7ed6547252588c6ed067835d") override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit): Unit = cascadingControlConfiguration(CascadingControlConfigurationProperty(cascadingControlConfiguration)) /** * @param filterControlId The ID of the `FilterCrossSheetControl` . */ override fun filterControlId(filterControlId: String) { cdkBuilder.filterControlId(filterControlId) } /** * @param sourceFilterId The source filter ID of the `FilterCrossSheetControl` . */ override fun sourceFilterId(sourceFilterId: String) { cdkBuilder.sourceFilterId(sourceFilterId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty, ) : CdkObject(cdkObject), FilterCrossSheetControlProperty { /** * The values that are displayed in a control can be configured to only show values that are * valid based on what's selected in other controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html#cfn-quicksight-dashboard-filtercrosssheetcontrol-cascadingcontrolconfiguration) */ override fun cascadingControlConfiguration(): Any? = unwrap(this).getCascadingControlConfiguration() /** * The ID of the `FilterCrossSheetControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html#cfn-quicksight-dashboard-filtercrosssheetcontrol-filtercontrolid) */ override fun filterControlId(): String = unwrap(this).getFilterControlId() /** * The source filter ID of the `FilterCrossSheetControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html#cfn-quicksight-dashboard-filtercrosssheetcontrol-sourcefilterid) */ override fun sourceFilterId(): String = unwrap(this).getSourceFilterId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterCrossSheetControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty): FilterCrossSheetControlProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterCrossSheetControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterCrossSheetControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty } } /** * A control from a date filter that is used to specify date and time. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterDateTimePickerControlProperty filterDateTimePickerControlProperty = * FilterDateTimePickerControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * .title("title") * // the properties below are optional * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html) */ public interface FilterDateTimePickerControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html#cfn-quicksight-dashboard-filterdatetimepickercontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterDateTimePickerControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html#cfn-quicksight-dashboard-filterdatetimepickercontrol-filtercontrolid) */ public fun filterControlId(): String /** * The source filter ID of the `FilterDateTimePickerControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html#cfn-quicksight-dashboard-filterdatetimepickercontrol-sourcefilterid) */ public fun sourceFilterId(): String /** * The title of the `FilterDateTimePickerControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html#cfn-quicksight-dashboard-filterdatetimepickercontrol-title) */ public fun title(): String /** * The type of the `FilterDropDownControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html#cfn-quicksight-dashboard-filterdatetimepickercontrol-type) */ public fun type(): String? = unwrap(this).getType() /** * A builder for [FilterDateTimePickerControlProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a6f1d0219c0194b73e523bc5a4f53bfc3d9746cebafb0405927b9f0de280705f") public fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param filterControlId The ID of the `FilterDateTimePickerControl` . */ public fun filterControlId(filterControlId: String) /** * @param sourceFilterId The source filter ID of the `FilterDateTimePickerControl` . */ public fun sourceFilterId(sourceFilterId: String) /** * @param title The title of the `FilterDateTimePickerControl` . */ public fun title(title: String) /** * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. */ public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDateTimePickerControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDateTimePickerControlProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a6f1d0219c0194b73e523bc5a4f53bfc3d9746cebafb0405927b9f0de280705f") override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(DateTimePickerControlDisplayOptionsProperty(displayOptions)) /** * @param filterControlId The ID of the `FilterDateTimePickerControl` . */ override fun filterControlId(filterControlId: String) { cdkBuilder.filterControlId(filterControlId) } /** * @param sourceFilterId The source filter ID of the `FilterDateTimePickerControl` . */ override fun sourceFilterId(sourceFilterId: String) { cdkBuilder.sourceFilterId(sourceFilterId) } /** * @param title The title of the `FilterDateTimePickerControl` . */ override fun title(title: String) { cdkBuilder.title(title) } /** * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. */ override fun type(type: String) { cdkBuilder.type(type) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDateTimePickerControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDateTimePickerControlProperty, ) : CdkObject(cdkObject), FilterDateTimePickerControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html#cfn-quicksight-dashboard-filterdatetimepickercontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterDateTimePickerControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html#cfn-quicksight-dashboard-filterdatetimepickercontrol-filtercontrolid) */ override fun filterControlId(): String = unwrap(this).getFilterControlId() /** * The source filter ID of the `FilterDateTimePickerControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html#cfn-quicksight-dashboard-filterdatetimepickercontrol-sourcefilterid) */ override fun sourceFilterId(): String = unwrap(this).getSourceFilterId() /** * The title of the `FilterDateTimePickerControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html#cfn-quicksight-dashboard-filterdatetimepickercontrol-title) */ override fun title(): String = unwrap(this).getTitle() /** * The type of the `FilterDropDownControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html#cfn-quicksight-dashboard-filterdatetimepickercontrol-type) */ override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterDateTimePickerControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDateTimePickerControlProperty): FilterDateTimePickerControlProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterDateTimePickerControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterDateTimePickerControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDateTimePickerControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDateTimePickerControlProperty } } /** * A control to display a dropdown list with buttons that are used to select a single value. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterDropDownControlProperty filterDropDownControlProperty = * FilterDropDownControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * .title("title") * // the properties below are optional * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() * .sourceControls(List.of(CascadingControlSourceProperty.builder() * .columnToMatch(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceSheetControlId("sourceSheetControlId") * .build())) * .build()) * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html) */ public interface FilterDropDownControlProperty { /** * The values that are displayed in a control can be configured to only show values that are * valid based on what's selected in other controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-cascadingcontrolconfiguration) */ public fun cascadingControlConfiguration(): Any? = unwrap(this).getCascadingControlConfiguration() /** * The display options of the `FilterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-filtercontrolid) */ public fun filterControlId(): String /** * A list of selectable values that are used in a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-selectablevalues) */ public fun selectableValues(): Any? = unwrap(this).getSelectableValues() /** * The source filter ID of the `FilterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-sourcefilterid) */ public fun sourceFilterId(): String /** * The title of the `FilterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-title) */ public fun title(): String /** * The type of the `FilterDropDownControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-type) */ public fun type(): String? = unwrap(this).getType() /** * A builder for [FilterDropDownControlProperty] */ @CdkDslMarker public interface Builder { /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ public fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ public fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7c80262dce6bfca6410395e0a4acaa2841484db3306e6d683e07034cb07ec09f") public fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit) /** * @param displayOptions The display options of the `FilterDropDownControl` . */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of the `FilterDropDownControl` . */ public fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) /** * @param displayOptions The display options of the `FilterDropDownControl` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2938981268a7e1010c86b65207c94a7bb6aa642107ea74643687bb2781b1b1ae") public fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param filterControlId The ID of the `FilterDropDownControl` . */ public fun filterControlId(filterControlId: String) /** * @param selectableValues A list of selectable values that are used in a control. */ public fun selectableValues(selectableValues: IResolvable) /** * @param selectableValues A list of selectable values that are used in a control. */ public fun selectableValues(selectableValues: FilterSelectableValuesProperty) /** * @param selectableValues A list of selectable values that are used in a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b2a579670021b2ce1563286d8cbfc46ec30c764b4abcc094dab13b404335fb40") public fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit) /** * @param sourceFilterId The source filter ID of the `FilterDropDownControl` . */ public fun sourceFilterId(sourceFilterId: String) /** * @param title The title of the `FilterDropDownControl` . */ public fun title(title: String) /** * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. */ public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDropDownControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDropDownControlProperty.builder() /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7c80262dce6bfca6410395e0a4acaa2841484db3306e6d683e07034cb07ec09f") override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit): Unit = cascadingControlConfiguration(CascadingControlConfigurationProperty(cascadingControlConfiguration)) /** * @param displayOptions The display options of the `FilterDropDownControl` . */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of the `FilterDropDownControl` . */ override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of the `FilterDropDownControl` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2938981268a7e1010c86b65207c94a7bb6aa642107ea74643687bb2781b1b1ae") override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(DropDownControlDisplayOptionsProperty(displayOptions)) /** * @param filterControlId The ID of the `FilterDropDownControl` . */ override fun filterControlId(filterControlId: String) { cdkBuilder.filterControlId(filterControlId) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b2a579670021b2ce1563286d8cbfc46ec30c764b4abcc094dab13b404335fb40") override fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit): Unit = selectableValues(FilterSelectableValuesProperty(selectableValues)) /** * @param sourceFilterId The source filter ID of the `FilterDropDownControl` . */ override fun sourceFilterId(sourceFilterId: String) { cdkBuilder.sourceFilterId(sourceFilterId) } /** * @param title The title of the `FilterDropDownControl` . */ override fun title(title: String) { cdkBuilder.title(title) } /** * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. */ override fun type(type: String) { cdkBuilder.type(type) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDropDownControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDropDownControlProperty, ) : CdkObject(cdkObject), FilterDropDownControlProperty { /** * The values that are displayed in a control can be configured to only show values that are * valid based on what's selected in other controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-cascadingcontrolconfiguration) */ override fun cascadingControlConfiguration(): Any? = unwrap(this).getCascadingControlConfiguration() /** * The display options of the `FilterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-filtercontrolid) */ override fun filterControlId(): String = unwrap(this).getFilterControlId() /** * A list of selectable values that are used in a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-selectablevalues) */ override fun selectableValues(): Any? = unwrap(this).getSelectableValues() /** * The source filter ID of the `FilterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-sourcefilterid) */ override fun sourceFilterId(): String = unwrap(this).getSourceFilterId() /** * The title of the `FilterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-title) */ override fun title(): String = unwrap(this).getTitle() /** * The type of the `FilterDropDownControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdropdowncontrol.html#cfn-quicksight-dashboard-filterdropdowncontrol-type) */ override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterDropDownControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDropDownControlProperty): FilterDropDownControlProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterDropDownControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterDropDownControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDropDownControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDropDownControlProperty } } /** * A grouping of individual filters. Filter groups are applied to the same group of visuals. * * For more information, see [Adding filter conditions (group filters) with AND and OR * operators](https://docs.aws.amazon.com/quicksight/latest/user/add-a-compound-filter.html) in the * *Amazon QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtergroup.html) */ public interface FilterGroupProperty { /** * The filter new feature which can apply filter group to all data sets. Choose one of the * following options:. * * * `ALL_DATASETS` * * `SINGLE_DATASET` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtergroup.html#cfn-quicksight-dashboard-filtergroup-crossdataset) */ public fun crossDataset(): String /** * The value that uniquely identifies a `FilterGroup` within a dashboard, template, or analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtergroup.html#cfn-quicksight-dashboard-filtergroup-filtergroupid) */ public fun filterGroupId(): String /** * The list of filters that are present in a `FilterGroup` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtergroup.html#cfn-quicksight-dashboard-filtergroup-filters) */ public fun filters(): Any /** * The configuration that specifies what scope to apply to a `FilterGroup` . * * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtergroup.html#cfn-quicksight-dashboard-filtergroup-scopeconfiguration) */ public fun scopeConfiguration(): Any /** * The status of the `FilterGroup` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtergroup.html#cfn-quicksight-dashboard-filtergroup-status) */ public fun status(): String? = unwrap(this).getStatus() /** * A builder for [FilterGroupProperty] */ @CdkDslMarker public interface Builder { /** * @param crossDataset The filter new feature which can apply filter group to all data sets. * Choose one of the following options:. * * `ALL_DATASETS` * * `SINGLE_DATASET` */ public fun crossDataset(crossDataset: String) /** * @param filterGroupId The value that uniquely identifies a `FilterGroup` within a dashboard, * template, or analysis. */ public fun filterGroupId(filterGroupId: String) /** * @param filters The list of filters that are present in a `FilterGroup` . */ public fun filters(filters: IResolvable) /** * @param filters The list of filters that are present in a `FilterGroup` . */ public fun filters(filters: List) /** * @param filters The list of filters that are present in a `FilterGroup` . */ public fun filters(vararg filters: Any) /** * @param scopeConfiguration The configuration that specifies what scope to apply to a * `FilterGroup` . * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. */ public fun scopeConfiguration(scopeConfiguration: IResolvable) /** * @param scopeConfiguration The configuration that specifies what scope to apply to a * `FilterGroup` . * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. */ public fun scopeConfiguration(scopeConfiguration: FilterScopeConfigurationProperty) /** * @param scopeConfiguration The configuration that specifies what scope to apply to a * `FilterGroup` . * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b4f690e50677f7cc9d739cd702ab69e6416ea3d6abfb88fe6f693570486dca74") public fun scopeConfiguration(scopeConfiguration: FilterScopeConfigurationProperty.Builder.() -> Unit) /** * @param status The status of the `FilterGroup` . */ public fun status(status: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterGroupProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterGroupProperty.builder() /** * @param crossDataset The filter new feature which can apply filter group to all data sets. * Choose one of the following options:. * * `ALL_DATASETS` * * `SINGLE_DATASET` */ override fun crossDataset(crossDataset: String) { cdkBuilder.crossDataset(crossDataset) } /** * @param filterGroupId The value that uniquely identifies a `FilterGroup` within a dashboard, * template, or analysis. */ override fun filterGroupId(filterGroupId: String) { cdkBuilder.filterGroupId(filterGroupId) } /** * @param filters The list of filters that are present in a `FilterGroup` . */ override fun filters(filters: IResolvable) { cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** * @param filters The list of filters that are present in a `FilterGroup` . */ override fun filters(filters: List) { cdkBuilder.filters(filters.map{CdkObjectWrappers.unwrap(it)}) } /** * @param filters The list of filters that are present in a `FilterGroup` . */ override fun filters(vararg filters: Any): Unit = filters(filters.toList()) /** * @param scopeConfiguration The configuration that specifies what scope to apply to a * `FilterGroup` . * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. */ override fun scopeConfiguration(scopeConfiguration: IResolvable) { cdkBuilder.scopeConfiguration(scopeConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param scopeConfiguration The configuration that specifies what scope to apply to a * `FilterGroup` . * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. */ override fun scopeConfiguration(scopeConfiguration: FilterScopeConfigurationProperty) { cdkBuilder.scopeConfiguration(scopeConfiguration.let(FilterScopeConfigurationProperty.Companion::unwrap)) } /** * @param scopeConfiguration The configuration that specifies what scope to apply to a * `FilterGroup` . * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b4f690e50677f7cc9d739cd702ab69e6416ea3d6abfb88fe6f693570486dca74") override fun scopeConfiguration(scopeConfiguration: FilterScopeConfigurationProperty.Builder.() -> Unit): Unit = scopeConfiguration(FilterScopeConfigurationProperty(scopeConfiguration)) /** * @param status The status of the `FilterGroup` . */ override fun status(status: String) { cdkBuilder.status(status) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterGroupProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterGroupProperty, ) : CdkObject(cdkObject), FilterGroupProperty { /** * The filter new feature which can apply filter group to all data sets. Choose one of the * following options:. * * * `ALL_DATASETS` * * `SINGLE_DATASET` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtergroup.html#cfn-quicksight-dashboard-filtergroup-crossdataset) */ override fun crossDataset(): String = unwrap(this).getCrossDataset() /** * The value that uniquely identifies a `FilterGroup` within a dashboard, template, or * analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtergroup.html#cfn-quicksight-dashboard-filtergroup-filtergroupid) */ override fun filterGroupId(): String = unwrap(this).getFilterGroupId() /** * The list of filters that are present in a `FilterGroup` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtergroup.html#cfn-quicksight-dashboard-filtergroup-filters) */ override fun filters(): Any = unwrap(this).getFilters() /** * The configuration that specifies what scope to apply to a `FilterGroup` . * * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtergroup.html#cfn-quicksight-dashboard-filtergroup-scopeconfiguration) */ override fun scopeConfiguration(): Any = unwrap(this).getScopeConfiguration() /** * The status of the `FilterGroup` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtergroup.html#cfn-quicksight-dashboard-filtergroup-status) */ override fun status(): String? = unwrap(this).getStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterGroupProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterGroupProperty): FilterGroupProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterGroupProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterGroupProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterGroupProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterGroupProperty } } /** * A list of filter configurations. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterListConfigurationProperty filterListConfigurationProperty = * FilterListConfigurationProperty.builder() * .matchOperator("matchOperator") * // the properties below are optional * .categoryValues(List.of("categoryValues")) * .nullOption("nullOption") * .selectAllOptions("selectAllOptions") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistconfiguration.html) */ public interface FilterListConfigurationProperty { /** * The list of category values for the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistconfiguration.html#cfn-quicksight-dashboard-filterlistconfiguration-categoryvalues) */ public fun categoryValues(): List = unwrap(this).getCategoryValues() ?: emptyList() /** * The match operator that is used to determine if a filter should be applied. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistconfiguration.html#cfn-quicksight-dashboard-filterlistconfiguration-matchoperator) */ public fun matchOperator(): String /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistconfiguration.html#cfn-quicksight-dashboard-filterlistconfiguration-nulloption) */ public fun nullOption(): String? = unwrap(this).getNullOption() /** * Select all of the values. Null is not the assigned value of select all. * * * `FILTER_ALL_VALUES` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistconfiguration.html#cfn-quicksight-dashboard-filterlistconfiguration-selectalloptions) */ public fun selectAllOptions(): String? = unwrap(this).getSelectAllOptions() /** * A builder for [FilterListConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryValues The list of category values for the filter. */ public fun categoryValues(categoryValues: List) /** * @param categoryValues The list of category values for the filter. */ public fun categoryValues(vararg categoryValues: String) /** * @param matchOperator The match operator that is used to determine if a filter should be * applied. */ public fun matchOperator(matchOperator: String) /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ public fun nullOption(nullOption: String) /** * @param selectAllOptions Select all of the values. Null is not the assigned value of select * all. * * `FILTER_ALL_VALUES` */ public fun selectAllOptions(selectAllOptions: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListConfigurationProperty.builder() /** * @param categoryValues The list of category values for the filter. */ override fun categoryValues(categoryValues: List) { cdkBuilder.categoryValues(categoryValues) } /** * @param categoryValues The list of category values for the filter. */ override fun categoryValues(vararg categoryValues: String): Unit = categoryValues(categoryValues.toList()) /** * @param matchOperator The match operator that is used to determine if a filter should be * applied. */ override fun matchOperator(matchOperator: String) { cdkBuilder.matchOperator(matchOperator) } /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ override fun nullOption(nullOption: String) { cdkBuilder.nullOption(nullOption) } /** * @param selectAllOptions Select all of the values. Null is not the assigned value of select * all. * * `FILTER_ALL_VALUES` */ override fun selectAllOptions(selectAllOptions: String) { cdkBuilder.selectAllOptions(selectAllOptions) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListConfigurationProperty, ) : CdkObject(cdkObject), FilterListConfigurationProperty { /** * The list of category values for the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistconfiguration.html#cfn-quicksight-dashboard-filterlistconfiguration-categoryvalues) */ override fun categoryValues(): List = unwrap(this).getCategoryValues() ?: emptyList() /** * The match operator that is used to determine if a filter should be applied. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistconfiguration.html#cfn-quicksight-dashboard-filterlistconfiguration-matchoperator) */ override fun matchOperator(): String = unwrap(this).getMatchOperator() /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistconfiguration.html#cfn-quicksight-dashboard-filterlistconfiguration-nulloption) */ override fun nullOption(): String? = unwrap(this).getNullOption() /** * Select all of the values. Null is not the assigned value of select all. * * * `FILTER_ALL_VALUES` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistconfiguration.html#cfn-quicksight-dashboard-filterlistconfiguration-selectalloptions) */ override fun selectAllOptions(): String? = unwrap(this).getSelectAllOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterListConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListConfigurationProperty): FilterListConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterListConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterListConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListConfigurationProperty } } /** * A control to display a list of buttons or boxes. * * This is used to select either a single value or multiple values. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterListControlProperty filterListControlProperty = FilterListControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * .title("title") * // the properties below are optional * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() * .sourceControls(List.of(CascadingControlSourceProperty.builder() * .columnToMatch(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceSheetControlId("sourceSheetControlId") * .build())) * .build()) * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html) */ public interface FilterListControlProperty { /** * The values that are displayed in a control can be configured to only show values that are * valid based on what's selected in other controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-cascadingcontrolconfiguration) */ public fun cascadingControlConfiguration(): Any? = unwrap(this).getCascadingControlConfiguration() /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-filtercontrolid) */ public fun filterControlId(): String /** * A list of selectable values that are used in a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-selectablevalues) */ public fun selectableValues(): Any? = unwrap(this).getSelectableValues() /** * The source filter ID of the `FilterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-sourcefilterid) */ public fun sourceFilterId(): String /** * The title of the `FilterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-title) */ public fun title(): String /** * The type of the `FilterListControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-type) */ public fun type(): String? = unwrap(this).getType() /** * A builder for [FilterListControlProperty] */ @CdkDslMarker public interface Builder { /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ public fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ public fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("659c91380218f376663c25ff0402ea68e4f18fefc2c054a92f0bbbcf31ada2ca") public fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1d0e6eff98d9e764c60112b93443e1bb37b7c3e0f7c6a9f73ec0f37dabdeafca") public fun displayOptions(displayOptions: ListControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param filterControlId The ID of the `FilterListControl` . */ public fun filterControlId(filterControlId: String) /** * @param selectableValues A list of selectable values that are used in a control. */ public fun selectableValues(selectableValues: IResolvable) /** * @param selectableValues A list of selectable values that are used in a control. */ public fun selectableValues(selectableValues: FilterSelectableValuesProperty) /** * @param selectableValues A list of selectable values that are used in a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0d78761e7404f6c698ef33fdf0aafecfc9748283320d73d9d6ea1938e7c6f72e") public fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit) /** * @param sourceFilterId The source filter ID of the `FilterListControl` . */ public fun sourceFilterId(sourceFilterId: String) /** * @param title The title of the `FilterListControl` . */ public fun title(title: String) /** * @param type The type of the `FilterListControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. */ public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListControlProperty.builder() /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("659c91380218f376663c25ff0402ea68e4f18fefc2c054a92f0bbbcf31ada2ca") override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit): Unit = cascadingControlConfiguration(CascadingControlConfigurationProperty(cascadingControlConfiguration)) /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1d0e6eff98d9e764c60112b93443e1bb37b7c3e0f7c6a9f73ec0f37dabdeafca") override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(ListControlDisplayOptionsProperty(displayOptions)) /** * @param filterControlId The ID of the `FilterListControl` . */ override fun filterControlId(filterControlId: String) { cdkBuilder.filterControlId(filterControlId) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0d78761e7404f6c698ef33fdf0aafecfc9748283320d73d9d6ea1938e7c6f72e") override fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit): Unit = selectableValues(FilterSelectableValuesProperty(selectableValues)) /** * @param sourceFilterId The source filter ID of the `FilterListControl` . */ override fun sourceFilterId(sourceFilterId: String) { cdkBuilder.sourceFilterId(sourceFilterId) } /** * @param title The title of the `FilterListControl` . */ override fun title(title: String) { cdkBuilder.title(title) } /** * @param type The type of the `FilterListControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. */ override fun type(type: String) { cdkBuilder.type(type) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListControlProperty, ) : CdkObject(cdkObject), FilterListControlProperty { /** * The values that are displayed in a control can be configured to only show values that are * valid based on what's selected in other controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-cascadingcontrolconfiguration) */ override fun cascadingControlConfiguration(): Any? = unwrap(this).getCascadingControlConfiguration() /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-filtercontrolid) */ override fun filterControlId(): String = unwrap(this).getFilterControlId() /** * A list of selectable values that are used in a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-selectablevalues) */ override fun selectableValues(): Any? = unwrap(this).getSelectableValues() /** * The source filter ID of the `FilterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-sourcefilterid) */ override fun sourceFilterId(): String = unwrap(this).getSourceFilterId() /** * The title of the `FilterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-title) */ override fun title(): String = unwrap(this).getTitle() /** * The type of the `FilterListControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterlistcontrol.html#cfn-quicksight-dashboard-filterlistcontrol-type) */ override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterListControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListControlProperty): FilterListControlProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterListControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterListControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListControlProperty } } /** * The configuration of selected fields in the `CustomActionFilterOperation` . * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterOperationSelectedFieldsConfigurationProperty * filterOperationSelectedFieldsConfigurationProperty = * FilterOperationSelectedFieldsConfigurationProperty.builder() * .selectedColumns(List.of(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build())) * .selectedFieldOptions("selectedFieldOptions") * .selectedFields(List.of("selectedFields")) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filteroperationselectedfieldsconfiguration.html) */ public interface FilterOperationSelectedFieldsConfigurationProperty { /** * The selected columns of a dataset. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filteroperationselectedfieldsconfiguration.html#cfn-quicksight-dashboard-filteroperationselectedfieldsconfiguration-selectedcolumns) */ public fun selectedColumns(): Any? = unwrap(this).getSelectedColumns() /** * A structure that contains the options that choose which fields are filtered in the * `CustomActionFilterOperation` . * * Valid values are defined as follows: * * * `ALL_FIELDS` : Applies the filter operation to all fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filteroperationselectedfieldsconfiguration.html#cfn-quicksight-dashboard-filteroperationselectedfieldsconfiguration-selectedfieldoptions) */ public fun selectedFieldOptions(): String? = unwrap(this).getSelectedFieldOptions() /** * Chooses the fields that are filtered in `CustomActionFilterOperation` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filteroperationselectedfieldsconfiguration.html#cfn-quicksight-dashboard-filteroperationselectedfieldsconfiguration-selectedfields) */ public fun selectedFields(): List = unwrap(this).getSelectedFields() ?: emptyList() /** * A builder for [FilterOperationSelectedFieldsConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param selectedColumns The selected columns of a dataset. */ public fun selectedColumns(selectedColumns: IResolvable) /** * @param selectedColumns The selected columns of a dataset. */ public fun selectedColumns(selectedColumns: List) /** * @param selectedColumns The selected columns of a dataset. */ public fun selectedColumns(vararg selectedColumns: Any) /** * @param selectedFieldOptions A structure that contains the options that choose which fields * are filtered in the `CustomActionFilterOperation` . * Valid values are defined as follows: * * * `ALL_FIELDS` : Applies the filter operation to all fields. */ public fun selectedFieldOptions(selectedFieldOptions: String) /** * @param selectedFields Chooses the fields that are filtered in `CustomActionFilterOperation` * . */ public fun selectedFields(selectedFields: List) /** * @param selectedFields Chooses the fields that are filtered in `CustomActionFilterOperation` * . */ public fun selectedFields(vararg selectedFields: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationSelectedFieldsConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationSelectedFieldsConfigurationProperty.builder() /** * @param selectedColumns The selected columns of a dataset. */ override fun selectedColumns(selectedColumns: IResolvable) { cdkBuilder.selectedColumns(selectedColumns.let(IResolvable.Companion::unwrap)) } /** * @param selectedColumns The selected columns of a dataset. */ override fun selectedColumns(selectedColumns: List) { cdkBuilder.selectedColumns(selectedColumns.map{CdkObjectWrappers.unwrap(it)}) } /** * @param selectedColumns The selected columns of a dataset. */ override fun selectedColumns(vararg selectedColumns: Any): Unit = selectedColumns(selectedColumns.toList()) /** * @param selectedFieldOptions A structure that contains the options that choose which fields * are filtered in the `CustomActionFilterOperation` . * Valid values are defined as follows: * * * `ALL_FIELDS` : Applies the filter operation to all fields. */ override fun selectedFieldOptions(selectedFieldOptions: String) { cdkBuilder.selectedFieldOptions(selectedFieldOptions) } /** * @param selectedFields Chooses the fields that are filtered in `CustomActionFilterOperation` * . */ override fun selectedFields(selectedFields: List) { cdkBuilder.selectedFields(selectedFields) } /** * @param selectedFields Chooses the fields that are filtered in `CustomActionFilterOperation` * . */ override fun selectedFields(vararg selectedFields: String): Unit = selectedFields(selectedFields.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationSelectedFieldsConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationSelectedFieldsConfigurationProperty, ) : CdkObject(cdkObject), FilterOperationSelectedFieldsConfigurationProperty { /** * The selected columns of a dataset. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filteroperationselectedfieldsconfiguration.html#cfn-quicksight-dashboard-filteroperationselectedfieldsconfiguration-selectedcolumns) */ override fun selectedColumns(): Any? = unwrap(this).getSelectedColumns() /** * A structure that contains the options that choose which fields are filtered in the * `CustomActionFilterOperation` . * * Valid values are defined as follows: * * * `ALL_FIELDS` : Applies the filter operation to all fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filteroperationselectedfieldsconfiguration.html#cfn-quicksight-dashboard-filteroperationselectedfieldsconfiguration-selectedfieldoptions) */ override fun selectedFieldOptions(): String? = unwrap(this).getSelectedFieldOptions() /** * Chooses the fields that are filtered in `CustomActionFilterOperation` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filteroperationselectedfieldsconfiguration.html#cfn-quicksight-dashboard-filteroperationselectedfieldsconfiguration-selectedfields) */ override fun selectedFields(): List = unwrap(this).getSelectedFields() ?: emptyList() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterOperationSelectedFieldsConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationSelectedFieldsConfigurationProperty): FilterOperationSelectedFieldsConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterOperationSelectedFieldsConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterOperationSelectedFieldsConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationSelectedFieldsConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationSelectedFieldsConfigurationProperty } } /** * The configuration of target visuals that you want to be filtered. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterOperationTargetVisualsConfigurationProperty * filterOperationTargetVisualsConfigurationProperty = * FilterOperationTargetVisualsConfigurationProperty.builder() * .sameSheetTargetVisualConfiguration(SameSheetTargetVisualConfigurationProperty.builder() * .targetVisualOptions("targetVisualOptions") * .targetVisuals(List.of("targetVisuals")) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filteroperationtargetvisualsconfiguration.html) */ public interface FilterOperationTargetVisualsConfigurationProperty { /** * The configuration of the same-sheet target visuals that you want to be filtered. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filteroperationtargetvisualsconfiguration.html#cfn-quicksight-dashboard-filteroperationtargetvisualsconfiguration-samesheettargetvisualconfiguration) */ public fun sameSheetTargetVisualConfiguration(): Any? = unwrap(this).getSameSheetTargetVisualConfiguration() /** * A builder for [FilterOperationTargetVisualsConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param sameSheetTargetVisualConfiguration The configuration of the same-sheet target * visuals that you want to be filtered. */ public fun sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration: IResolvable) /** * @param sameSheetTargetVisualConfiguration The configuration of the same-sheet target * visuals that you want to be filtered. */ public fun sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration: SameSheetTargetVisualConfigurationProperty) /** * @param sameSheetTargetVisualConfiguration The configuration of the same-sheet target * visuals that you want to be filtered. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4b66dfe572b57dc7c8a77c93772008c9221a144c37f3db2598df0c30104210af") public fun sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration: SameSheetTargetVisualConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationTargetVisualsConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationTargetVisualsConfigurationProperty.builder() /** * @param sameSheetTargetVisualConfiguration The configuration of the same-sheet target * visuals that you want to be filtered. */ override fun sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration: IResolvable) { cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sameSheetTargetVisualConfiguration The configuration of the same-sheet target * visuals that you want to be filtered. */ override fun sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration: SameSheetTargetVisualConfigurationProperty) { cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(SameSheetTargetVisualConfigurationProperty.Companion::unwrap)) } /** * @param sameSheetTargetVisualConfiguration The configuration of the same-sheet target * visuals that you want to be filtered. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4b66dfe572b57dc7c8a77c93772008c9221a144c37f3db2598df0c30104210af") override fun sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration: SameSheetTargetVisualConfigurationProperty.Builder.() -> Unit): Unit = sameSheetTargetVisualConfiguration(SameSheetTargetVisualConfigurationProperty(sameSheetTargetVisualConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationTargetVisualsConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationTargetVisualsConfigurationProperty, ) : CdkObject(cdkObject), FilterOperationTargetVisualsConfigurationProperty { /** * The configuration of the same-sheet target visuals that you want to be filtered. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filteroperationtargetvisualsconfiguration.html#cfn-quicksight-dashboard-filteroperationtargetvisualsconfiguration-samesheettargetvisualconfiguration) */ override fun sameSheetTargetVisualConfiguration(): Any? = unwrap(this).getSameSheetTargetVisualConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterOperationTargetVisualsConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationTargetVisualsConfigurationProperty): FilterOperationTargetVisualsConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterOperationTargetVisualsConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterOperationTargetVisualsConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationTargetVisualsConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterOperationTargetVisualsConfigurationProperty } } /** * With a `Filter` , you can remove portions of data from a particular visual or view. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html) */ public interface FilterProperty { /** * A `CategoryFilter` filters text values. * * For more information, see [Adding text * filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) in * the *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-categoryfilter) */ public fun categoryFilter(): Any? = unwrap(this).getCategoryFilter() /** * A `NestedFilter` filters data with a subset of data that is defined by the nested inner * filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-nestedfilter) */ public fun nestedFilter(): Any? = unwrap(this).getNestedFilter() /** * A `NumericEqualityFilter` filters numeric values that equal or do not equal a given numeric * value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-numericequalityfilter) */ public fun numericEqualityFilter(): Any? = unwrap(this).getNumericEqualityFilter() /** * A `NumericRangeFilter` filters numeric values that are either inside or outside a given * numeric range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-numericrangefilter) */ public fun numericRangeFilter(): Any? = unwrap(this).getNumericRangeFilter() /** * A `RelativeDatesFilter` filters date values that are relative to a given date. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-relativedatesfilter) */ public fun relativeDatesFilter(): Any? = unwrap(this).getRelativeDatesFilter() /** * A `TimeEqualityFilter` filters date-time values that equal or do not equal a given date/time * value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-timeequalityfilter) */ public fun timeEqualityFilter(): Any? = unwrap(this).getTimeEqualityFilter() /** * A `TimeRangeFilter` filters date-time values that are either inside or outside a given * date/time range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-timerangefilter) */ public fun timeRangeFilter(): Any? = unwrap(this).getTimeRangeFilter() /** * A `TopBottomFilter` filters data to the top or bottom values for a given column. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-topbottomfilter) */ public fun topBottomFilter(): Any? = unwrap(this).getTopBottomFilter() /** * A builder for [FilterProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryFilter A `CategoryFilter` filters text values. * For more information, see [Adding text * filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) * in the *Amazon QuickSight User Guide* . */ public fun categoryFilter(categoryFilter: IResolvable) /** * @param categoryFilter A `CategoryFilter` filters text values. * For more information, see [Adding text * filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) * in the *Amazon QuickSight User Guide* . */ public fun categoryFilter(categoryFilter: CategoryFilterProperty) /** * @param categoryFilter A `CategoryFilter` filters text values. * For more information, see [Adding text * filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) * in the *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d3496da969d25f5999021bc55e92e05efebf8b4f854737316ca3fee307fcbede") public fun categoryFilter(categoryFilter: CategoryFilterProperty.Builder.() -> Unit) /** * @param nestedFilter A `NestedFilter` filters data with a subset of data that is defined by * the nested inner filter. */ public fun nestedFilter(nestedFilter: IResolvable) /** * @param nestedFilter A `NestedFilter` filters data with a subset of data that is defined by * the nested inner filter. */ public fun nestedFilter(nestedFilter: NestedFilterProperty) /** * @param nestedFilter A `NestedFilter` filters data with a subset of data that is defined by * the nested inner filter. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5d9fd78121add7b118ad5f54b3bf8ced2d0363a15745973931ead7d7162b6402") public fun nestedFilter(nestedFilter: NestedFilterProperty.Builder.() -> Unit) /** * @param numericEqualityFilter A `NumericEqualityFilter` filters numeric values that equal or * do not equal a given numeric value. */ public fun numericEqualityFilter(numericEqualityFilter: IResolvable) /** * @param numericEqualityFilter A `NumericEqualityFilter` filters numeric values that equal or * do not equal a given numeric value. */ public fun numericEqualityFilter(numericEqualityFilter: NumericEqualityFilterProperty) /** * @param numericEqualityFilter A `NumericEqualityFilter` filters numeric values that equal or * do not equal a given numeric value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("57da2b11d1b970ce242696f1093c3938c7629ab448a1cbd73cf08fc379271493") public fun numericEqualityFilter(numericEqualityFilter: NumericEqualityFilterProperty.Builder.() -> Unit) /** * @param numericRangeFilter A `NumericRangeFilter` filters numeric values that are either * inside or outside a given numeric range. */ public fun numericRangeFilter(numericRangeFilter: IResolvable) /** * @param numericRangeFilter A `NumericRangeFilter` filters numeric values that are either * inside or outside a given numeric range. */ public fun numericRangeFilter(numericRangeFilter: NumericRangeFilterProperty) /** * @param numericRangeFilter A `NumericRangeFilter` filters numeric values that are either * inside or outside a given numeric range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("017deab19edbdf2246099eb84683c7ca78f3a1c802497d712499d44fb53e277c") public fun numericRangeFilter(numericRangeFilter: NumericRangeFilterProperty.Builder.() -> Unit) /** * @param relativeDatesFilter A `RelativeDatesFilter` filters date values that are relative to * a given date. */ public fun relativeDatesFilter(relativeDatesFilter: IResolvable) /** * @param relativeDatesFilter A `RelativeDatesFilter` filters date values that are relative to * a given date. */ public fun relativeDatesFilter(relativeDatesFilter: RelativeDatesFilterProperty) /** * @param relativeDatesFilter A `RelativeDatesFilter` filters date values that are relative to * a given date. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("22b0a14de383b7a731a543b8deedaf18c747d0650aed926f1f670c96c5b6da80") public fun relativeDatesFilter(relativeDatesFilter: RelativeDatesFilterProperty.Builder.() -> Unit) /** * @param timeEqualityFilter A `TimeEqualityFilter` filters date-time values that equal or do * not equal a given date/time value. */ public fun timeEqualityFilter(timeEqualityFilter: IResolvable) /** * @param timeEqualityFilter A `TimeEqualityFilter` filters date-time values that equal or do * not equal a given date/time value. */ public fun timeEqualityFilter(timeEqualityFilter: TimeEqualityFilterProperty) /** * @param timeEqualityFilter A `TimeEqualityFilter` filters date-time values that equal or do * not equal a given date/time value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4c79efc92d314bfd94bdbc73c7b70d6b3151365e0135052ce7716e162dd043a9") public fun timeEqualityFilter(timeEqualityFilter: TimeEqualityFilterProperty.Builder.() -> Unit) /** * @param timeRangeFilter A `TimeRangeFilter` filters date-time values that are either inside * or outside a given date/time range. */ public fun timeRangeFilter(timeRangeFilter: IResolvable) /** * @param timeRangeFilter A `TimeRangeFilter` filters date-time values that are either inside * or outside a given date/time range. */ public fun timeRangeFilter(timeRangeFilter: TimeRangeFilterProperty) /** * @param timeRangeFilter A `TimeRangeFilter` filters date-time values that are either inside * or outside a given date/time range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f0f66a22f33f790d77fea9e608cc9ad477a15d1302d20a2108e8157e189db61b") public fun timeRangeFilter(timeRangeFilter: TimeRangeFilterProperty.Builder.() -> Unit) /** * @param topBottomFilter A `TopBottomFilter` filters data to the top or bottom values for a * given column. */ public fun topBottomFilter(topBottomFilter: IResolvable) /** * @param topBottomFilter A `TopBottomFilter` filters data to the top or bottom values for a * given column. */ public fun topBottomFilter(topBottomFilter: TopBottomFilterProperty) /** * @param topBottomFilter A `TopBottomFilter` filters data to the top or bottom values for a * given column. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("49f1407ce28b5e0cae3f0051b4e9265a12257d877b83c92500e867519d48d396") public fun topBottomFilter(topBottomFilter: TopBottomFilterProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterProperty.builder() /** * @param categoryFilter A `CategoryFilter` filters text values. * For more information, see [Adding text * filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) * in the *Amazon QuickSight User Guide* . */ override fun categoryFilter(categoryFilter: IResolvable) { cdkBuilder.categoryFilter(categoryFilter.let(IResolvable.Companion::unwrap)) } /** * @param categoryFilter A `CategoryFilter` filters text values. * For more information, see [Adding text * filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) * in the *Amazon QuickSight User Guide* . */ override fun categoryFilter(categoryFilter: CategoryFilterProperty) { cdkBuilder.categoryFilter(categoryFilter.let(CategoryFilterProperty.Companion::unwrap)) } /** * @param categoryFilter A `CategoryFilter` filters text values. * For more information, see [Adding text * filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) * in the *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d3496da969d25f5999021bc55e92e05efebf8b4f854737316ca3fee307fcbede") override fun categoryFilter(categoryFilter: CategoryFilterProperty.Builder.() -> Unit): Unit = categoryFilter(CategoryFilterProperty(categoryFilter)) /** * @param nestedFilter A `NestedFilter` filters data with a subset of data that is defined by * the nested inner filter. */ override fun nestedFilter(nestedFilter: IResolvable) { cdkBuilder.nestedFilter(nestedFilter.let(IResolvable.Companion::unwrap)) } /** * @param nestedFilter A `NestedFilter` filters data with a subset of data that is defined by * the nested inner filter. */ override fun nestedFilter(nestedFilter: NestedFilterProperty) { cdkBuilder.nestedFilter(nestedFilter.let(NestedFilterProperty.Companion::unwrap)) } /** * @param nestedFilter A `NestedFilter` filters data with a subset of data that is defined by * the nested inner filter. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5d9fd78121add7b118ad5f54b3bf8ced2d0363a15745973931ead7d7162b6402") override fun nestedFilter(nestedFilter: NestedFilterProperty.Builder.() -> Unit): Unit = nestedFilter(NestedFilterProperty(nestedFilter)) /** * @param numericEqualityFilter A `NumericEqualityFilter` filters numeric values that equal or * do not equal a given numeric value. */ override fun numericEqualityFilter(numericEqualityFilter: IResolvable) { cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable.Companion::unwrap)) } /** * @param numericEqualityFilter A `NumericEqualityFilter` filters numeric values that equal or * do not equal a given numeric value. */ override fun numericEqualityFilter(numericEqualityFilter: NumericEqualityFilterProperty) { cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityFilterProperty.Companion::unwrap)) } /** * @param numericEqualityFilter A `NumericEqualityFilter` filters numeric values that equal or * do not equal a given numeric value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("57da2b11d1b970ce242696f1093c3938c7629ab448a1cbd73cf08fc379271493") override fun numericEqualityFilter(numericEqualityFilter: NumericEqualityFilterProperty.Builder.() -> Unit): Unit = numericEqualityFilter(NumericEqualityFilterProperty(numericEqualityFilter)) /** * @param numericRangeFilter A `NumericRangeFilter` filters numeric values that are either * inside or outside a given numeric range. */ override fun numericRangeFilter(numericRangeFilter: IResolvable) { cdkBuilder.numericRangeFilter(numericRangeFilter.let(IResolvable.Companion::unwrap)) } /** * @param numericRangeFilter A `NumericRangeFilter` filters numeric values that are either * inside or outside a given numeric range. */ override fun numericRangeFilter(numericRangeFilter: NumericRangeFilterProperty) { cdkBuilder.numericRangeFilter(numericRangeFilter.let(NumericRangeFilterProperty.Companion::unwrap)) } /** * @param numericRangeFilter A `NumericRangeFilter` filters numeric values that are either * inside or outside a given numeric range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("017deab19edbdf2246099eb84683c7ca78f3a1c802497d712499d44fb53e277c") override fun numericRangeFilter(numericRangeFilter: NumericRangeFilterProperty.Builder.() -> Unit): Unit = numericRangeFilter(NumericRangeFilterProperty(numericRangeFilter)) /** * @param relativeDatesFilter A `RelativeDatesFilter` filters date values that are relative to * a given date. */ override fun relativeDatesFilter(relativeDatesFilter: IResolvable) { cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(IResolvable.Companion::unwrap)) } /** * @param relativeDatesFilter A `RelativeDatesFilter` filters date values that are relative to * a given date. */ override fun relativeDatesFilter(relativeDatesFilter: RelativeDatesFilterProperty) { cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(RelativeDatesFilterProperty.Companion::unwrap)) } /** * @param relativeDatesFilter A `RelativeDatesFilter` filters date values that are relative to * a given date. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("22b0a14de383b7a731a543b8deedaf18c747d0650aed926f1f670c96c5b6da80") override fun relativeDatesFilter(relativeDatesFilter: RelativeDatesFilterProperty.Builder.() -> Unit): Unit = relativeDatesFilter(RelativeDatesFilterProperty(relativeDatesFilter)) /** * @param timeEqualityFilter A `TimeEqualityFilter` filters date-time values that equal or do * not equal a given date/time value. */ override fun timeEqualityFilter(timeEqualityFilter: IResolvable) { cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(IResolvable.Companion::unwrap)) } /** * @param timeEqualityFilter A `TimeEqualityFilter` filters date-time values that equal or do * not equal a given date/time value. */ override fun timeEqualityFilter(timeEqualityFilter: TimeEqualityFilterProperty) { cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(TimeEqualityFilterProperty.Companion::unwrap)) } /** * @param timeEqualityFilter A `TimeEqualityFilter` filters date-time values that equal or do * not equal a given date/time value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4c79efc92d314bfd94bdbc73c7b70d6b3151365e0135052ce7716e162dd043a9") override fun timeEqualityFilter(timeEqualityFilter: TimeEqualityFilterProperty.Builder.() -> Unit): Unit = timeEqualityFilter(TimeEqualityFilterProperty(timeEqualityFilter)) /** * @param timeRangeFilter A `TimeRangeFilter` filters date-time values that are either inside * or outside a given date/time range. */ override fun timeRangeFilter(timeRangeFilter: IResolvable) { cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable.Companion::unwrap)) } /** * @param timeRangeFilter A `TimeRangeFilter` filters date-time values that are either inside * or outside a given date/time range. */ override fun timeRangeFilter(timeRangeFilter: TimeRangeFilterProperty) { cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeFilterProperty.Companion::unwrap)) } /** * @param timeRangeFilter A `TimeRangeFilter` filters date-time values that are either inside * or outside a given date/time range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f0f66a22f33f790d77fea9e608cc9ad477a15d1302d20a2108e8157e189db61b") override fun timeRangeFilter(timeRangeFilter: TimeRangeFilterProperty.Builder.() -> Unit): Unit = timeRangeFilter(TimeRangeFilterProperty(timeRangeFilter)) /** * @param topBottomFilter A `TopBottomFilter` filters data to the top or bottom values for a * given column. */ override fun topBottomFilter(topBottomFilter: IResolvable) { cdkBuilder.topBottomFilter(topBottomFilter.let(IResolvable.Companion::unwrap)) } /** * @param topBottomFilter A `TopBottomFilter` filters data to the top or bottom values for a * given column. */ override fun topBottomFilter(topBottomFilter: TopBottomFilterProperty) { cdkBuilder.topBottomFilter(topBottomFilter.let(TopBottomFilterProperty.Companion::unwrap)) } /** * @param topBottomFilter A `TopBottomFilter` filters data to the top or bottom values for a * given column. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("49f1407ce28b5e0cae3f0051b4e9265a12257d877b83c92500e867519d48d396") override fun topBottomFilter(topBottomFilter: TopBottomFilterProperty.Builder.() -> Unit): Unit = topBottomFilter(TopBottomFilterProperty(topBottomFilter)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterProperty, ) : CdkObject(cdkObject), FilterProperty { /** * A `CategoryFilter` filters text values. * * For more information, see [Adding text * filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) * in the *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-categoryfilter) */ override fun categoryFilter(): Any? = unwrap(this).getCategoryFilter() /** * A `NestedFilter` filters data with a subset of data that is defined by the nested inner * filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-nestedfilter) */ override fun nestedFilter(): Any? = unwrap(this).getNestedFilter() /** * A `NumericEqualityFilter` filters numeric values that equal or do not equal a given numeric * value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-numericequalityfilter) */ override fun numericEqualityFilter(): Any? = unwrap(this).getNumericEqualityFilter() /** * A `NumericRangeFilter` filters numeric values that are either inside or outside a given * numeric range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-numericrangefilter) */ override fun numericRangeFilter(): Any? = unwrap(this).getNumericRangeFilter() /** * A `RelativeDatesFilter` filters date values that are relative to a given date. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-relativedatesfilter) */ override fun relativeDatesFilter(): Any? = unwrap(this).getRelativeDatesFilter() /** * A `TimeEqualityFilter` filters date-time values that equal or do not equal a given * date/time value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-timeequalityfilter) */ override fun timeEqualityFilter(): Any? = unwrap(this).getTimeEqualityFilter() /** * A `TimeRangeFilter` filters date-time values that are either inside or outside a given * date/time range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-timerangefilter) */ override fun timeRangeFilter(): Any? = unwrap(this).getTimeRangeFilter() /** * A `TopBottomFilter` filters data to the top or bottom values for a given column. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html#cfn-quicksight-dashboard-filter-topbottomfilter) */ override fun topBottomFilter(): Any? = unwrap(this).getTopBottomFilter() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterProperty): FilterProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterProperty } } /** * A control from a date filter that is used to specify the relative date. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterRelativeDateTimeControlProperty filterRelativeDateTimeControlProperty = * FilterRelativeDateTimeControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * .title("title") * // the properties below are optional * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterrelativedatetimecontrol.html) */ public interface FilterRelativeDateTimeControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterrelativedatetimecontrol.html#cfn-quicksight-dashboard-filterrelativedatetimecontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterrelativedatetimecontrol.html#cfn-quicksight-dashboard-filterrelativedatetimecontrol-filtercontrolid) */ public fun filterControlId(): String /** * The source filter ID of the `FilterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterrelativedatetimecontrol.html#cfn-quicksight-dashboard-filterrelativedatetimecontrol-sourcefilterid) */ public fun sourceFilterId(): String /** * The title of the `FilterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterrelativedatetimecontrol.html#cfn-quicksight-dashboard-filterrelativedatetimecontrol-title) */ public fun title(): String /** * A builder for [FilterRelativeDateTimeControlProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aecef83e649609b11ef4392eb094d7fed0da1c0358de6814e9ff23df93e053fd") public fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param filterControlId The ID of the `FilterTextAreaControl` . */ public fun filterControlId(filterControlId: String) /** * @param sourceFilterId The source filter ID of the `FilterTextAreaControl` . */ public fun sourceFilterId(sourceFilterId: String) /** * @param title The title of the `FilterTextAreaControl` . */ public fun title(title: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterRelativeDateTimeControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterRelativeDateTimeControlProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(RelativeDateTimeControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aecef83e649609b11ef4392eb094d7fed0da1c0358de6814e9ff23df93e053fd") override fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(RelativeDateTimeControlDisplayOptionsProperty(displayOptions)) /** * @param filterControlId The ID of the `FilterTextAreaControl` . */ override fun filterControlId(filterControlId: String) { cdkBuilder.filterControlId(filterControlId) } /** * @param sourceFilterId The source filter ID of the `FilterTextAreaControl` . */ override fun sourceFilterId(sourceFilterId: String) { cdkBuilder.sourceFilterId(sourceFilterId) } /** * @param title The title of the `FilterTextAreaControl` . */ override fun title(title: String) { cdkBuilder.title(title) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterRelativeDateTimeControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterRelativeDateTimeControlProperty, ) : CdkObject(cdkObject), FilterRelativeDateTimeControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterrelativedatetimecontrol.html#cfn-quicksight-dashboard-filterrelativedatetimecontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterrelativedatetimecontrol.html#cfn-quicksight-dashboard-filterrelativedatetimecontrol-filtercontrolid) */ override fun filterControlId(): String = unwrap(this).getFilterControlId() /** * The source filter ID of the `FilterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterrelativedatetimecontrol.html#cfn-quicksight-dashboard-filterrelativedatetimecontrol-sourcefilterid) */ override fun sourceFilterId(): String = unwrap(this).getSourceFilterId() /** * The title of the `FilterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterrelativedatetimecontrol.html#cfn-quicksight-dashboard-filterrelativedatetimecontrol-title) */ override fun title(): String = unwrap(this).getTitle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterRelativeDateTimeControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterRelativeDateTimeControlProperty): FilterRelativeDateTimeControlProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterRelativeDateTimeControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterRelativeDateTimeControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterRelativeDateTimeControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterRelativeDateTimeControlProperty } } /** * The scope configuration for a `FilterGroup` . * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * Object allSheets; * FilterScopeConfigurationProperty filterScopeConfigurationProperty = * FilterScopeConfigurationProperty.builder() * .allSheets(allSheets) * .selectedSheets(SelectedSheetsFilterScopeConfigurationProperty.builder() * .sheetVisualScopingConfigurations(List.of(SheetVisualScopingConfigurationProperty.builder() * .scope("scope") * .sheetId("sheetId") * // the properties below are optional * .visualIds(List.of("visualIds")) * .build())) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterscopeconfiguration.html) */ public interface FilterScopeConfigurationProperty { /** * The configuration that applies a filter to all sheets. * * When you choose `AllSheets` as the value for a `FilterScopeConfiguration` , this filter is * applied to all visuals of all sheets in an Analysis, Dashboard, or Template. The * `AllSheetsFilterScopeConfiguration` is chosen. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterscopeconfiguration.html#cfn-quicksight-dashboard-filterscopeconfiguration-allsheets) */ public fun allSheets(): Any? = unwrap(this).getAllSheets() /** * The configuration for applying a filter to specific sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterscopeconfiguration.html#cfn-quicksight-dashboard-filterscopeconfiguration-selectedsheets) */ public fun selectedSheets(): Any? = unwrap(this).getSelectedSheets() /** * A builder for [FilterScopeConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param allSheets The configuration that applies a filter to all sheets. * When you choose `AllSheets` as the value for a `FilterScopeConfiguration` , this filter is * applied to all visuals of all sheets in an Analysis, Dashboard, or Template. The * `AllSheetsFilterScopeConfiguration` is chosen. */ public fun allSheets(allSheets: Any) /** * @param selectedSheets The configuration for applying a filter to specific sheets. */ public fun selectedSheets(selectedSheets: IResolvable) /** * @param selectedSheets The configuration for applying a filter to specific sheets. */ public fun selectedSheets(selectedSheets: SelectedSheetsFilterScopeConfigurationProperty) /** * @param selectedSheets The configuration for applying a filter to specific sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("eb63a2ab83efec1532b252d7bec860ac3bb92e43caca4710a2dc219ef3c43dcc") public fun selectedSheets(selectedSheets: SelectedSheetsFilterScopeConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterScopeConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterScopeConfigurationProperty.builder() /** * @param allSheets The configuration that applies a filter to all sheets. * When you choose `AllSheets` as the value for a `FilterScopeConfiguration` , this filter is * applied to all visuals of all sheets in an Analysis, Dashboard, or Template. The * `AllSheetsFilterScopeConfiguration` is chosen. */ override fun allSheets(allSheets: Any) { cdkBuilder.allSheets(allSheets) } /** * @param selectedSheets The configuration for applying a filter to specific sheets. */ override fun selectedSheets(selectedSheets: IResolvable) { cdkBuilder.selectedSheets(selectedSheets.let(IResolvable.Companion::unwrap)) } /** * @param selectedSheets The configuration for applying a filter to specific sheets. */ override fun selectedSheets(selectedSheets: SelectedSheetsFilterScopeConfigurationProperty) { cdkBuilder.selectedSheets(selectedSheets.let(SelectedSheetsFilterScopeConfigurationProperty.Companion::unwrap)) } /** * @param selectedSheets The configuration for applying a filter to specific sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("eb63a2ab83efec1532b252d7bec860ac3bb92e43caca4710a2dc219ef3c43dcc") override fun selectedSheets(selectedSheets: SelectedSheetsFilterScopeConfigurationProperty.Builder.() -> Unit): Unit = selectedSheets(SelectedSheetsFilterScopeConfigurationProperty(selectedSheets)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterScopeConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterScopeConfigurationProperty, ) : CdkObject(cdkObject), FilterScopeConfigurationProperty { /** * The configuration that applies a filter to all sheets. * * When you choose `AllSheets` as the value for a `FilterScopeConfiguration` , this filter is * applied to all visuals of all sheets in an Analysis, Dashboard, or Template. The * `AllSheetsFilterScopeConfiguration` is chosen. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterscopeconfiguration.html#cfn-quicksight-dashboard-filterscopeconfiguration-allsheets) */ override fun allSheets(): Any? = unwrap(this).getAllSheets() /** * The configuration for applying a filter to specific sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterscopeconfiguration.html#cfn-quicksight-dashboard-filterscopeconfiguration-selectedsheets) */ override fun selectedSheets(): Any? = unwrap(this).getSelectedSheets() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterScopeConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterScopeConfigurationProperty): FilterScopeConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterScopeConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterScopeConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterScopeConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterScopeConfigurationProperty } } /** * A list of selectable values that are used in a control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterSelectableValuesProperty filterSelectableValuesProperty = * FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterselectablevalues.html) */ public interface FilterSelectableValuesProperty { /** * The values that are used in the `FilterSelectableValues` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterselectablevalues.html#cfn-quicksight-dashboard-filterselectablevalues-values) */ public fun values(): List = unwrap(this).getValues() ?: emptyList() /** * A builder for [FilterSelectableValuesProperty] */ @CdkDslMarker public interface Builder { /** * @param values The values that are used in the `FilterSelectableValues` . */ public fun values(values: List) /** * @param values The values that are used in the `FilterSelectableValues` . */ public fun values(vararg values: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSelectableValuesProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSelectableValuesProperty.builder() /** * @param values The values that are used in the `FilterSelectableValues` . */ override fun values(values: List) { cdkBuilder.values(values) } /** * @param values The values that are used in the `FilterSelectableValues` . */ override fun values(vararg values: String): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSelectableValuesProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSelectableValuesProperty, ) : CdkObject(cdkObject), FilterSelectableValuesProperty { /** * The values that are used in the `FilterSelectableValues` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterselectablevalues.html#cfn-quicksight-dashboard-filterselectablevalues-values) */ override fun values(): List = unwrap(this).getValues() ?: emptyList() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterSelectableValuesProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSelectableValuesProperty): FilterSelectableValuesProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterSelectableValuesProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterSelectableValuesProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSelectableValuesProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSelectableValuesProperty } } /** * A control to display a horizontal toggle bar. * * This is used to change a value by sliding the toggle. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterSliderControlProperty filterSliderControlProperty = FilterSliderControlProperty.builder() * .filterControlId("filterControlId") * .maximumValue(123) * .minimumValue(123) * .sourceFilterId("sourceFilterId") * .stepSize(123) * .title("title") * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html) */ public interface FilterSliderControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterSliderControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-filtercontrolid) */ public fun filterControlId(): String /** * The larger value that is displayed at the right of the slider. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-maximumvalue) */ public fun maximumValue(): Number /** * The smaller value that is displayed at the left of the slider. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-minimumvalue) */ public fun minimumValue(): Number /** * The source filter ID of the `FilterSliderControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-sourcefilterid) */ public fun sourceFilterId(): String /** * The number of increments that the slider bar is divided into. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-stepsize) */ public fun stepSize(): Number /** * The title of the `FilterSliderControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-title) */ public fun title(): String /** * The type of the `FilterSliderControl` . Choose one of the following options:. * * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-type) */ public fun type(): String? = unwrap(this).getType() /** * A builder for [FilterSliderControlProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0d60c0f3545a613ae719ccdb5d6a5786298efe0ff71a22ab5e189e9ceb91c2b2") public fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param filterControlId The ID of the `FilterSliderControl` . */ public fun filterControlId(filterControlId: String) /** * @param maximumValue The larger value that is displayed at the right of the slider. */ public fun maximumValue(maximumValue: Number) /** * @param minimumValue The smaller value that is displayed at the left of the slider. */ public fun minimumValue(minimumValue: Number) /** * @param sourceFilterId The source filter ID of the `FilterSliderControl` . */ public fun sourceFilterId(sourceFilterId: String) /** * @param stepSize The number of increments that the slider bar is divided into. */ public fun stepSize(stepSize: Number) /** * @param title The title of the `FilterSliderControl` . */ public fun title(title: String) /** * @param type The type of the `FilterSliderControl` . Choose one of the following options:. * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. */ public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSliderControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSliderControlProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0d60c0f3545a613ae719ccdb5d6a5786298efe0ff71a22ab5e189e9ceb91c2b2") override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(SliderControlDisplayOptionsProperty(displayOptions)) /** * @param filterControlId The ID of the `FilterSliderControl` . */ override fun filterControlId(filterControlId: String) { cdkBuilder.filterControlId(filterControlId) } /** * @param maximumValue The larger value that is displayed at the right of the slider. */ override fun maximumValue(maximumValue: Number) { cdkBuilder.maximumValue(maximumValue) } /** * @param minimumValue The smaller value that is displayed at the left of the slider. */ override fun minimumValue(minimumValue: Number) { cdkBuilder.minimumValue(minimumValue) } /** * @param sourceFilterId The source filter ID of the `FilterSliderControl` . */ override fun sourceFilterId(sourceFilterId: String) { cdkBuilder.sourceFilterId(sourceFilterId) } /** * @param stepSize The number of increments that the slider bar is divided into. */ override fun stepSize(stepSize: Number) { cdkBuilder.stepSize(stepSize) } /** * @param title The title of the `FilterSliderControl` . */ override fun title(title: String) { cdkBuilder.title(title) } /** * @param type The type of the `FilterSliderControl` . Choose one of the following options:. * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. */ override fun type(type: String) { cdkBuilder.type(type) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSliderControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSliderControlProperty, ) : CdkObject(cdkObject), FilterSliderControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterSliderControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-filtercontrolid) */ override fun filterControlId(): String = unwrap(this).getFilterControlId() /** * The larger value that is displayed at the right of the slider. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-maximumvalue) */ override fun maximumValue(): Number = unwrap(this).getMaximumValue() /** * The smaller value that is displayed at the left of the slider. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-minimumvalue) */ override fun minimumValue(): Number = unwrap(this).getMinimumValue() /** * The source filter ID of the `FilterSliderControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-sourcefilterid) */ override fun sourceFilterId(): String = unwrap(this).getSourceFilterId() /** * The number of increments that the slider bar is divided into. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-stepsize) */ override fun stepSize(): Number = unwrap(this).getStepSize() /** * The title of the `FilterSliderControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-title) */ override fun title(): String = unwrap(this).getTitle() /** * The type of the `FilterSliderControl` . Choose one of the following options:. * * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterslidercontrol.html#cfn-quicksight-dashboard-filterslidercontrol-type) */ override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterSliderControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSliderControlProperty): FilterSliderControlProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterSliderControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterSliderControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSliderControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterSliderControlProperty } } /** * A control to display a text box that is used to enter multiple entries. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterTextAreaControlProperty filterTextAreaControlProperty = * FilterTextAreaControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * .title("title") * // the properties below are optional * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextareacontrol.html) */ public interface FilterTextAreaControlProperty { /** * The delimiter that is used to separate the lines in text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextareacontrol.html#cfn-quicksight-dashboard-filtertextareacontrol-delimiter) */ public fun delimiter(): String? = unwrap(this).getDelimiter() /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextareacontrol.html#cfn-quicksight-dashboard-filtertextareacontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextareacontrol.html#cfn-quicksight-dashboard-filtertextareacontrol-filtercontrolid) */ public fun filterControlId(): String /** * The source filter ID of the `FilterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextareacontrol.html#cfn-quicksight-dashboard-filtertextareacontrol-sourcefilterid) */ public fun sourceFilterId(): String /** * The title of the `FilterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextareacontrol.html#cfn-quicksight-dashboard-filtertextareacontrol-title) */ public fun title(): String /** * A builder for [FilterTextAreaControlProperty] */ @CdkDslMarker public interface Builder { /** * @param delimiter The delimiter that is used to separate the lines in text. */ public fun delimiter(delimiter: String) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("752914ab42cca6c20509e7bb2c339c2e0b0e11ba6304b9770f9a78347f501f28") public fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param filterControlId The ID of the `FilterTextAreaControl` . */ public fun filterControlId(filterControlId: String) /** * @param sourceFilterId The source filter ID of the `FilterTextAreaControl` . */ public fun sourceFilterId(sourceFilterId: String) /** * @param title The title of the `FilterTextAreaControl` . */ public fun title(title: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextAreaControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextAreaControlProperty.builder() /** * @param delimiter The delimiter that is used to separate the lines in text. */ override fun delimiter(delimiter: String) { cdkBuilder.delimiter(delimiter) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("752914ab42cca6c20509e7bb2c339c2e0b0e11ba6304b9770f9a78347f501f28") override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(TextAreaControlDisplayOptionsProperty(displayOptions)) /** * @param filterControlId The ID of the `FilterTextAreaControl` . */ override fun filterControlId(filterControlId: String) { cdkBuilder.filterControlId(filterControlId) } /** * @param sourceFilterId The source filter ID of the `FilterTextAreaControl` . */ override fun sourceFilterId(sourceFilterId: String) { cdkBuilder.sourceFilterId(sourceFilterId) } /** * @param title The title of the `FilterTextAreaControl` . */ override fun title(title: String) { cdkBuilder.title(title) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextAreaControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextAreaControlProperty, ) : CdkObject(cdkObject), FilterTextAreaControlProperty { /** * The delimiter that is used to separate the lines in text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextareacontrol.html#cfn-quicksight-dashboard-filtertextareacontrol-delimiter) */ override fun delimiter(): String? = unwrap(this).getDelimiter() /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextareacontrol.html#cfn-quicksight-dashboard-filtertextareacontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextareacontrol.html#cfn-quicksight-dashboard-filtertextareacontrol-filtercontrolid) */ override fun filterControlId(): String = unwrap(this).getFilterControlId() /** * The source filter ID of the `FilterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextareacontrol.html#cfn-quicksight-dashboard-filtertextareacontrol-sourcefilterid) */ override fun sourceFilterId(): String = unwrap(this).getSourceFilterId() /** * The title of the `FilterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextareacontrol.html#cfn-quicksight-dashboard-filtertextareacontrol-title) */ override fun title(): String = unwrap(this).getTitle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterTextAreaControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextAreaControlProperty): FilterTextAreaControlProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterTextAreaControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterTextAreaControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextAreaControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextAreaControlProperty } } /** * A control to display a text box that is used to enter a single entry. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterTextFieldControlProperty filterTextFieldControlProperty = * FilterTextFieldControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") * .title("title") * // the properties below are optional * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextfieldcontrol.html) */ public interface FilterTextFieldControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextfieldcontrol.html#cfn-quicksight-dashboard-filtertextfieldcontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterTextFieldControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextfieldcontrol.html#cfn-quicksight-dashboard-filtertextfieldcontrol-filtercontrolid) */ public fun filterControlId(): String /** * The source filter ID of the `FilterTextFieldControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextfieldcontrol.html#cfn-quicksight-dashboard-filtertextfieldcontrol-sourcefilterid) */ public fun sourceFilterId(): String /** * The title of the `FilterTextFieldControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextfieldcontrol.html#cfn-quicksight-dashboard-filtertextfieldcontrol-title) */ public fun title(): String /** * A builder for [FilterTextFieldControlProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("91713c9bd7ff14017b72804c068b32493816c71bc679188833143c8ad34c66b8") public fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param filterControlId The ID of the `FilterTextFieldControl` . */ public fun filterControlId(filterControlId: String) /** * @param sourceFilterId The source filter ID of the `FilterTextFieldControl` . */ public fun sourceFilterId(sourceFilterId: String) /** * @param title The title of the `FilterTextFieldControl` . */ public fun title(title: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextFieldControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextFieldControlProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("91713c9bd7ff14017b72804c068b32493816c71bc679188833143c8ad34c66b8") override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(TextFieldControlDisplayOptionsProperty(displayOptions)) /** * @param filterControlId The ID of the `FilterTextFieldControl` . */ override fun filterControlId(filterControlId: String) { cdkBuilder.filterControlId(filterControlId) } /** * @param sourceFilterId The source filter ID of the `FilterTextFieldControl` . */ override fun sourceFilterId(sourceFilterId: String) { cdkBuilder.sourceFilterId(sourceFilterId) } /** * @param title The title of the `FilterTextFieldControl` . */ override fun title(title: String) { cdkBuilder.title(title) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextFieldControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextFieldControlProperty, ) : CdkObject(cdkObject), FilterTextFieldControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextfieldcontrol.html#cfn-quicksight-dashboard-filtertextfieldcontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `FilterTextFieldControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextfieldcontrol.html#cfn-quicksight-dashboard-filtertextfieldcontrol-filtercontrolid) */ override fun filterControlId(): String = unwrap(this).getFilterControlId() /** * The source filter ID of the `FilterTextFieldControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextfieldcontrol.html#cfn-quicksight-dashboard-filtertextfieldcontrol-sourcefilterid) */ override fun sourceFilterId(): String = unwrap(this).getSourceFilterId() /** * The title of the `FilterTextFieldControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtertextfieldcontrol.html#cfn-quicksight-dashboard-filtertextfieldcontrol-title) */ override fun title(): String = unwrap(this).getTitle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FilterTextFieldControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextFieldControlProperty): FilterTextFieldControlProperty = CdkObjectWrappers.wrap(cdkObject) as? FilterTextFieldControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FilterTextFieldControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextFieldControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FilterTextFieldControlProperty } } /** * Configures the display properties of the given text. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FontConfigurationProperty fontConfigurationProperty = FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontconfiguration.html) */ public interface FontConfigurationProperty { /** * Determines the color of the text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontconfiguration.html#cfn-quicksight-dashboard-fontconfiguration-fontcolor) */ public fun fontColor(): String? = unwrap(this).getFontColor() /** * Determines the appearance of decorative lines on the text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontconfiguration.html#cfn-quicksight-dashboard-fontconfiguration-fontdecoration) */ public fun fontDecoration(): String? = unwrap(this).getFontDecoration() /** * The option that determines the text display size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontconfiguration.html#cfn-quicksight-dashboard-fontconfiguration-fontsize) */ public fun fontSize(): Any? = unwrap(this).getFontSize() /** * Determines the text display face that is inherited by the given font family. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontconfiguration.html#cfn-quicksight-dashboard-fontconfiguration-fontstyle) */ public fun fontStyle(): String? = unwrap(this).getFontStyle() /** * The option that determines the text display weight, or boldness. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontconfiguration.html#cfn-quicksight-dashboard-fontconfiguration-fontweight) */ public fun fontWeight(): Any? = unwrap(this).getFontWeight() /** * A builder for [FontConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param fontColor Determines the color of the text. */ public fun fontColor(fontColor: String) /** * @param fontDecoration Determines the appearance of decorative lines on the text. */ public fun fontDecoration(fontDecoration: String) /** * @param fontSize The option that determines the text display size. */ public fun fontSize(fontSize: IResolvable) /** * @param fontSize The option that determines the text display size. */ public fun fontSize(fontSize: FontSizeProperty) /** * @param fontSize The option that determines the text display size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("40d4b42f64ebf0c24accfa1ea4611e7294bf4cb89490e5fddb79b82d257bdeb3") public fun fontSize(fontSize: FontSizeProperty.Builder.() -> Unit) /** * @param fontStyle Determines the text display face that is inherited by the given font * family. */ public fun fontStyle(fontStyle: String) /** * @param fontWeight The option that determines the text display weight, or boldness. */ public fun fontWeight(fontWeight: IResolvable) /** * @param fontWeight The option that determines the text display weight, or boldness. */ public fun fontWeight(fontWeight: FontWeightProperty) /** * @param fontWeight The option that determines the text display weight, or boldness. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f5d0c0ff623167e377ecbbf078f528ce2838a3d1f41aff34dcd2bb2f6dc4cc37") public fun fontWeight(fontWeight: FontWeightProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FontConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FontConfigurationProperty.builder() /** * @param fontColor Determines the color of the text. */ override fun fontColor(fontColor: String) { cdkBuilder.fontColor(fontColor) } /** * @param fontDecoration Determines the appearance of decorative lines on the text. */ override fun fontDecoration(fontDecoration: String) { cdkBuilder.fontDecoration(fontDecoration) } /** * @param fontSize The option that determines the text display size. */ override fun fontSize(fontSize: IResolvable) { cdkBuilder.fontSize(fontSize.let(IResolvable.Companion::unwrap)) } /** * @param fontSize The option that determines the text display size. */ override fun fontSize(fontSize: FontSizeProperty) { cdkBuilder.fontSize(fontSize.let(FontSizeProperty.Companion::unwrap)) } /** * @param fontSize The option that determines the text display size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("40d4b42f64ebf0c24accfa1ea4611e7294bf4cb89490e5fddb79b82d257bdeb3") override fun fontSize(fontSize: FontSizeProperty.Builder.() -> Unit): Unit = fontSize(FontSizeProperty(fontSize)) /** * @param fontStyle Determines the text display face that is inherited by the given font * family. */ override fun fontStyle(fontStyle: String) { cdkBuilder.fontStyle(fontStyle) } /** * @param fontWeight The option that determines the text display weight, or boldness. */ override fun fontWeight(fontWeight: IResolvable) { cdkBuilder.fontWeight(fontWeight.let(IResolvable.Companion::unwrap)) } /** * @param fontWeight The option that determines the text display weight, or boldness. */ override fun fontWeight(fontWeight: FontWeightProperty) { cdkBuilder.fontWeight(fontWeight.let(FontWeightProperty.Companion::unwrap)) } /** * @param fontWeight The option that determines the text display weight, or boldness. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f5d0c0ff623167e377ecbbf078f528ce2838a3d1f41aff34dcd2bb2f6dc4cc37") override fun fontWeight(fontWeight: FontWeightProperty.Builder.() -> Unit): Unit = fontWeight(FontWeightProperty(fontWeight)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FontConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FontConfigurationProperty, ) : CdkObject(cdkObject), FontConfigurationProperty { /** * Determines the color of the text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontconfiguration.html#cfn-quicksight-dashboard-fontconfiguration-fontcolor) */ override fun fontColor(): String? = unwrap(this).getFontColor() /** * Determines the appearance of decorative lines on the text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontconfiguration.html#cfn-quicksight-dashboard-fontconfiguration-fontdecoration) */ override fun fontDecoration(): String? = unwrap(this).getFontDecoration() /** * The option that determines the text display size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontconfiguration.html#cfn-quicksight-dashboard-fontconfiguration-fontsize) */ override fun fontSize(): Any? = unwrap(this).getFontSize() /** * Determines the text display face that is inherited by the given font family. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontconfiguration.html#cfn-quicksight-dashboard-fontconfiguration-fontstyle) */ override fun fontStyle(): String? = unwrap(this).getFontStyle() /** * The option that determines the text display weight, or boldness. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontconfiguration.html#cfn-quicksight-dashboard-fontconfiguration-fontweight) */ override fun fontWeight(): Any? = unwrap(this).getFontWeight() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FontConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FontConfigurationProperty): FontConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? FontConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FontConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FontConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FontConfigurationProperty } } /** * The option that determines the text display size. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FontSizeProperty fontSizeProperty = FontSizeProperty.builder() * .relative("relative") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontsize.html) */ public interface FontSizeProperty { /** * The lexical name for the text size, proportional to its surrounding context. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontsize.html#cfn-quicksight-dashboard-fontsize-relative) */ public fun relative(): String? = unwrap(this).getRelative() /** * A builder for [FontSizeProperty] */ @CdkDslMarker public interface Builder { /** * @param relative The lexical name for the text size, proportional to its surrounding * context. */ public fun relative(relative: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FontSizeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FontSizeProperty.builder() /** * @param relative The lexical name for the text size, proportional to its surrounding * context. */ override fun relative(relative: String) { cdkBuilder.relative(relative) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FontSizeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FontSizeProperty, ) : CdkObject(cdkObject), FontSizeProperty { /** * The lexical name for the text size, proportional to its surrounding context. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontsize.html#cfn-quicksight-dashboard-fontsize-relative) */ override fun relative(): String? = unwrap(this).getRelative() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FontSizeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FontSizeProperty): FontSizeProperty = CdkObjectWrappers.wrap(cdkObject) as? FontSizeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FontSizeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FontSizeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FontSizeProperty } } /** * The option that determines the text display weight, or boldness. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FontWeightProperty fontWeightProperty = FontWeightProperty.builder() * .name("name") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontweight.html) */ public interface FontWeightProperty { /** * The lexical name for the level of boldness of the text display. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontweight.html#cfn-quicksight-dashboard-fontweight-name) */ public fun name(): String? = unwrap(this).getName() /** * A builder for [FontWeightProperty] */ @CdkDslMarker public interface Builder { /** * @param name The lexical name for the level of boldness of the text display. */ public fun name(name: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FontWeightProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FontWeightProperty.builder() /** * @param name The lexical name for the level of boldness of the text display. */ override fun name(name: String) { cdkBuilder.name(name) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FontWeightProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FontWeightProperty, ) : CdkObject(cdkObject), FontWeightProperty { /** * The lexical name for the level of boldness of the text display. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-fontweight.html#cfn-quicksight-dashboard-fontweight-name) */ override fun name(): String? = unwrap(this).getName() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FontWeightProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FontWeightProperty): FontWeightProperty = CdkObjectWrappers.wrap(cdkObject) as? FontWeightProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FontWeightProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FontWeightProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FontWeightProperty } } /** * The forecast computation configuration. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html) */ public interface ForecastComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-computationid) */ public fun computationId(): String /** * The custom seasonality value setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-customseasonalityvalue) */ public fun customSeasonalityValue(): Number? = unwrap(this).getCustomSeasonalityValue() /** * The lower boundary setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-lowerboundary) */ public fun lowerBoundary(): Number? = unwrap(this).getLowerBoundary() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-name) */ public fun name(): String? = unwrap(this).getName() /** * The periods backward setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-periodsbackward) */ public fun periodsBackward(): Number? = unwrap(this).getPeriodsBackward() /** * The periods forward setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-periodsforward) */ public fun periodsForward(): Number? = unwrap(this).getPeriodsForward() /** * The prediction interval setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-predictioninterval) */ public fun predictionInterval(): Number? = unwrap(this).getPredictionInterval() /** * The seasonality setup of a forecast computation. Choose one of the following options:. * * * `AUTOMATIC` * * `CUSTOM` : Checks the custom seasonality value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-seasonality) */ public fun seasonality(): String? = unwrap(this).getSeasonality() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-time) */ public fun time(): Any? = unwrap(this).getTime() /** * The upper boundary setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-upperboundary) */ public fun upperBoundary(): Number? = unwrap(this).getUpperBoundary() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-value) */ public fun `value`(): Any? = unwrap(this).getValue() /** * A builder for [ForecastComputationProperty] */ @CdkDslMarker public interface Builder { /** * @param computationId The ID for a computation. */ public fun computationId(computationId: String) /** * @param customSeasonalityValue The custom seasonality value setup of a forecast computation. */ public fun customSeasonalityValue(customSeasonalityValue: Number) /** * @param lowerBoundary The lower boundary setup of a forecast computation. */ public fun lowerBoundary(lowerBoundary: Number) /** * @param name The name of a computation. */ public fun name(name: String) /** * @param periodsBackward The periods backward setup of a forecast computation. */ public fun periodsBackward(periodsBackward: Number) /** * @param periodsForward The periods forward setup of a forecast computation. */ public fun periodsForward(periodsForward: Number) /** * @param predictionInterval The prediction interval setup of a forecast computation. */ public fun predictionInterval(predictionInterval: Number) /** * @param seasonality The seasonality setup of a forecast computation. Choose one of the * following options:. * * `AUTOMATIC` * * `CUSTOM` : Checks the custom seasonality value. */ public fun seasonality(seasonality: String) /** * @param time The time field that is used in a computation. */ public fun time(time: IResolvable) /** * @param time The time field that is used in a computation. */ public fun time(time: DimensionFieldProperty) /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("38b4e1ed9ed6ca57d2b48e8703ed85308d7bc936d85117641c7e228aabe39a4f") public fun time(time: DimensionFieldProperty.Builder.() -> Unit) /** * @param upperBoundary The upper boundary setup of a forecast computation. */ public fun upperBoundary(upperBoundary: Number) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: IResolvable) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: MeasureFieldProperty) /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("03fd15cf19428d6ae44b1e3e2d947ad3b6dc55cf71eedce8af5540f98cda1d39") public fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastComputationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastComputationProperty.builder() /** * @param computationId The ID for a computation. */ override fun computationId(computationId: String) { cdkBuilder.computationId(computationId) } /** * @param customSeasonalityValue The custom seasonality value setup of a forecast computation. */ override fun customSeasonalityValue(customSeasonalityValue: Number) { cdkBuilder.customSeasonalityValue(customSeasonalityValue) } /** * @param lowerBoundary The lower boundary setup of a forecast computation. */ override fun lowerBoundary(lowerBoundary: Number) { cdkBuilder.lowerBoundary(lowerBoundary) } /** * @param name The name of a computation. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param periodsBackward The periods backward setup of a forecast computation. */ override fun periodsBackward(periodsBackward: Number) { cdkBuilder.periodsBackward(periodsBackward) } /** * @param periodsForward The periods forward setup of a forecast computation. */ override fun periodsForward(periodsForward: Number) { cdkBuilder.periodsForward(periodsForward) } /** * @param predictionInterval The prediction interval setup of a forecast computation. */ override fun predictionInterval(predictionInterval: Number) { cdkBuilder.predictionInterval(predictionInterval) } /** * @param seasonality The seasonality setup of a forecast computation. Choose one of the * following options:. * * `AUTOMATIC` * * `CUSTOM` : Checks the custom seasonality value. */ override fun seasonality(seasonality: String) { cdkBuilder.seasonality(seasonality) } /** * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("38b4e1ed9ed6ca57d2b48e8703ed85308d7bc936d85117641c7e228aabe39a4f") override fun time(time: DimensionFieldProperty.Builder.() -> Unit): Unit = time(DimensionFieldProperty(time)) /** * @param upperBoundary The upper boundary setup of a forecast computation. */ override fun upperBoundary(upperBoundary: Number) { cdkBuilder.upperBoundary(upperBoundary) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("03fd15cf19428d6ae44b1e3e2d947ad3b6dc55cf71eedce8af5540f98cda1d39") override fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit): Unit = `value`(MeasureFieldProperty(`value`)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastComputationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastComputationProperty, ) : CdkObject(cdkObject), ForecastComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-computationid) */ override fun computationId(): String = unwrap(this).getComputationId() /** * The custom seasonality value setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-customseasonalityvalue) */ override fun customSeasonalityValue(): Number? = unwrap(this).getCustomSeasonalityValue() /** * The lower boundary setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-lowerboundary) */ override fun lowerBoundary(): Number? = unwrap(this).getLowerBoundary() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-name) */ override fun name(): String? = unwrap(this).getName() /** * The periods backward setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-periodsbackward) */ override fun periodsBackward(): Number? = unwrap(this).getPeriodsBackward() /** * The periods forward setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-periodsforward) */ override fun periodsForward(): Number? = unwrap(this).getPeriodsForward() /** * The prediction interval setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-predictioninterval) */ override fun predictionInterval(): Number? = unwrap(this).getPredictionInterval() /** * The seasonality setup of a forecast computation. Choose one of the following options:. * * * `AUTOMATIC` * * `CUSTOM` : Checks the custom seasonality value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-seasonality) */ override fun seasonality(): String? = unwrap(this).getSeasonality() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-time) */ override fun time(): Any? = unwrap(this).getTime() /** * The upper boundary setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-upperboundary) */ override fun upperBoundary(): Number? = unwrap(this).getUpperBoundary() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastcomputation.html#cfn-quicksight-dashboard-forecastcomputation-value) */ override fun `value`(): Any? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ForecastComputationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastComputationProperty): ForecastComputationProperty = CdkObjectWrappers.wrap(cdkObject) as? ForecastComputationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ForecastComputationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastComputationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastComputationProperty } } /** * The forecast configuration that is used in a line chart's display properties. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ForecastConfigurationProperty forecastConfigurationProperty = * ForecastConfigurationProperty.builder() * .forecastProperties(TimeBasedForecastPropertiesProperty.builder() * .lowerBoundary(123) * .periodsBackward(123) * .periodsForward(123) * .predictionInterval(123) * .seasonality(123) * .upperBoundary(123) * .build()) * .scenario(ForecastScenarioProperty.builder() * .whatIfPointScenario(WhatIfPointScenarioProperty.builder() * .date("date") * .value(123) * .build()) * .whatIfRangeScenario(WhatIfRangeScenarioProperty.builder() * .endDate("endDate") * .startDate("startDate") * .value(123) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastconfiguration.html) */ public interface ForecastConfigurationProperty { /** * The forecast properties setup of a forecast in the line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastconfiguration.html#cfn-quicksight-dashboard-forecastconfiguration-forecastproperties) */ public fun forecastProperties(): Any? = unwrap(this).getForecastProperties() /** * The forecast scenario of a forecast in the line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastconfiguration.html#cfn-quicksight-dashboard-forecastconfiguration-scenario) */ public fun scenario(): Any? = unwrap(this).getScenario() /** * A builder for [ForecastConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param forecastProperties The forecast properties setup of a forecast in the line chart. */ public fun forecastProperties(forecastProperties: IResolvable) /** * @param forecastProperties The forecast properties setup of a forecast in the line chart. */ public fun forecastProperties(forecastProperties: TimeBasedForecastPropertiesProperty) /** * @param forecastProperties The forecast properties setup of a forecast in the line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8ba7b285360c64e8b7e768ae9dfceca7a733d56d61bb73c790fe0aadf9824fc4") public fun forecastProperties(forecastProperties: TimeBasedForecastPropertiesProperty.Builder.() -> Unit) /** * @param scenario The forecast scenario of a forecast in the line chart. */ public fun scenario(scenario: IResolvable) /** * @param scenario The forecast scenario of a forecast in the line chart. */ public fun scenario(scenario: ForecastScenarioProperty) /** * @param scenario The forecast scenario of a forecast in the line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ea23ecec88678b75c3cb5ab7593f6201a3d1fbb8950b08609c90a3c919281758") public fun scenario(scenario: ForecastScenarioProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastConfigurationProperty.builder() /** * @param forecastProperties The forecast properties setup of a forecast in the line chart. */ override fun forecastProperties(forecastProperties: IResolvable) { cdkBuilder.forecastProperties(forecastProperties.let(IResolvable.Companion::unwrap)) } /** * @param forecastProperties The forecast properties setup of a forecast in the line chart. */ override fun forecastProperties(forecastProperties: TimeBasedForecastPropertiesProperty) { cdkBuilder.forecastProperties(forecastProperties.let(TimeBasedForecastPropertiesProperty.Companion::unwrap)) } /** * @param forecastProperties The forecast properties setup of a forecast in the line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8ba7b285360c64e8b7e768ae9dfceca7a733d56d61bb73c790fe0aadf9824fc4") override fun forecastProperties(forecastProperties: TimeBasedForecastPropertiesProperty.Builder.() -> Unit): Unit = forecastProperties(TimeBasedForecastPropertiesProperty(forecastProperties)) /** * @param scenario The forecast scenario of a forecast in the line chart. */ override fun scenario(scenario: IResolvable) { cdkBuilder.scenario(scenario.let(IResolvable.Companion::unwrap)) } /** * @param scenario The forecast scenario of a forecast in the line chart. */ override fun scenario(scenario: ForecastScenarioProperty) { cdkBuilder.scenario(scenario.let(ForecastScenarioProperty.Companion::unwrap)) } /** * @param scenario The forecast scenario of a forecast in the line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ea23ecec88678b75c3cb5ab7593f6201a3d1fbb8950b08609c90a3c919281758") override fun scenario(scenario: ForecastScenarioProperty.Builder.() -> Unit): Unit = scenario(ForecastScenarioProperty(scenario)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastConfigurationProperty, ) : CdkObject(cdkObject), ForecastConfigurationProperty { /** * The forecast properties setup of a forecast in the line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastconfiguration.html#cfn-quicksight-dashboard-forecastconfiguration-forecastproperties) */ override fun forecastProperties(): Any? = unwrap(this).getForecastProperties() /** * The forecast scenario of a forecast in the line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastconfiguration.html#cfn-quicksight-dashboard-forecastconfiguration-scenario) */ override fun scenario(): Any? = unwrap(this).getScenario() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ForecastConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastConfigurationProperty): ForecastConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ForecastConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ForecastConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastConfigurationProperty } } /** * The forecast scenario of a forecast in the line chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ForecastScenarioProperty forecastScenarioProperty = ForecastScenarioProperty.builder() * .whatIfPointScenario(WhatIfPointScenarioProperty.builder() * .date("date") * .value(123) * .build()) * .whatIfRangeScenario(WhatIfRangeScenarioProperty.builder() * .endDate("endDate") * .startDate("startDate") * .value(123) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastscenario.html) */ public interface ForecastScenarioProperty { /** * The what-if analysis forecast setup with the target date. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastscenario.html#cfn-quicksight-dashboard-forecastscenario-whatifpointscenario) */ public fun whatIfPointScenario(): Any? = unwrap(this).getWhatIfPointScenario() /** * The what-if analysis forecast setup with the date range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastscenario.html#cfn-quicksight-dashboard-forecastscenario-whatifrangescenario) */ public fun whatIfRangeScenario(): Any? = unwrap(this).getWhatIfRangeScenario() /** * A builder for [ForecastScenarioProperty] */ @CdkDslMarker public interface Builder { /** * @param whatIfPointScenario The what-if analysis forecast setup with the target date. */ public fun whatIfPointScenario(whatIfPointScenario: IResolvable) /** * @param whatIfPointScenario The what-if analysis forecast setup with the target date. */ public fun whatIfPointScenario(whatIfPointScenario: WhatIfPointScenarioProperty) /** * @param whatIfPointScenario The what-if analysis forecast setup with the target date. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("76fc2f1e491c9ba642d801fa7d9c9d27f35d0c5be51fccb7f8723bc30385dd0c") public fun whatIfPointScenario(whatIfPointScenario: WhatIfPointScenarioProperty.Builder.() -> Unit) /** * @param whatIfRangeScenario The what-if analysis forecast setup with the date range. */ public fun whatIfRangeScenario(whatIfRangeScenario: IResolvable) /** * @param whatIfRangeScenario The what-if analysis forecast setup with the date range. */ public fun whatIfRangeScenario(whatIfRangeScenario: WhatIfRangeScenarioProperty) /** * @param whatIfRangeScenario The what-if analysis forecast setup with the date range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("70578902a05bb282d224a659372e3c8c656726cd74c88976849438f0f91998e7") public fun whatIfRangeScenario(whatIfRangeScenario: WhatIfRangeScenarioProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastScenarioProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastScenarioProperty.builder() /** * @param whatIfPointScenario The what-if analysis forecast setup with the target date. */ override fun whatIfPointScenario(whatIfPointScenario: IResolvable) { cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(IResolvable.Companion::unwrap)) } /** * @param whatIfPointScenario The what-if analysis forecast setup with the target date. */ override fun whatIfPointScenario(whatIfPointScenario: WhatIfPointScenarioProperty) { cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(WhatIfPointScenarioProperty.Companion::unwrap)) } /** * @param whatIfPointScenario The what-if analysis forecast setup with the target date. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("76fc2f1e491c9ba642d801fa7d9c9d27f35d0c5be51fccb7f8723bc30385dd0c") override fun whatIfPointScenario(whatIfPointScenario: WhatIfPointScenarioProperty.Builder.() -> Unit): Unit = whatIfPointScenario(WhatIfPointScenarioProperty(whatIfPointScenario)) /** * @param whatIfRangeScenario The what-if analysis forecast setup with the date range. */ override fun whatIfRangeScenario(whatIfRangeScenario: IResolvable) { cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(IResolvable.Companion::unwrap)) } /** * @param whatIfRangeScenario The what-if analysis forecast setup with the date range. */ override fun whatIfRangeScenario(whatIfRangeScenario: WhatIfRangeScenarioProperty) { cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(WhatIfRangeScenarioProperty.Companion::unwrap)) } /** * @param whatIfRangeScenario The what-if analysis forecast setup with the date range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("70578902a05bb282d224a659372e3c8c656726cd74c88976849438f0f91998e7") override fun whatIfRangeScenario(whatIfRangeScenario: WhatIfRangeScenarioProperty.Builder.() -> Unit): Unit = whatIfRangeScenario(WhatIfRangeScenarioProperty(whatIfRangeScenario)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastScenarioProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastScenarioProperty, ) : CdkObject(cdkObject), ForecastScenarioProperty { /** * The what-if analysis forecast setup with the target date. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastscenario.html#cfn-quicksight-dashboard-forecastscenario-whatifpointscenario) */ override fun whatIfPointScenario(): Any? = unwrap(this).getWhatIfPointScenario() /** * The what-if analysis forecast setup with the date range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-forecastscenario.html#cfn-quicksight-dashboard-forecastscenario-whatifrangescenario) */ override fun whatIfRangeScenario(): Any? = unwrap(this).getWhatIfRangeScenario() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ForecastScenarioProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastScenarioProperty): ForecastScenarioProperty = CdkObjectWrappers.wrap(cdkObject) as? ForecastScenarioProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ForecastScenarioProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastScenarioProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastScenarioProperty } } /** * The formatting configuration for all types of field. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FormatConfigurationProperty formatConfigurationProperty = FormatConfigurationProperty.builder() * .dateTimeFormatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .numberFormatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .stringFormatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-formatconfiguration.html) */ public interface FormatConfigurationProperty { /** * Formatting configuration for `DateTime` fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-formatconfiguration.html#cfn-quicksight-dashboard-formatconfiguration-datetimeformatconfiguration) */ public fun dateTimeFormatConfiguration(): Any? = unwrap(this).getDateTimeFormatConfiguration() /** * Formatting configuration for number fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-formatconfiguration.html#cfn-quicksight-dashboard-formatconfiguration-numberformatconfiguration) */ public fun numberFormatConfiguration(): Any? = unwrap(this).getNumberFormatConfiguration() /** * Formatting configuration for string fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-formatconfiguration.html#cfn-quicksight-dashboard-formatconfiguration-stringformatconfiguration) */ public fun stringFormatConfiguration(): Any? = unwrap(this).getStringFormatConfiguration() /** * A builder for [FormatConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param dateTimeFormatConfiguration Formatting configuration for `DateTime` fields. */ public fun dateTimeFormatConfiguration(dateTimeFormatConfiguration: IResolvable) /** * @param dateTimeFormatConfiguration Formatting configuration for `DateTime` fields. */ public fun dateTimeFormatConfiguration(dateTimeFormatConfiguration: DateTimeFormatConfigurationProperty) /** * @param dateTimeFormatConfiguration Formatting configuration for `DateTime` fields. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e852f116301b49952b3b4ca9e3b1d6020d8568e7a6eca284a0c85173649870a6") public fun dateTimeFormatConfiguration(dateTimeFormatConfiguration: DateTimeFormatConfigurationProperty.Builder.() -> Unit) /** * @param numberFormatConfiguration Formatting configuration for number fields. */ public fun numberFormatConfiguration(numberFormatConfiguration: IResolvable) /** * @param numberFormatConfiguration Formatting configuration for number fields. */ public fun numberFormatConfiguration(numberFormatConfiguration: NumberFormatConfigurationProperty) /** * @param numberFormatConfiguration Formatting configuration for number fields. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33ec566924ab114b8ccfe96998219b72cc345fc0cb35668d6b077de9edd824a1") public fun numberFormatConfiguration(numberFormatConfiguration: NumberFormatConfigurationProperty.Builder.() -> Unit) /** * @param stringFormatConfiguration Formatting configuration for string fields. */ public fun stringFormatConfiguration(stringFormatConfiguration: IResolvable) /** * @param stringFormatConfiguration Formatting configuration for string fields. */ public fun stringFormatConfiguration(stringFormatConfiguration: StringFormatConfigurationProperty) /** * @param stringFormatConfiguration Formatting configuration for string fields. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a266ae1d07a4fb0eaae95bf02b65b1d4d13efb85cd80a587bfd3b83a0dcdaf11") public fun stringFormatConfiguration(stringFormatConfiguration: StringFormatConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FormatConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FormatConfigurationProperty.builder() /** * @param dateTimeFormatConfiguration Formatting configuration for `DateTime` fields. */ override fun dateTimeFormatConfiguration(dateTimeFormatConfiguration: IResolvable) { cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param dateTimeFormatConfiguration Formatting configuration for `DateTime` fields. */ override fun dateTimeFormatConfiguration(dateTimeFormatConfiguration: DateTimeFormatConfigurationProperty) { cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(DateTimeFormatConfigurationProperty.Companion::unwrap)) } /** * @param dateTimeFormatConfiguration Formatting configuration for `DateTime` fields. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e852f116301b49952b3b4ca9e3b1d6020d8568e7a6eca284a0c85173649870a6") override fun dateTimeFormatConfiguration(dateTimeFormatConfiguration: DateTimeFormatConfigurationProperty.Builder.() -> Unit): Unit = dateTimeFormatConfiguration(DateTimeFormatConfigurationProperty(dateTimeFormatConfiguration)) /** * @param numberFormatConfiguration Formatting configuration for number fields. */ override fun numberFormatConfiguration(numberFormatConfiguration: IResolvable) { cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param numberFormatConfiguration Formatting configuration for number fields. */ override fun numberFormatConfiguration(numberFormatConfiguration: NumberFormatConfigurationProperty) { cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(NumberFormatConfigurationProperty.Companion::unwrap)) } /** * @param numberFormatConfiguration Formatting configuration for number fields. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33ec566924ab114b8ccfe96998219b72cc345fc0cb35668d6b077de9edd824a1") override fun numberFormatConfiguration(numberFormatConfiguration: NumberFormatConfigurationProperty.Builder.() -> Unit): Unit = numberFormatConfiguration(NumberFormatConfigurationProperty(numberFormatConfiguration)) /** * @param stringFormatConfiguration Formatting configuration for string fields. */ override fun stringFormatConfiguration(stringFormatConfiguration: IResolvable) { cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param stringFormatConfiguration Formatting configuration for string fields. */ override fun stringFormatConfiguration(stringFormatConfiguration: StringFormatConfigurationProperty) { cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(StringFormatConfigurationProperty.Companion::unwrap)) } /** * @param stringFormatConfiguration Formatting configuration for string fields. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a266ae1d07a4fb0eaae95bf02b65b1d4d13efb85cd80a587bfd3b83a0dcdaf11") override fun stringFormatConfiguration(stringFormatConfiguration: StringFormatConfigurationProperty.Builder.() -> Unit): Unit = stringFormatConfiguration(StringFormatConfigurationProperty(stringFormatConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FormatConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FormatConfigurationProperty, ) : CdkObject(cdkObject), FormatConfigurationProperty { /** * Formatting configuration for `DateTime` fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-formatconfiguration.html#cfn-quicksight-dashboard-formatconfiguration-datetimeformatconfiguration) */ override fun dateTimeFormatConfiguration(): Any? = unwrap(this).getDateTimeFormatConfiguration() /** * Formatting configuration for number fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-formatconfiguration.html#cfn-quicksight-dashboard-formatconfiguration-numberformatconfiguration) */ override fun numberFormatConfiguration(): Any? = unwrap(this).getNumberFormatConfiguration() /** * Formatting configuration for string fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-formatconfiguration.html#cfn-quicksight-dashboard-formatconfiguration-stringformatconfiguration) */ override fun stringFormatConfiguration(): Any? = unwrap(this).getStringFormatConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FormatConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FormatConfigurationProperty): FormatConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? FormatConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FormatConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FormatConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FormatConfigurationProperty } } /** * Configuration options for the canvas of a free-form layout. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FreeFormLayoutCanvasSizeOptionsProperty freeFormLayoutCanvasSizeOptionsProperty = * FreeFormLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutcanvassizeoptions.html) */ public interface FreeFormLayoutCanvasSizeOptionsProperty { /** * The options that determine the sizing of the canvas used in a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutcanvassizeoptions.html#cfn-quicksight-dashboard-freeformlayoutcanvassizeoptions-screencanvassizeoptions) */ public fun screenCanvasSizeOptions(): Any? = unwrap(this).getScreenCanvasSizeOptions() /** * A builder for [FreeFormLayoutCanvasSizeOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param screenCanvasSizeOptions The options that determine the sizing of the canvas used in * a free-form layout. */ public fun screenCanvasSizeOptions(screenCanvasSizeOptions: IResolvable) /** * @param screenCanvasSizeOptions The options that determine the sizing of the canvas used in * a free-form layout. */ public fun screenCanvasSizeOptions(screenCanvasSizeOptions: FreeFormLayoutScreenCanvasSizeOptionsProperty) /** * @param screenCanvasSizeOptions The options that determine the sizing of the canvas used in * a free-form layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ad1c394c310fa3bde4f58091c23695d3fb591f82efce5e49727fbdad10ce9044") public fun screenCanvasSizeOptions(screenCanvasSizeOptions: FreeFormLayoutScreenCanvasSizeOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutCanvasSizeOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutCanvasSizeOptionsProperty.builder() /** * @param screenCanvasSizeOptions The options that determine the sizing of the canvas used in * a free-form layout. */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: IResolvable) { cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param screenCanvasSizeOptions The options that determine the sizing of the canvas used in * a free-form layout. */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: FreeFormLayoutScreenCanvasSizeOptionsProperty) { cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(FreeFormLayoutScreenCanvasSizeOptionsProperty.Companion::unwrap)) } /** * @param screenCanvasSizeOptions The options that determine the sizing of the canvas used in * a free-form layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ad1c394c310fa3bde4f58091c23695d3fb591f82efce5e49727fbdad10ce9044") override fun screenCanvasSizeOptions(screenCanvasSizeOptions: FreeFormLayoutScreenCanvasSizeOptionsProperty.Builder.() -> Unit): Unit = screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty(screenCanvasSizeOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutCanvasSizeOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutCanvasSizeOptionsProperty, ) : CdkObject(cdkObject), FreeFormLayoutCanvasSizeOptionsProperty { /** * The options that determine the sizing of the canvas used in a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutcanvassizeoptions.html#cfn-quicksight-dashboard-freeformlayoutcanvassizeoptions-screencanvassizeoptions) */ override fun screenCanvasSizeOptions(): Any? = unwrap(this).getScreenCanvasSizeOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FreeFormLayoutCanvasSizeOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutCanvasSizeOptionsProperty): FreeFormLayoutCanvasSizeOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? FreeFormLayoutCanvasSizeOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FreeFormLayoutCanvasSizeOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutCanvasSizeOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutCanvasSizeOptionsProperty } } /** * The configuration of a free-form layout. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FreeFormLayoutConfigurationProperty freeFormLayoutConfigurationProperty = * FreeFormLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * // the properties below are optional * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutconfiguration.html) */ public interface FreeFormLayoutConfigurationProperty { /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutconfiguration.html#cfn-quicksight-dashboard-freeformlayoutconfiguration-canvassizeoptions) */ public fun canvasSizeOptions(): Any? = unwrap(this).getCanvasSizeOptions() /** * The elements that are included in a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutconfiguration.html#cfn-quicksight-dashboard-freeformlayoutconfiguration-elements) */ public fun elements(): Any /** * A builder for [FreeFormLayoutConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param canvasSizeOptions the value to be set. */ public fun canvasSizeOptions(canvasSizeOptions: IResolvable) /** * @param canvasSizeOptions the value to be set. */ public fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) /** * @param canvasSizeOptions the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ea414aa1ebdf643f5b2305c94ac14d902de1a82e2fc44a3ec7a5779f1c1b8147") public fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) /** * @param elements The elements that are included in a free-form layout. */ public fun elements(elements: IResolvable) /** * @param elements The elements that are included in a free-form layout. */ public fun elements(elements: List) /** * @param elements The elements that are included in a free-form layout. */ public fun elements(vararg elements: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutConfigurationProperty.builder() /** * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) { cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** * @param canvasSizeOptions the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ea414aa1ebdf643f5b2305c94ac14d902de1a82e2fc44a3ec7a5779f1c1b8147") override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): Unit = canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) /** * @param elements The elements that are included in a free-form layout. */ override fun elements(elements: IResolvable) { cdkBuilder.elements(elements.let(IResolvable.Companion::unwrap)) } /** * @param elements The elements that are included in a free-form layout. */ override fun elements(elements: List) { cdkBuilder.elements(elements.map{CdkObjectWrappers.unwrap(it)}) } /** * @param elements The elements that are included in a free-form layout. */ override fun elements(vararg elements: Any): Unit = elements(elements.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutConfigurationProperty, ) : CdkObject(cdkObject), FreeFormLayoutConfigurationProperty { /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutconfiguration.html#cfn-quicksight-dashboard-freeformlayoutconfiguration-canvassizeoptions) */ override fun canvasSizeOptions(): Any? = unwrap(this).getCanvasSizeOptions() /** * The elements that are included in a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutconfiguration.html#cfn-quicksight-dashboard-freeformlayoutconfiguration-elements) */ override fun elements(): Any = unwrap(this).getElements() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FreeFormLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutConfigurationProperty): FreeFormLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? FreeFormLayoutConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FreeFormLayoutConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutConfigurationProperty } } /** * The background style configuration of a free-form layout element. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FreeFormLayoutElementBackgroundStyleProperty freeFormLayoutElementBackgroundStyleProperty = * FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelementbackgroundstyle.html) */ public interface FreeFormLayoutElementBackgroundStyleProperty { /** * The background color of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelementbackgroundstyle.html#cfn-quicksight-dashboard-freeformlayoutelementbackgroundstyle-color) */ public fun color(): String? = unwrap(this).getColor() /** * The background visibility of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelementbackgroundstyle.html#cfn-quicksight-dashboard-freeformlayoutelementbackgroundstyle-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [FreeFormLayoutElementBackgroundStyleProperty] */ @CdkDslMarker public interface Builder { /** * @param color The background color of a free-form layout element. */ public fun color(color: String) /** * @param visibility The background visibility of a free-form layout element. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBackgroundStyleProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBackgroundStyleProperty.builder() /** * @param color The background color of a free-form layout element. */ override fun color(color: String) { cdkBuilder.color(color) } /** * @param visibility The background visibility of a free-form layout element. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBackgroundStyleProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBackgroundStyleProperty, ) : CdkObject(cdkObject), FreeFormLayoutElementBackgroundStyleProperty { /** * The background color of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelementbackgroundstyle.html#cfn-quicksight-dashboard-freeformlayoutelementbackgroundstyle-color) */ override fun color(): String? = unwrap(this).getColor() /** * The background visibility of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelementbackgroundstyle.html#cfn-quicksight-dashboard-freeformlayoutelementbackgroundstyle-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FreeFormLayoutElementBackgroundStyleProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBackgroundStyleProperty): FreeFormLayoutElementBackgroundStyleProperty = CdkObjectWrappers.wrap(cdkObject) as? FreeFormLayoutElementBackgroundStyleProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FreeFormLayoutElementBackgroundStyleProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBackgroundStyleProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBackgroundStyleProperty } } /** * The background style configuration of a free-form layout element. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FreeFormLayoutElementBorderStyleProperty freeFormLayoutElementBorderStyleProperty = * FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelementborderstyle.html) */ public interface FreeFormLayoutElementBorderStyleProperty { /** * The border color of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelementborderstyle.html#cfn-quicksight-dashboard-freeformlayoutelementborderstyle-color) */ public fun color(): String? = unwrap(this).getColor() /** * The border visibility of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelementborderstyle.html#cfn-quicksight-dashboard-freeformlayoutelementborderstyle-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [FreeFormLayoutElementBorderStyleProperty] */ @CdkDslMarker public interface Builder { /** * @param color The border color of a free-form layout element. */ public fun color(color: String) /** * @param visibility The border visibility of a free-form layout element. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBorderStyleProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBorderStyleProperty.builder() /** * @param color The border color of a free-form layout element. */ override fun color(color: String) { cdkBuilder.color(color) } /** * @param visibility The border visibility of a free-form layout element. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBorderStyleProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBorderStyleProperty, ) : CdkObject(cdkObject), FreeFormLayoutElementBorderStyleProperty { /** * The border color of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelementborderstyle.html#cfn-quicksight-dashboard-freeformlayoutelementborderstyle-color) */ override fun color(): String? = unwrap(this).getColor() /** * The border visibility of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelementborderstyle.html#cfn-quicksight-dashboard-freeformlayoutelementborderstyle-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FreeFormLayoutElementBorderStyleProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBorderStyleProperty): FreeFormLayoutElementBorderStyleProperty = CdkObjectWrappers.wrap(cdkObject) as? FreeFormLayoutElementBorderStyleProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FreeFormLayoutElementBorderStyleProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBorderStyleProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementBorderStyleProperty } } /** * An element within a free-form layout. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FreeFormLayoutElementProperty freeFormLayoutElementProperty = * FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html) */ public interface FreeFormLayoutElementProperty { /** * The background style configuration of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-backgroundstyle) */ public fun backgroundStyle(): Any? = unwrap(this).getBackgroundStyle() /** * The border style configuration of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-borderstyle) */ public fun borderStyle(): Any? = unwrap(this).getBorderStyle() /** * A unique identifier for an element within a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-elementid) */ public fun elementId(): String /** * The type of element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-elementtype) */ public fun elementType(): String /** * The height of an element within a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-height) */ public fun height(): String /** * The loading animation configuration of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-loadinganimation) */ public fun loadingAnimation(): Any? = unwrap(this).getLoadingAnimation() /** * The rendering rules that determine when an element should be displayed within a free-form * layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-renderingrules) */ public fun renderingRules(): Any? = unwrap(this).getRenderingRules() /** * The border style configuration of a free-form layout element. * * This border style is used when the element is selected. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-selectedborderstyle) */ public fun selectedBorderStyle(): Any? = unwrap(this).getSelectedBorderStyle() /** * The visibility of an element within a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * The width of an element within a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-width) */ public fun width(): String /** * The x-axis coordinate of the element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-xaxislocation) */ public fun xAxisLocation(): String /** * The y-axis coordinate of the element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-yaxislocation) */ public fun yAxisLocation(): String /** * A builder for [FreeFormLayoutElementProperty] */ @CdkDslMarker public interface Builder { /** * @param backgroundStyle The background style configuration of a free-form layout element. */ public fun backgroundStyle(backgroundStyle: IResolvable) /** * @param backgroundStyle The background style configuration of a free-form layout element. */ public fun backgroundStyle(backgroundStyle: FreeFormLayoutElementBackgroundStyleProperty) /** * @param backgroundStyle The background style configuration of a free-form layout element. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e488809b8c74f64f579e0cfccb74e02d410a1bb49d0421b277de82b5ad451a2e") public fun backgroundStyle(backgroundStyle: FreeFormLayoutElementBackgroundStyleProperty.Builder.() -> Unit) /** * @param borderStyle The border style configuration of a free-form layout element. */ public fun borderStyle(borderStyle: IResolvable) /** * @param borderStyle The border style configuration of a free-form layout element. */ public fun borderStyle(borderStyle: FreeFormLayoutElementBorderStyleProperty) /** * @param borderStyle The border style configuration of a free-form layout element. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("994370b90fe27d19158d438eaabda09d11aff2a3fbd8a35e01efaab6fbfb091b") public fun borderStyle(borderStyle: FreeFormLayoutElementBorderStyleProperty.Builder.() -> Unit) /** * @param elementId A unique identifier for an element within a free-form layout. */ public fun elementId(elementId: String) /** * @param elementType The type of element. */ public fun elementType(elementType: String) /** * @param height The height of an element within a free-form layout. */ public fun height(height: String) /** * @param loadingAnimation The loading animation configuration of a free-form layout element. */ public fun loadingAnimation(loadingAnimation: IResolvable) /** * @param loadingAnimation The loading animation configuration of a free-form layout element. */ public fun loadingAnimation(loadingAnimation: LoadingAnimationProperty) /** * @param loadingAnimation The loading animation configuration of a free-form layout element. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bbb2a04b77dc00a2751ab94122f57cabdc28eb21ee9121b53207915d6e4cbe64") public fun loadingAnimation(loadingAnimation: LoadingAnimationProperty.Builder.() -> Unit) /** * @param renderingRules The rendering rules that determine when an element should be * displayed within a free-form layout. */ public fun renderingRules(renderingRules: IResolvable) /** * @param renderingRules The rendering rules that determine when an element should be * displayed within a free-form layout. */ public fun renderingRules(renderingRules: List) /** * @param renderingRules The rendering rules that determine when an element should be * displayed within a free-form layout. */ public fun renderingRules(vararg renderingRules: Any) /** * @param selectedBorderStyle The border style configuration of a free-form layout element. * This border style is used when the element is selected. */ public fun selectedBorderStyle(selectedBorderStyle: IResolvable) /** * @param selectedBorderStyle The border style configuration of a free-form layout element. * This border style is used when the element is selected. */ public fun selectedBorderStyle(selectedBorderStyle: FreeFormLayoutElementBorderStyleProperty) /** * @param selectedBorderStyle The border style configuration of a free-form layout element. * This border style is used when the element is selected. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8393202ee862e4b55f2c858879c8e69e803aebd599a15cec4a6512695b8ec76e") public fun selectedBorderStyle(selectedBorderStyle: FreeFormLayoutElementBorderStyleProperty.Builder.() -> Unit) /** * @param visibility The visibility of an element within a free-form layout. */ public fun visibility(visibility: String) /** * @param width The width of an element within a free-form layout. */ public fun width(width: String) /** * @param xAxisLocation The x-axis coordinate of the element. */ public fun xAxisLocation(xAxisLocation: String) /** * @param yAxisLocation The y-axis coordinate of the element. */ public fun yAxisLocation(yAxisLocation: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementProperty.builder() /** * @param backgroundStyle The background style configuration of a free-form layout element. */ override fun backgroundStyle(backgroundStyle: IResolvable) { cdkBuilder.backgroundStyle(backgroundStyle.let(IResolvable.Companion::unwrap)) } /** * @param backgroundStyle The background style configuration of a free-form layout element. */ override fun backgroundStyle(backgroundStyle: FreeFormLayoutElementBackgroundStyleProperty) { cdkBuilder.backgroundStyle(backgroundStyle.let(FreeFormLayoutElementBackgroundStyleProperty.Companion::unwrap)) } /** * @param backgroundStyle The background style configuration of a free-form layout element. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e488809b8c74f64f579e0cfccb74e02d410a1bb49d0421b277de82b5ad451a2e") override fun backgroundStyle(backgroundStyle: FreeFormLayoutElementBackgroundStyleProperty.Builder.() -> Unit): Unit = backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty(backgroundStyle)) /** * @param borderStyle The border style configuration of a free-form layout element. */ override fun borderStyle(borderStyle: IResolvable) { cdkBuilder.borderStyle(borderStyle.let(IResolvable.Companion::unwrap)) } /** * @param borderStyle The border style configuration of a free-form layout element. */ override fun borderStyle(borderStyle: FreeFormLayoutElementBorderStyleProperty) { cdkBuilder.borderStyle(borderStyle.let(FreeFormLayoutElementBorderStyleProperty.Companion::unwrap)) } /** * @param borderStyle The border style configuration of a free-form layout element. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("994370b90fe27d19158d438eaabda09d11aff2a3fbd8a35e01efaab6fbfb091b") override fun borderStyle(borderStyle: FreeFormLayoutElementBorderStyleProperty.Builder.() -> Unit): Unit = borderStyle(FreeFormLayoutElementBorderStyleProperty(borderStyle)) /** * @param elementId A unique identifier for an element within a free-form layout. */ override fun elementId(elementId: String) { cdkBuilder.elementId(elementId) } /** * @param elementType The type of element. */ override fun elementType(elementType: String) { cdkBuilder.elementType(elementType) } /** * @param height The height of an element within a free-form layout. */ override fun height(height: String) { cdkBuilder.height(height) } /** * @param loadingAnimation The loading animation configuration of a free-form layout element. */ override fun loadingAnimation(loadingAnimation: IResolvable) { cdkBuilder.loadingAnimation(loadingAnimation.let(IResolvable.Companion::unwrap)) } /** * @param loadingAnimation The loading animation configuration of a free-form layout element. */ override fun loadingAnimation(loadingAnimation: LoadingAnimationProperty) { cdkBuilder.loadingAnimation(loadingAnimation.let(LoadingAnimationProperty.Companion::unwrap)) } /** * @param loadingAnimation The loading animation configuration of a free-form layout element. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bbb2a04b77dc00a2751ab94122f57cabdc28eb21ee9121b53207915d6e4cbe64") override fun loadingAnimation(loadingAnimation: LoadingAnimationProperty.Builder.() -> Unit): Unit = loadingAnimation(LoadingAnimationProperty(loadingAnimation)) /** * @param renderingRules The rendering rules that determine when an element should be * displayed within a free-form layout. */ override fun renderingRules(renderingRules: IResolvable) { cdkBuilder.renderingRules(renderingRules.let(IResolvable.Companion::unwrap)) } /** * @param renderingRules The rendering rules that determine when an element should be * displayed within a free-form layout. */ override fun renderingRules(renderingRules: List) { cdkBuilder.renderingRules(renderingRules.map{CdkObjectWrappers.unwrap(it)}) } /** * @param renderingRules The rendering rules that determine when an element should be * displayed within a free-form layout. */ override fun renderingRules(vararg renderingRules: Any): Unit = renderingRules(renderingRules.toList()) /** * @param selectedBorderStyle The border style configuration of a free-form layout element. * This border style is used when the element is selected. */ override fun selectedBorderStyle(selectedBorderStyle: IResolvable) { cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(IResolvable.Companion::unwrap)) } /** * @param selectedBorderStyle The border style configuration of a free-form layout element. * This border style is used when the element is selected. */ override fun selectedBorderStyle(selectedBorderStyle: FreeFormLayoutElementBorderStyleProperty) { cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(FreeFormLayoutElementBorderStyleProperty.Companion::unwrap)) } /** * @param selectedBorderStyle The border style configuration of a free-form layout element. * This border style is used when the element is selected. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8393202ee862e4b55f2c858879c8e69e803aebd599a15cec4a6512695b8ec76e") override fun selectedBorderStyle(selectedBorderStyle: FreeFormLayoutElementBorderStyleProperty.Builder.() -> Unit): Unit = selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty(selectedBorderStyle)) /** * @param visibility The visibility of an element within a free-form layout. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } /** * @param width The width of an element within a free-form layout. */ override fun width(width: String) { cdkBuilder.width(width) } /** * @param xAxisLocation The x-axis coordinate of the element. */ override fun xAxisLocation(xAxisLocation: String) { cdkBuilder.xAxisLocation(xAxisLocation) } /** * @param yAxisLocation The y-axis coordinate of the element. */ override fun yAxisLocation(yAxisLocation: String) { cdkBuilder.yAxisLocation(yAxisLocation) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementProperty, ) : CdkObject(cdkObject), FreeFormLayoutElementProperty { /** * The background style configuration of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-backgroundstyle) */ override fun backgroundStyle(): Any? = unwrap(this).getBackgroundStyle() /** * The border style configuration of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-borderstyle) */ override fun borderStyle(): Any? = unwrap(this).getBorderStyle() /** * A unique identifier for an element within a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-elementid) */ override fun elementId(): String = unwrap(this).getElementId() /** * The type of element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-elementtype) */ override fun elementType(): String = unwrap(this).getElementType() /** * The height of an element within a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-height) */ override fun height(): String = unwrap(this).getHeight() /** * The loading animation configuration of a free-form layout element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-loadinganimation) */ override fun loadingAnimation(): Any? = unwrap(this).getLoadingAnimation() /** * The rendering rules that determine when an element should be displayed within a free-form * layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-renderingrules) */ override fun renderingRules(): Any? = unwrap(this).getRenderingRules() /** * The border style configuration of a free-form layout element. * * This border style is used when the element is selected. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-selectedborderstyle) */ override fun selectedBorderStyle(): Any? = unwrap(this).getSelectedBorderStyle() /** * The visibility of an element within a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() /** * The width of an element within a free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-width) */ override fun width(): String = unwrap(this).getWidth() /** * The x-axis coordinate of the element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-xaxislocation) */ override fun xAxisLocation(): String = unwrap(this).getXAxisLocation() /** * The y-axis coordinate of the element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutelement.html#cfn-quicksight-dashboard-freeformlayoutelement-yaxislocation) */ override fun yAxisLocation(): String = unwrap(this).getYAxisLocation() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FreeFormLayoutElementProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementProperty): FreeFormLayoutElementProperty = CdkObjectWrappers.wrap(cdkObject) as? FreeFormLayoutElementProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FreeFormLayoutElementProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutElementProperty } } /** * The options that determine the sizing of the canvas used in a free-form layout. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FreeFormLayoutScreenCanvasSizeOptionsProperty freeFormLayoutScreenCanvasSizeOptionsProperty = * FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() * .optimizedViewPortWidth("optimizedViewPortWidth") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutscreencanvassizeoptions.html) */ public interface FreeFormLayoutScreenCanvasSizeOptionsProperty { /** * The width that the view port will be optimized for when the layout renders. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutscreencanvassizeoptions.html#cfn-quicksight-dashboard-freeformlayoutscreencanvassizeoptions-optimizedviewportwidth) */ public fun optimizedViewPortWidth(): String /** * A builder for [FreeFormLayoutScreenCanvasSizeOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param optimizedViewPortWidth The width that the view port will be optimized for when the * layout renders. */ public fun optimizedViewPortWidth(optimizedViewPortWidth: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutScreenCanvasSizeOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() /** * @param optimizedViewPortWidth The width that the view port will be optimized for when the * layout renders. */ override fun optimizedViewPortWidth(optimizedViewPortWidth: String) { cdkBuilder.optimizedViewPortWidth(optimizedViewPortWidth) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutScreenCanvasSizeOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutScreenCanvasSizeOptionsProperty, ) : CdkObject(cdkObject), FreeFormLayoutScreenCanvasSizeOptionsProperty { /** * The width that the view port will be optimized for when the layout renders. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformlayoutscreencanvassizeoptions.html#cfn-quicksight-dashboard-freeformlayoutscreencanvassizeoptions-optimizedviewportwidth) */ override fun optimizedViewPortWidth(): String = unwrap(this).getOptimizedViewPortWidth() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FreeFormLayoutScreenCanvasSizeOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutScreenCanvasSizeOptionsProperty): FreeFormLayoutScreenCanvasSizeOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? FreeFormLayoutScreenCanvasSizeOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FreeFormLayoutScreenCanvasSizeOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutScreenCanvasSizeOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormLayoutScreenCanvasSizeOptionsProperty } } /** * The free-form layout configuration of a section. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FreeFormSectionLayoutConfigurationProperty freeFormSectionLayoutConfigurationProperty = * FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformsectionlayoutconfiguration.html) */ public interface FreeFormSectionLayoutConfigurationProperty { /** * The elements that are included in the free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformsectionlayoutconfiguration.html#cfn-quicksight-dashboard-freeformsectionlayoutconfiguration-elements) */ public fun elements(): Any /** * A builder for [FreeFormSectionLayoutConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param elements The elements that are included in the free-form layout. */ public fun elements(elements: IResolvable) /** * @param elements The elements that are included in the free-form layout. */ public fun elements(elements: List) /** * @param elements The elements that are included in the free-form layout. */ public fun elements(vararg elements: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormSectionLayoutConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormSectionLayoutConfigurationProperty.builder() /** * @param elements The elements that are included in the free-form layout. */ override fun elements(elements: IResolvable) { cdkBuilder.elements(elements.let(IResolvable.Companion::unwrap)) } /** * @param elements The elements that are included in the free-form layout. */ override fun elements(elements: List) { cdkBuilder.elements(elements.map{CdkObjectWrappers.unwrap(it)}) } /** * @param elements The elements that are included in the free-form layout. */ override fun elements(vararg elements: Any): Unit = elements(elements.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormSectionLayoutConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormSectionLayoutConfigurationProperty, ) : CdkObject(cdkObject), FreeFormSectionLayoutConfigurationProperty { /** * The elements that are included in the free-form layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-freeformsectionlayoutconfiguration.html#cfn-quicksight-dashboard-freeformsectionlayoutconfiguration-elements) */ override fun elements(): Any = unwrap(this).getElements() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FreeFormSectionLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormSectionLayoutConfigurationProperty): FreeFormSectionLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? FreeFormSectionLayoutConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FreeFormSectionLayoutConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormSectionLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FreeFormSectionLayoutConfigurationProperty } } /** * The field well configuration of a `FunnelChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FunnelChartAggregatedFieldWellsProperty funnelChartAggregatedFieldWellsProperty = * FunnelChartAggregatedFieldWellsProperty.builder() * .category(List.of(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build())) * .values(List.of(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartaggregatedfieldwells.html) */ public interface FunnelChartAggregatedFieldWellsProperty { /** * The category field wells of a funnel chart. * * Values are grouped by category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartaggregatedfieldwells.html#cfn-quicksight-dashboard-funnelchartaggregatedfieldwells-category) */ public fun category(): Any? = unwrap(this).getCategory() /** * The value field wells of a funnel chart. * * Values are aggregated based on categories. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartaggregatedfieldwells.html#cfn-quicksight-dashboard-funnelchartaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [FunnelChartAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param category The category field wells of a funnel chart. * Values are grouped by category fields. */ public fun category(category: IResolvable) /** * @param category The category field wells of a funnel chart. * Values are grouped by category fields. */ public fun category(category: List) /** * @param category The category field wells of a funnel chart. * Values are grouped by category fields. */ public fun category(vararg category: Any) /** * @param values The value field wells of a funnel chart. * Values are aggregated based on categories. */ public fun values(values: IResolvable) /** * @param values The value field wells of a funnel chart. * Values are aggregated based on categories. */ public fun values(values: List) /** * @param values The value field wells of a funnel chart. * Values are aggregated based on categories. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartAggregatedFieldWellsProperty.builder() /** * @param category The category field wells of a funnel chart. * Values are grouped by category fields. */ override fun category(category: IResolvable) { cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field wells of a funnel chart. * Values are grouped by category fields. */ override fun category(category: List) { cdkBuilder.category(category.map{CdkObjectWrappers.unwrap(it)}) } /** * @param category The category field wells of a funnel chart. * Values are grouped by category fields. */ override fun category(vararg category: Any): Unit = category(category.toList()) /** * @param values The value field wells of a funnel chart. * Values are aggregated based on categories. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The value field wells of a funnel chart. * Values are aggregated based on categories. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The value field wells of a funnel chart. * Values are aggregated based on categories. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), FunnelChartAggregatedFieldWellsProperty { /** * The category field wells of a funnel chart. * * Values are grouped by category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartaggregatedfieldwells.html#cfn-quicksight-dashboard-funnelchartaggregatedfieldwells-category) */ override fun category(): Any? = unwrap(this).getCategory() /** * The value field wells of a funnel chart. * * Values are aggregated based on categories. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartaggregatedfieldwells.html#cfn-quicksight-dashboard-funnelchartaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FunnelChartAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartAggregatedFieldWellsProperty): FunnelChartAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? FunnelChartAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FunnelChartAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartAggregatedFieldWellsProperty } } /** * The configuration of a `FunnelChartVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html) */ public interface FunnelChartConfigurationProperty { /** * The label options of the categories that are displayed in a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-categorylabeloptions) */ public fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The options that determine the presentation of the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-datalabeloptions) */ public fun dataLabelOptions(): Any? = unwrap(this).getDataLabelOptions() /** * The field well configuration of a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The sort configuration of a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip configuration of a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-tooltip) */ public fun tooltip(): Any? = unwrap(this).getTooltip() /** * The label options for the values that are displayed in a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-valuelabeloptions) */ public fun valueLabelOptions(): Any? = unwrap(this).getValueLabelOptions() /** * The visual palette configuration of a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-visualpalette) */ public fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * A builder for [FunnelChartConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryLabelOptions The label options of the categories that are displayed in a * `FunnelChartVisual` . */ public fun categoryLabelOptions(categoryLabelOptions: IResolvable) /** * @param categoryLabelOptions The label options of the categories that are displayed in a * `FunnelChartVisual` . */ public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) /** * @param categoryLabelOptions The label options of the categories that are displayed in a * `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("97215625bde94872366775922c4dcffe611011108942757f973b05e07680e897") public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param dataLabelOptions The options that determine the presentation of the data labels. */ public fun dataLabelOptions(dataLabelOptions: IResolvable) /** * @param dataLabelOptions The options that determine the presentation of the data labels. */ public fun dataLabelOptions(dataLabelOptions: FunnelChartDataLabelOptionsProperty) /** * @param dataLabelOptions The options that determine the presentation of the data labels. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a15fa00440c6da9fb237c73e88c773e786d6bb8046404a3c329dd4af6f6541f6") public fun dataLabelOptions(dataLabelOptions: FunnelChartDataLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field well configuration of a `FunnelChartVisual` . */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field well configuration of a `FunnelChartVisual` . */ public fun fieldWells(fieldWells: FunnelChartFieldWellsProperty) /** * @param fieldWells The field well configuration of a `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9cce635d0cdfd210dc4bab90da1bd1194c382ddf958f06a49fc6a37ae28e1d0f") public fun fieldWells(fieldWells: FunnelChartFieldWellsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration of a `FunnelChartVisual` . */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a `FunnelChartVisual` . */ public fun sortConfiguration(sortConfiguration: FunnelChartSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("555deeb255a172d822c3c9b24d86976c994d11e6875df9eec76e7568b0c28ecc") public fun sortConfiguration(sortConfiguration: FunnelChartSortConfigurationProperty.Builder.() -> Unit) /** * @param tooltip The tooltip configuration of a `FunnelChartVisual` . */ public fun tooltip(tooltip: IResolvable) /** * @param tooltip The tooltip configuration of a `FunnelChartVisual` . */ public fun tooltip(tooltip: TooltipOptionsProperty) /** * @param tooltip The tooltip configuration of a `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("71fe5b8cd2d5ba154ed6404d71914cf5a9d3d16882c15e484a7ac93eef793d09") public fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit) /** * @param valueLabelOptions The label options for the values that are displayed in a * `FunnelChartVisual` . */ public fun valueLabelOptions(valueLabelOptions: IResolvable) /** * @param valueLabelOptions The label options for the values that are displayed in a * `FunnelChartVisual` . */ public fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) /** * @param valueLabelOptions The label options for the values that are displayed in a * `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a8224ff5c4e6a9781815216ddd32b047e48908b6a9d4cea188afb461872ac782") public fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param visualPalette The visual palette configuration of a `FunnelChartVisual` . */ public fun visualPalette(visualPalette: IResolvable) /** * @param visualPalette The visual palette configuration of a `FunnelChartVisual` . */ public fun visualPalette(visualPalette: VisualPaletteProperty) /** * @param visualPalette The visual palette configuration of a `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6daa1de008ec1c5cde018ec059ab4d991cd95bd1e05bd137464ac913b8454bd0") public fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartConfigurationProperty.builder() /** * @param categoryLabelOptions The label options of the categories that are displayed in a * `FunnelChartVisual` . */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param categoryLabelOptions The label options of the categories that are displayed in a * `FunnelChartVisual` . */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param categoryLabelOptions The label options of the categories that are displayed in a * `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("97215625bde94872366775922c4dcffe611011108942757f973b05e07680e897") override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = categoryLabelOptions(ChartAxisLabelOptionsProperty(categoryLabelOptions)) /** * @param dataLabelOptions The options that determine the presentation of the data labels. */ override fun dataLabelOptions(dataLabelOptions: IResolvable) { cdkBuilder.dataLabelOptions(dataLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param dataLabelOptions The options that determine the presentation of the data labels. */ override fun dataLabelOptions(dataLabelOptions: FunnelChartDataLabelOptionsProperty) { cdkBuilder.dataLabelOptions(dataLabelOptions.let(FunnelChartDataLabelOptionsProperty.Companion::unwrap)) } /** * @param dataLabelOptions The options that determine the presentation of the data labels. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a15fa00440c6da9fb237c73e88c773e786d6bb8046404a3c329dd4af6f6541f6") override fun dataLabelOptions(dataLabelOptions: FunnelChartDataLabelOptionsProperty.Builder.() -> Unit): Unit = dataLabelOptions(FunnelChartDataLabelOptionsProperty(dataLabelOptions)) /** * @param fieldWells The field well configuration of a `FunnelChartVisual` . */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `FunnelChartVisual` . */ override fun fieldWells(fieldWells: FunnelChartFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(FunnelChartFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9cce635d0cdfd210dc4bab90da1bd1194c382ddf958f06a49fc6a37ae28e1d0f") override fun fieldWells(fieldWells: FunnelChartFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(FunnelChartFieldWellsProperty(fieldWells)) /** * @param sortConfiguration The sort configuration of a `FunnelChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `FunnelChartVisual` . */ override fun sortConfiguration(sortConfiguration: FunnelChartSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(FunnelChartSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("555deeb255a172d822c3c9b24d86976c994d11e6875df9eec76e7568b0c28ecc") override fun sortConfiguration(sortConfiguration: FunnelChartSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(FunnelChartSortConfigurationProperty(sortConfiguration)) /** * @param tooltip The tooltip configuration of a `FunnelChartVisual` . */ override fun tooltip(tooltip: IResolvable) { cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a `FunnelChartVisual` . */ override fun tooltip(tooltip: TooltipOptionsProperty) { cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("71fe5b8cd2d5ba154ed6404d71914cf5a9d3d16882c15e484a7ac93eef793d09") override fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltip(TooltipOptionsProperty(tooltip)) /** * @param valueLabelOptions The label options for the values that are displayed in a * `FunnelChartVisual` . */ override fun valueLabelOptions(valueLabelOptions: IResolvable) { cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param valueLabelOptions The label options for the values that are displayed in a * `FunnelChartVisual` . */ override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param valueLabelOptions The label options for the values that are displayed in a * `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a8224ff5c4e6a9781815216ddd32b047e48908b6a9d4cea188afb461872ac782") override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = valueLabelOptions(ChartAxisLabelOptionsProperty(valueLabelOptions)) /** * @param visualPalette The visual palette configuration of a `FunnelChartVisual` . */ override fun visualPalette(visualPalette: IResolvable) { cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a `FunnelChartVisual` . */ override fun visualPalette(visualPalette: VisualPaletteProperty) { cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6daa1de008ec1c5cde018ec059ab4d991cd95bd1e05bd137464ac913b8454bd0") override fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit): Unit = visualPalette(VisualPaletteProperty(visualPalette)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartConfigurationProperty, ) : CdkObject(cdkObject), FunnelChartConfigurationProperty { /** * The label options of the categories that are displayed in a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-categorylabeloptions) */ override fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The options that determine the presentation of the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-datalabeloptions) */ override fun dataLabelOptions(): Any? = unwrap(this).getDataLabelOptions() /** * The field well configuration of a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The sort configuration of a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip configuration of a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-tooltip) */ override fun tooltip(): Any? = unwrap(this).getTooltip() /** * The label options for the values that are displayed in a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-valuelabeloptions) */ override fun valueLabelOptions(): Any? = unwrap(this).getValueLabelOptions() /** * The visual palette configuration of a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartconfiguration.html#cfn-quicksight-dashboard-funnelchartconfiguration-visualpalette) */ override fun visualPalette(): Any? = unwrap(this).getVisualPalette() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FunnelChartConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartConfigurationProperty): FunnelChartConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? FunnelChartConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FunnelChartConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartConfigurationProperty } } /** * The options that determine the presentation of the data labels. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FunnelChartDataLabelOptionsProperty funnelChartDataLabelOptionsProperty = * FunnelChartDataLabelOptionsProperty.builder() * .categoryLabelVisibility("categoryLabelVisibility") * .labelColor("labelColor") * .labelFontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .measureDataLabelStyle("measureDataLabelStyle") * .measureLabelVisibility("measureLabelVisibility") * .position("position") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html) */ public interface FunnelChartDataLabelOptionsProperty { /** * The visibility of the category labels within the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-categorylabelvisibility) */ public fun categoryLabelVisibility(): String? = unwrap(this).getCategoryLabelVisibility() /** * The color of the data label text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-labelcolor) */ public fun labelColor(): String? = unwrap(this).getLabelColor() /** * The font configuration for the data labels. * * Only the `FontSize` attribute of the font configuration is used for data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-labelfontconfiguration) */ public fun labelFontConfiguration(): Any? = unwrap(this).getLabelFontConfiguration() /** * Determines the style of the metric labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-measuredatalabelstyle) */ public fun measureDataLabelStyle(): String? = unwrap(this).getMeasureDataLabelStyle() /** * The visibility of the measure labels within the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-measurelabelvisibility) */ public fun measureLabelVisibility(): String? = unwrap(this).getMeasureLabelVisibility() /** * Determines the positioning of the data label relative to a section of the funnel. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-position) */ public fun position(): String? = unwrap(this).getPosition() /** * The visibility option that determines if data labels are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [FunnelChartDataLabelOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryLabelVisibility The visibility of the category labels within the data * labels. */ public fun categoryLabelVisibility(categoryLabelVisibility: String) /** * @param labelColor The color of the data label text. */ public fun labelColor(labelColor: String) /** * @param labelFontConfiguration The font configuration for the data labels. * Only the `FontSize` attribute of the font configuration is used for data labels. */ public fun labelFontConfiguration(labelFontConfiguration: IResolvable) /** * @param labelFontConfiguration The font configuration for the data labels. * Only the `FontSize` attribute of the font configuration is used for data labels. */ public fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty) /** * @param labelFontConfiguration The font configuration for the data labels. * Only the `FontSize` attribute of the font configuration is used for data labels. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d3eadc1994ab0609c0fbeb6c382e713f1a9d6ff172fe2137b03859e646fe2277") public fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty.Builder.() -> Unit) /** * @param measureDataLabelStyle Determines the style of the metric labels. */ public fun measureDataLabelStyle(measureDataLabelStyle: String) /** * @param measureLabelVisibility The visibility of the measure labels within the data labels. */ public fun measureLabelVisibility(measureLabelVisibility: String) /** * @param position Determines the positioning of the data label relative to a section of the * funnel. */ public fun position(position: String) /** * @param visibility The visibility option that determines if data labels are displayed. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartDataLabelOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartDataLabelOptionsProperty.builder() /** * @param categoryLabelVisibility The visibility of the category labels within the data * labels. */ override fun categoryLabelVisibility(categoryLabelVisibility: String) { cdkBuilder.categoryLabelVisibility(categoryLabelVisibility) } /** * @param labelColor The color of the data label text. */ override fun labelColor(labelColor: String) { cdkBuilder.labelColor(labelColor) } /** * @param labelFontConfiguration The font configuration for the data labels. * Only the `FontSize` attribute of the font configuration is used for data labels. */ override fun labelFontConfiguration(labelFontConfiguration: IResolvable) { cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param labelFontConfiguration The font configuration for the data labels. * Only the `FontSize` attribute of the font configuration is used for data labels. */ override fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty) { cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** * @param labelFontConfiguration The font configuration for the data labels. * Only the `FontSize` attribute of the font configuration is used for data labels. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d3eadc1994ab0609c0fbeb6c382e713f1a9d6ff172fe2137b03859e646fe2277") override fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty.Builder.() -> Unit): Unit = labelFontConfiguration(FontConfigurationProperty(labelFontConfiguration)) /** * @param measureDataLabelStyle Determines the style of the metric labels. */ override fun measureDataLabelStyle(measureDataLabelStyle: String) { cdkBuilder.measureDataLabelStyle(measureDataLabelStyle) } /** * @param measureLabelVisibility The visibility of the measure labels within the data labels. */ override fun measureLabelVisibility(measureLabelVisibility: String) { cdkBuilder.measureLabelVisibility(measureLabelVisibility) } /** * @param position Determines the positioning of the data label relative to a section of the * funnel. */ override fun position(position: String) { cdkBuilder.position(position) } /** * @param visibility The visibility option that determines if data labels are displayed. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartDataLabelOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartDataLabelOptionsProperty, ) : CdkObject(cdkObject), FunnelChartDataLabelOptionsProperty { /** * The visibility of the category labels within the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-categorylabelvisibility) */ override fun categoryLabelVisibility(): String? = unwrap(this).getCategoryLabelVisibility() /** * The color of the data label text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-labelcolor) */ override fun labelColor(): String? = unwrap(this).getLabelColor() /** * The font configuration for the data labels. * * Only the `FontSize` attribute of the font configuration is used for data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-labelfontconfiguration) */ override fun labelFontConfiguration(): Any? = unwrap(this).getLabelFontConfiguration() /** * Determines the style of the metric labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-measuredatalabelstyle) */ override fun measureDataLabelStyle(): String? = unwrap(this).getMeasureDataLabelStyle() /** * The visibility of the measure labels within the data labels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-measurelabelvisibility) */ override fun measureLabelVisibility(): String? = unwrap(this).getMeasureLabelVisibility() /** * Determines the positioning of the data label relative to a section of the funnel. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-position) */ override fun position(): String? = unwrap(this).getPosition() /** * The visibility option that determines if data labels are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartdatalabeloptions.html#cfn-quicksight-dashboard-funnelchartdatalabeloptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FunnelChartDataLabelOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartDataLabelOptionsProperty): FunnelChartDataLabelOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? FunnelChartDataLabelOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FunnelChartDataLabelOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartDataLabelOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartDataLabelOptionsProperty } } /** * The field well configuration of a `FunnelChartVisual` . * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FunnelChartFieldWellsProperty funnelChartFieldWellsProperty = * FunnelChartFieldWellsProperty.builder() * .funnelChartAggregatedFieldWells(FunnelChartAggregatedFieldWellsProperty.builder() * .category(List.of(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build())) * .values(List.of(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build())) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartfieldwells.html) */ public interface FunnelChartFieldWellsProperty { /** * The field well configuration of a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartfieldwells.html#cfn-quicksight-dashboard-funnelchartfieldwells-funnelchartaggregatedfieldwells) */ public fun funnelChartAggregatedFieldWells(): Any? = unwrap(this).getFunnelChartAggregatedFieldWells() /** * A builder for [FunnelChartFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param funnelChartAggregatedFieldWells The field well configuration of a * `FunnelChartVisual` . */ public fun funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells: IResolvable) /** * @param funnelChartAggregatedFieldWells The field well configuration of a * `FunnelChartVisual` . */ public fun funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells: FunnelChartAggregatedFieldWellsProperty) /** * @param funnelChartAggregatedFieldWells The field well configuration of a * `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("24940737682fd5cb119663b4223bcc5999b984fb61750b705fb7aeb1715dd49c") public fun funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells: FunnelChartAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartFieldWellsProperty.builder() /** * @param funnelChartAggregatedFieldWells The field well configuration of a * `FunnelChartVisual` . */ override fun funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells: IResolvable) { cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param funnelChartAggregatedFieldWells The field well configuration of a * `FunnelChartVisual` . */ override fun funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells: FunnelChartAggregatedFieldWellsProperty) { cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(FunnelChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param funnelChartAggregatedFieldWells The field well configuration of a * `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("24940737682fd5cb119663b4223bcc5999b984fb61750b705fb7aeb1715dd49c") override fun funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells: FunnelChartAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = funnelChartAggregatedFieldWells(FunnelChartAggregatedFieldWellsProperty(funnelChartAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartFieldWellsProperty, ) : CdkObject(cdkObject), FunnelChartFieldWellsProperty { /** * The field well configuration of a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartfieldwells.html#cfn-quicksight-dashboard-funnelchartfieldwells-funnelchartaggregatedfieldwells) */ override fun funnelChartAggregatedFieldWells(): Any? = unwrap(this).getFunnelChartAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FunnelChartFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartFieldWellsProperty): FunnelChartFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? FunnelChartFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FunnelChartFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartFieldWellsProperty } } /** * The sort configuration of a `FunnelChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FunnelChartSortConfigurationProperty funnelChartSortConfigurationProperty = * FunnelChartSortConfigurationProperty.builder() * .categoryItemsLimit(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .categorySort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartsortconfiguration.html) */ public interface FunnelChartSortConfigurationProperty { /** * The limit on the number of categories displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartsortconfiguration.html#cfn-quicksight-dashboard-funnelchartsortconfiguration-categoryitemslimit) */ public fun categoryItemsLimit(): Any? = unwrap(this).getCategoryItemsLimit() /** * The sort configuration of the category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartsortconfiguration.html#cfn-quicksight-dashboard-funnelchartsortconfiguration-categorysort) */ public fun categorySort(): Any? = unwrap(this).getCategorySort() /** * A builder for [FunnelChartSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryItemsLimit The limit on the number of categories displayed. */ public fun categoryItemsLimit(categoryItemsLimit: IResolvable) /** * @param categoryItemsLimit The limit on the number of categories displayed. */ public fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) /** * @param categoryItemsLimit The limit on the number of categories displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5a5cad86dd07e5b65e45948539283d503cfad8eb1afcd66d71cdae7ce81da726") public fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param categorySort The sort configuration of the category fields. */ public fun categorySort(categorySort: IResolvable) /** * @param categorySort The sort configuration of the category fields. */ public fun categorySort(categorySort: List) /** * @param categorySort The sort configuration of the category fields. */ public fun categorySort(vararg categorySort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartSortConfigurationProperty.builder() /** * @param categoryItemsLimit The limit on the number of categories displayed. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of categories displayed. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of categories displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5a5cad86dd07e5b65e45948539283d503cfad8eb1afcd66d71cdae7ce81da726") override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = categoryItemsLimit(ItemsLimitConfigurationProperty(categoryItemsLimit)) /** * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: List) { cdkBuilder.categorySort(categorySort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param categorySort The sort configuration of the category fields. */ override fun categorySort(vararg categorySort: Any): Unit = categorySort(categorySort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartSortConfigurationProperty, ) : CdkObject(cdkObject), FunnelChartSortConfigurationProperty { /** * The limit on the number of categories displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartsortconfiguration.html#cfn-quicksight-dashboard-funnelchartsortconfiguration-categoryitemslimit) */ override fun categoryItemsLimit(): Any? = unwrap(this).getCategoryItemsLimit() /** * The sort configuration of the category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartsortconfiguration.html#cfn-quicksight-dashboard-funnelchartsortconfiguration-categorysort) */ override fun categorySort(): Any? = unwrap(this).getCategorySort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FunnelChartSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartSortConfigurationProperty): FunnelChartSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? FunnelChartSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FunnelChartSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartSortConfigurationProperty } } /** * A funnel chart. * * For more information, see [Using funnel * charts](https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) in the * *Amazon QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html) */ public interface FunnelChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html#cfn-quicksight-dashboard-funnelchartvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html#cfn-quicksight-dashboard-funnelchartvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html#cfn-quicksight-dashboard-funnelchartvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html#cfn-quicksight-dashboard-funnelchartvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html#cfn-quicksight-dashboard-funnelchartvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html#cfn-quicksight-dashboard-funnelchartvisual-visualid) */ public fun visualId(): String /** * A builder for [FunnelChartVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration of a `FunnelChartVisual` . */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration of a `FunnelChartVisual` . */ public fun chartConfiguration(chartConfiguration: FunnelChartConfigurationProperty) /** * @param chartConfiguration The configuration of a `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("01a6cd821daeb535efe35d6352f7be3ec810fa6b71e9251d60497997cdc10a1c") public fun chartConfiguration(chartConfiguration: FunnelChartConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d7dd74ea0e0d05e4d03d7231bbe2b0885950135e9ab66f2bacc4854ec0765945") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("32518baeface57464a1c678444cc0eebd94ecbbd487a72225a08b3c8b6fd74dc") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration of a `FunnelChartVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `FunnelChartVisual` . */ override fun chartConfiguration(chartConfiguration: FunnelChartConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(FunnelChartConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `FunnelChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("01a6cd821daeb535efe35d6352f7be3ec810fa6b71e9251d60497997cdc10a1c") override fun chartConfiguration(chartConfiguration: FunnelChartConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(FunnelChartConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d7dd74ea0e0d05e4d03d7231bbe2b0885950135e9ab66f2bacc4854ec0765945") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("32518baeface57464a1c678444cc0eebd94ecbbd487a72225a08b3c8b6fd74dc") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartVisualProperty, ) : CdkObject(cdkObject), FunnelChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html#cfn-quicksight-dashboard-funnelchartvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a `FunnelChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html#cfn-quicksight-dashboard-funnelchartvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html#cfn-quicksight-dashboard-funnelchartvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html#cfn-quicksight-dashboard-funnelchartvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html#cfn-quicksight-dashboard-funnelchartvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-funnelchartvisual.html#cfn-quicksight-dashboard-funnelchartvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): FunnelChartVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartVisualProperty): FunnelChartVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? FunnelChartVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: FunnelChartVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartVisualProperty } } /** * The options that determine the presentation of the arc of a `GaugeChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GaugeChartArcConditionalFormattingProperty gaugeChartArcConditionalFormattingProperty = * GaugeChartArcConditionalFormattingProperty.builder() * .foregroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartarcconditionalformatting.html) */ public interface GaugeChartArcConditionalFormattingProperty { /** * The conditional formatting of the arc foreground color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartarcconditionalformatting.html#cfn-quicksight-dashboard-gaugechartarcconditionalformatting-foregroundcolor) */ public fun foregroundColor(): Any? = unwrap(this).getForegroundColor() /** * A builder for [GaugeChartArcConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param foregroundColor The conditional formatting of the arc foreground color. */ public fun foregroundColor(foregroundColor: IResolvable) /** * @param foregroundColor The conditional formatting of the arc foreground color. */ public fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty) /** * @param foregroundColor The conditional formatting of the arc foreground color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a0173dc71d8582cf7a4bf6cd2637021270454e21f736f771dc7b74df2c525cc8") public fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartArcConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartArcConditionalFormattingProperty.builder() /** * @param foregroundColor The conditional formatting of the arc foreground color. */ override fun foregroundColor(foregroundColor: IResolvable) { cdkBuilder.foregroundColor(foregroundColor.let(IResolvable.Companion::unwrap)) } /** * @param foregroundColor The conditional formatting of the arc foreground color. */ override fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty) { cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** * @param foregroundColor The conditional formatting of the arc foreground color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a0173dc71d8582cf7a4bf6cd2637021270454e21f736f771dc7b74df2c525cc8") override fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty.Builder.() -> Unit): Unit = foregroundColor(ConditionalFormattingColorProperty(foregroundColor)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartArcConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartArcConditionalFormattingProperty, ) : CdkObject(cdkObject), GaugeChartArcConditionalFormattingProperty { /** * The conditional formatting of the arc foreground color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartarcconditionalformatting.html#cfn-quicksight-dashboard-gaugechartarcconditionalformatting-foregroundcolor) */ override fun foregroundColor(): Any? = unwrap(this).getForegroundColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GaugeChartArcConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartArcConditionalFormattingProperty): GaugeChartArcConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? GaugeChartArcConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GaugeChartArcConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartArcConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartArcConditionalFormattingProperty } } /** * Conditional formatting options of a `GaugeChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GaugeChartConditionalFormattingOptionProperty gaugeChartConditionalFormattingOptionProperty = * GaugeChartConditionalFormattingOptionProperty.builder() * .arc(GaugeChartArcConditionalFormattingProperty.builder() * .foregroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .primaryValue(GaugeChartPrimaryValueConditionalFormattingProperty.builder() * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconditionalformattingoption.html) */ public interface GaugeChartConditionalFormattingOptionProperty { /** * The options that determine the presentation of the arc of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconditionalformattingoption.html#cfn-quicksight-dashboard-gaugechartconditionalformattingoption-arc) */ public fun arc(): Any? = unwrap(this).getArc() /** * The conditional formatting for the primary value of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconditionalformattingoption.html#cfn-quicksight-dashboard-gaugechartconditionalformattingoption-primaryvalue) */ public fun primaryValue(): Any? = unwrap(this).getPrimaryValue() /** * A builder for [GaugeChartConditionalFormattingOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param arc The options that determine the presentation of the arc of a `GaugeChartVisual` . */ public fun arc(arc: IResolvable) /** * @param arc The options that determine the presentation of the arc of a `GaugeChartVisual` . */ public fun arc(arc: GaugeChartArcConditionalFormattingProperty) /** * @param arc The options that determine the presentation of the arc of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b5c7ce4d94e6729a99f9d2c3dc1225764f5150ba97025370bfd5765ee6a6e327") public fun arc(arc: GaugeChartArcConditionalFormattingProperty.Builder.() -> Unit) /** * @param primaryValue The conditional formatting for the primary value of a * `GaugeChartVisual` . */ public fun primaryValue(primaryValue: IResolvable) /** * @param primaryValue The conditional formatting for the primary value of a * `GaugeChartVisual` . */ public fun primaryValue(primaryValue: GaugeChartPrimaryValueConditionalFormattingProperty) /** * @param primaryValue The conditional formatting for the primary value of a * `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1766548038cc7648c971a25ffaf9d4b98c02815746f946f45500c72f0a1bdd4c") public fun primaryValue(primaryValue: GaugeChartPrimaryValueConditionalFormattingProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingOptionProperty.builder() /** * @param arc The options that determine the presentation of the arc of a `GaugeChartVisual` . */ override fun arc(arc: IResolvable) { cdkBuilder.arc(arc.let(IResolvable.Companion::unwrap)) } /** * @param arc The options that determine the presentation of the arc of a `GaugeChartVisual` . */ override fun arc(arc: GaugeChartArcConditionalFormattingProperty) { cdkBuilder.arc(arc.let(GaugeChartArcConditionalFormattingProperty.Companion::unwrap)) } /** * @param arc The options that determine the presentation of the arc of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b5c7ce4d94e6729a99f9d2c3dc1225764f5150ba97025370bfd5765ee6a6e327") override fun arc(arc: GaugeChartArcConditionalFormattingProperty.Builder.() -> Unit): Unit = arc(GaugeChartArcConditionalFormattingProperty(arc)) /** * @param primaryValue The conditional formatting for the primary value of a * `GaugeChartVisual` . */ override fun primaryValue(primaryValue: IResolvable) { cdkBuilder.primaryValue(primaryValue.let(IResolvable.Companion::unwrap)) } /** * @param primaryValue The conditional formatting for the primary value of a * `GaugeChartVisual` . */ override fun primaryValue(primaryValue: GaugeChartPrimaryValueConditionalFormattingProperty) { cdkBuilder.primaryValue(primaryValue.let(GaugeChartPrimaryValueConditionalFormattingProperty.Companion::unwrap)) } /** * @param primaryValue The conditional formatting for the primary value of a * `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1766548038cc7648c971a25ffaf9d4b98c02815746f946f45500c72f0a1bdd4c") override fun primaryValue(primaryValue: GaugeChartPrimaryValueConditionalFormattingProperty.Builder.() -> Unit): Unit = primaryValue(GaugeChartPrimaryValueConditionalFormattingProperty(primaryValue)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingOptionProperty, ) : CdkObject(cdkObject), GaugeChartConditionalFormattingOptionProperty { /** * The options that determine the presentation of the arc of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconditionalformattingoption.html#cfn-quicksight-dashboard-gaugechartconditionalformattingoption-arc) */ override fun arc(): Any? = unwrap(this).getArc() /** * The conditional formatting for the primary value of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconditionalformattingoption.html#cfn-quicksight-dashboard-gaugechartconditionalformattingoption-primaryvalue) */ override fun primaryValue(): Any? = unwrap(this).getPrimaryValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GaugeChartConditionalFormattingOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingOptionProperty): GaugeChartConditionalFormattingOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? GaugeChartConditionalFormattingOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GaugeChartConditionalFormattingOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingOptionProperty } } /** * The conditional formatting of a `GaugeChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GaugeChartConditionalFormattingProperty gaugeChartConditionalFormattingProperty = * GaugeChartConditionalFormattingProperty.builder() * .conditionalFormattingOptions(List.of(GaugeChartConditionalFormattingOptionProperty.builder() * .arc(GaugeChartArcConditionalFormattingProperty.builder() * .foregroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .primaryValue(GaugeChartPrimaryValueConditionalFormattingProperty.builder() * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconditionalformatting.html) */ public interface GaugeChartConditionalFormattingProperty { /** * Conditional formatting options of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconditionalformatting.html#cfn-quicksight-dashboard-gaugechartconditionalformatting-conditionalformattingoptions) */ public fun conditionalFormattingOptions(): Any? = unwrap(this).getConditionalFormattingOptions() /** * A builder for [GaugeChartConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param conditionalFormattingOptions Conditional formatting options of a `GaugeChartVisual` * . */ public fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) /** * @param conditionalFormattingOptions Conditional formatting options of a `GaugeChartVisual` * . */ public fun conditionalFormattingOptions(conditionalFormattingOptions: List) /** * @param conditionalFormattingOptions Conditional formatting options of a `GaugeChartVisual` * . */ public fun conditionalFormattingOptions(vararg conditionalFormattingOptions: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingProperty.builder() /** * @param conditionalFormattingOptions Conditional formatting options of a `GaugeChartVisual` * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormattingOptions Conditional formatting options of a `GaugeChartVisual` * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: List) { cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param conditionalFormattingOptions Conditional formatting options of a `GaugeChartVisual` * . */ override fun conditionalFormattingOptions(vararg conditionalFormattingOptions: Any): Unit = conditionalFormattingOptions(conditionalFormattingOptions.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingProperty, ) : CdkObject(cdkObject), GaugeChartConditionalFormattingProperty { /** * Conditional formatting options of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconditionalformatting.html#cfn-quicksight-dashboard-gaugechartconditionalformatting-conditionalformattingoptions) */ override fun conditionalFormattingOptions(): Any? = unwrap(this).getConditionalFormattingOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GaugeChartConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingProperty): GaugeChartConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? GaugeChartConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GaugeChartConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingProperty } } /** * The configuration of a `GaugeChartVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconfiguration.html) */ public interface GaugeChartConfigurationProperty { /** * The data label configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconfiguration.html#cfn-quicksight-dashboard-gaugechartconfiguration-datalabels) */ public fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field well configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconfiguration.html#cfn-quicksight-dashboard-gaugechartconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The options that determine the presentation of the `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconfiguration.html#cfn-quicksight-dashboard-gaugechartconfiguration-gaugechartoptions) */ public fun gaugeChartOptions(): Any? = unwrap(this).getGaugeChartOptions() /** * The tooltip configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconfiguration.html#cfn-quicksight-dashboard-gaugechartconfiguration-tooltipoptions) */ public fun tooltipOptions(): Any? = unwrap(this).getTooltipOptions() /** * The visual palette configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconfiguration.html#cfn-quicksight-dashboard-gaugechartconfiguration-visualpalette) */ public fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * A builder for [GaugeChartConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param dataLabels The data label configuration of a `GaugeChartVisual` . */ public fun dataLabels(dataLabels: IResolvable) /** * @param dataLabels The data label configuration of a `GaugeChartVisual` . */ public fun dataLabels(dataLabels: DataLabelOptionsProperty) /** * @param dataLabels The data label configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ef1c298995bda893f3c8f56c734e7551aab034d8e51ff06f6e21f6d81ca267f0") public fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field well configuration of a `GaugeChartVisual` . */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field well configuration of a `GaugeChartVisual` . */ public fun fieldWells(fieldWells: GaugeChartFieldWellsProperty) /** * @param fieldWells The field well configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d73cdf4fc1698c5d8c36c7e0c900e442063a24287d6eb2b863df3e4da9a1d55f") public fun fieldWells(fieldWells: GaugeChartFieldWellsProperty.Builder.() -> Unit) /** * @param gaugeChartOptions The options that determine the presentation of the * `GaugeChartVisual` . */ public fun gaugeChartOptions(gaugeChartOptions: IResolvable) /** * @param gaugeChartOptions The options that determine the presentation of the * `GaugeChartVisual` . */ public fun gaugeChartOptions(gaugeChartOptions: GaugeChartOptionsProperty) /** * @param gaugeChartOptions The options that determine the presentation of the * `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33dfe2aa28d7d953dc883d703a1247836331d9d651d3f27090010748f03c3716") public fun gaugeChartOptions(gaugeChartOptions: GaugeChartOptionsProperty.Builder.() -> Unit) /** * @param tooltipOptions The tooltip configuration of a `GaugeChartVisual` . */ public fun tooltipOptions(tooltipOptions: IResolvable) /** * @param tooltipOptions The tooltip configuration of a `GaugeChartVisual` . */ public fun tooltipOptions(tooltipOptions: TooltipOptionsProperty) /** * @param tooltipOptions The tooltip configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("05e05dffbdb462e231016e876c4d475cb63b7f980fd16e1a6640bd365e6cc175") public fun tooltipOptions(tooltipOptions: TooltipOptionsProperty.Builder.() -> Unit) /** * @param visualPalette The visual palette configuration of a `GaugeChartVisual` . */ public fun visualPalette(visualPalette: IResolvable) /** * @param visualPalette The visual palette configuration of a `GaugeChartVisual` . */ public fun visualPalette(visualPalette: VisualPaletteProperty) /** * @param visualPalette The visual palette configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("db42b003ad232d3a3b3caefc4d6d88a7965fa7d9a57e73576e157a0170f3db90") public fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConfigurationProperty.builder() /** * @param dataLabels The data label configuration of a `GaugeChartVisual` . */ override fun dataLabels(dataLabels: IResolvable) { cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a `GaugeChartVisual` . */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ef1c298995bda893f3c8f56c734e7551aab034d8e51ff06f6e21f6d81ca267f0") override fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit): Unit = dataLabels(DataLabelOptionsProperty(dataLabels)) /** * @param fieldWells The field well configuration of a `GaugeChartVisual` . */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `GaugeChartVisual` . */ override fun fieldWells(fieldWells: GaugeChartFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(GaugeChartFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d73cdf4fc1698c5d8c36c7e0c900e442063a24287d6eb2b863df3e4da9a1d55f") override fun fieldWells(fieldWells: GaugeChartFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(GaugeChartFieldWellsProperty(fieldWells)) /** * @param gaugeChartOptions The options that determine the presentation of the * `GaugeChartVisual` . */ override fun gaugeChartOptions(gaugeChartOptions: IResolvable) { cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(IResolvable.Companion::unwrap)) } /** * @param gaugeChartOptions The options that determine the presentation of the * `GaugeChartVisual` . */ override fun gaugeChartOptions(gaugeChartOptions: GaugeChartOptionsProperty) { cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(GaugeChartOptionsProperty.Companion::unwrap)) } /** * @param gaugeChartOptions The options that determine the presentation of the * `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33dfe2aa28d7d953dc883d703a1247836331d9d651d3f27090010748f03c3716") override fun gaugeChartOptions(gaugeChartOptions: GaugeChartOptionsProperty.Builder.() -> Unit): Unit = gaugeChartOptions(GaugeChartOptionsProperty(gaugeChartOptions)) /** * @param tooltipOptions The tooltip configuration of a `GaugeChartVisual` . */ override fun tooltipOptions(tooltipOptions: IResolvable) { cdkBuilder.tooltipOptions(tooltipOptions.let(IResolvable.Companion::unwrap)) } /** * @param tooltipOptions The tooltip configuration of a `GaugeChartVisual` . */ override fun tooltipOptions(tooltipOptions: TooltipOptionsProperty) { cdkBuilder.tooltipOptions(tooltipOptions.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltipOptions The tooltip configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("05e05dffbdb462e231016e876c4d475cb63b7f980fd16e1a6640bd365e6cc175") override fun tooltipOptions(tooltipOptions: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltipOptions(TooltipOptionsProperty(tooltipOptions)) /** * @param visualPalette The visual palette configuration of a `GaugeChartVisual` . */ override fun visualPalette(visualPalette: IResolvable) { cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a `GaugeChartVisual` . */ override fun visualPalette(visualPalette: VisualPaletteProperty) { cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("db42b003ad232d3a3b3caefc4d6d88a7965fa7d9a57e73576e157a0170f3db90") override fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit): Unit = visualPalette(VisualPaletteProperty(visualPalette)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConfigurationProperty, ) : CdkObject(cdkObject), GaugeChartConfigurationProperty { /** * The data label configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconfiguration.html#cfn-quicksight-dashboard-gaugechartconfiguration-datalabels) */ override fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field well configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconfiguration.html#cfn-quicksight-dashboard-gaugechartconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The options that determine the presentation of the `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconfiguration.html#cfn-quicksight-dashboard-gaugechartconfiguration-gaugechartoptions) */ override fun gaugeChartOptions(): Any? = unwrap(this).getGaugeChartOptions() /** * The tooltip configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconfiguration.html#cfn-quicksight-dashboard-gaugechartconfiguration-tooltipoptions) */ override fun tooltipOptions(): Any? = unwrap(this).getTooltipOptions() /** * The visual palette configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartconfiguration.html#cfn-quicksight-dashboard-gaugechartconfiguration-visualpalette) */ override fun visualPalette(): Any? = unwrap(this).getVisualPalette() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GaugeChartConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConfigurationProperty): GaugeChartConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? GaugeChartConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GaugeChartConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConfigurationProperty } } /** * The field well configuration of a `GaugeChartVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartfieldwells.html) */ public interface GaugeChartFieldWellsProperty { /** * The target value field wells of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartfieldwells.html#cfn-quicksight-dashboard-gaugechartfieldwells-targetvalues) */ public fun targetValues(): Any? = unwrap(this).getTargetValues() /** * The value field wells of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartfieldwells.html#cfn-quicksight-dashboard-gaugechartfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [GaugeChartFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param targetValues The target value field wells of a `GaugeChartVisual` . */ public fun targetValues(targetValues: IResolvable) /** * @param targetValues The target value field wells of a `GaugeChartVisual` . */ public fun targetValues(targetValues: List) /** * @param targetValues The target value field wells of a `GaugeChartVisual` . */ public fun targetValues(vararg targetValues: Any) /** * @param values The value field wells of a `GaugeChartVisual` . */ public fun values(values: IResolvable) /** * @param values The value field wells of a `GaugeChartVisual` . */ public fun values(values: List) /** * @param values The value field wells of a `GaugeChartVisual` . */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartFieldWellsProperty.builder() /** * @param targetValues The target value field wells of a `GaugeChartVisual` . */ override fun targetValues(targetValues: IResolvable) { cdkBuilder.targetValues(targetValues.let(IResolvable.Companion::unwrap)) } /** * @param targetValues The target value field wells of a `GaugeChartVisual` . */ override fun targetValues(targetValues: List) { cdkBuilder.targetValues(targetValues.map{CdkObjectWrappers.unwrap(it)}) } /** * @param targetValues The target value field wells of a `GaugeChartVisual` . */ override fun targetValues(vararg targetValues: Any): Unit = targetValues(targetValues.toList()) /** * @param values The value field wells of a `GaugeChartVisual` . */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The value field wells of a `GaugeChartVisual` . */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The value field wells of a `GaugeChartVisual` . */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartFieldWellsProperty, ) : CdkObject(cdkObject), GaugeChartFieldWellsProperty { /** * The target value field wells of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartfieldwells.html#cfn-quicksight-dashboard-gaugechartfieldwells-targetvalues) */ override fun targetValues(): Any? = unwrap(this).getTargetValues() /** * The value field wells of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartfieldwells.html#cfn-quicksight-dashboard-gaugechartfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GaugeChartFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartFieldWellsProperty): GaugeChartFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? GaugeChartFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GaugeChartFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartFieldWellsProperty } } /** * The options that determine the presentation of the `GaugeChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GaugeChartOptionsProperty gaugeChartOptionsProperty = GaugeChartOptionsProperty.builder() * .arc(ArcConfigurationProperty.builder() * .arcAngle(123) * .arcThickness("arcThickness") * .build()) * .arcAxis(ArcAxisConfigurationProperty.builder() * .range(ArcAxisDisplayRangeProperty.builder() * .max(123) * .min(123) * .build()) * .reserveRange(123) * .build()) * .comparison(ComparisonConfigurationProperty.builder() * .comparisonFormat(ComparisonFormatConfigurationProperty.builder() * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .comparisonMethod("comparisonMethod") * .build()) * .primaryValueDisplayType("primaryValueDisplayType") * .primaryValueFontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartoptions.html) */ public interface GaugeChartOptionsProperty { /** * The arc configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartoptions.html#cfn-quicksight-dashboard-gaugechartoptions-arc) */ public fun arc(): Any? = unwrap(this).getArc() /** * The arc axis configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartoptions.html#cfn-quicksight-dashboard-gaugechartoptions-arcaxis) */ public fun arcAxis(): Any? = unwrap(this).getArcAxis() /** * The comparison configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartoptions.html#cfn-quicksight-dashboard-gaugechartoptions-comparison) */ public fun comparison(): Any? = unwrap(this).getComparison() /** * The options that determine the primary value display type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartoptions.html#cfn-quicksight-dashboard-gaugechartoptions-primaryvaluedisplaytype) */ public fun primaryValueDisplayType(): String? = unwrap(this).getPrimaryValueDisplayType() /** * The options that determine the primary value font configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartoptions.html#cfn-quicksight-dashboard-gaugechartoptions-primaryvaluefontconfiguration) */ public fun primaryValueFontConfiguration(): Any? = unwrap(this).getPrimaryValueFontConfiguration() /** * A builder for [GaugeChartOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param arc The arc configuration of a `GaugeChartVisual` . */ public fun arc(arc: IResolvable) /** * @param arc The arc configuration of a `GaugeChartVisual` . */ public fun arc(arc: ArcConfigurationProperty) /** * @param arc The arc configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e69524ac0b1c16dfc1ac16533709edd93157b786bdb7cd14987c9760a211f865") public fun arc(arc: ArcConfigurationProperty.Builder.() -> Unit) /** * @param arcAxis The arc axis configuration of a `GaugeChartVisual` . */ public fun arcAxis(arcAxis: IResolvable) /** * @param arcAxis The arc axis configuration of a `GaugeChartVisual` . */ public fun arcAxis(arcAxis: ArcAxisConfigurationProperty) /** * @param arcAxis The arc axis configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9fc915e99dbdfe8737da050b1712f591fb2b82ddddd27c77744b0049e73a8014") public fun arcAxis(arcAxis: ArcAxisConfigurationProperty.Builder.() -> Unit) /** * @param comparison The comparison configuration of a `GaugeChartVisual` . */ public fun comparison(comparison: IResolvable) /** * @param comparison The comparison configuration of a `GaugeChartVisual` . */ public fun comparison(comparison: ComparisonConfigurationProperty) /** * @param comparison The comparison configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("16166839b95c1277ecf8a4258f9086eec5a3260ea674cb46894d333ed143c620") public fun comparison(comparison: ComparisonConfigurationProperty.Builder.() -> Unit) /** * @param primaryValueDisplayType The options that determine the primary value display type. */ public fun primaryValueDisplayType(primaryValueDisplayType: String) /** * @param primaryValueFontConfiguration The options that determine the primary value font * configuration. */ public fun primaryValueFontConfiguration(primaryValueFontConfiguration: IResolvable) /** * @param primaryValueFontConfiguration The options that determine the primary value font * configuration. */ public fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty) /** * @param primaryValueFontConfiguration The options that determine the primary value font * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("be7c84d22e2c1b460a584b6389766ea4c3f5fb8ac070297e4533c53e061998c8") public fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartOptionsProperty.builder() /** * @param arc The arc configuration of a `GaugeChartVisual` . */ override fun arc(arc: IResolvable) { cdkBuilder.arc(arc.let(IResolvable.Companion::unwrap)) } /** * @param arc The arc configuration of a `GaugeChartVisual` . */ override fun arc(arc: ArcConfigurationProperty) { cdkBuilder.arc(arc.let(ArcConfigurationProperty.Companion::unwrap)) } /** * @param arc The arc configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e69524ac0b1c16dfc1ac16533709edd93157b786bdb7cd14987c9760a211f865") override fun arc(arc: ArcConfigurationProperty.Builder.() -> Unit): Unit = arc(ArcConfigurationProperty(arc)) /** * @param arcAxis The arc axis configuration of a `GaugeChartVisual` . */ override fun arcAxis(arcAxis: IResolvable) { cdkBuilder.arcAxis(arcAxis.let(IResolvable.Companion::unwrap)) } /** * @param arcAxis The arc axis configuration of a `GaugeChartVisual` . */ override fun arcAxis(arcAxis: ArcAxisConfigurationProperty) { cdkBuilder.arcAxis(arcAxis.let(ArcAxisConfigurationProperty.Companion::unwrap)) } /** * @param arcAxis The arc axis configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9fc915e99dbdfe8737da050b1712f591fb2b82ddddd27c77744b0049e73a8014") override fun arcAxis(arcAxis: ArcAxisConfigurationProperty.Builder.() -> Unit): Unit = arcAxis(ArcAxisConfigurationProperty(arcAxis)) /** * @param comparison The comparison configuration of a `GaugeChartVisual` . */ override fun comparison(comparison: IResolvable) { cdkBuilder.comparison(comparison.let(IResolvable.Companion::unwrap)) } /** * @param comparison The comparison configuration of a `GaugeChartVisual` . */ override fun comparison(comparison: ComparisonConfigurationProperty) { cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty.Companion::unwrap)) } /** * @param comparison The comparison configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("16166839b95c1277ecf8a4258f9086eec5a3260ea674cb46894d333ed143c620") override fun comparison(comparison: ComparisonConfigurationProperty.Builder.() -> Unit): Unit = comparison(ComparisonConfigurationProperty(comparison)) /** * @param primaryValueDisplayType The options that determine the primary value display type. */ override fun primaryValueDisplayType(primaryValueDisplayType: String) { cdkBuilder.primaryValueDisplayType(primaryValueDisplayType) } /** * @param primaryValueFontConfiguration The options that determine the primary value font * configuration. */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: IResolvable) { cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param primaryValueFontConfiguration The options that determine the primary value font * configuration. */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty) { cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** * @param primaryValueFontConfiguration The options that determine the primary value font * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("be7c84d22e2c1b460a584b6389766ea4c3f5fb8ac070297e4533c53e061998c8") override fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty.Builder.() -> Unit): Unit = primaryValueFontConfiguration(FontConfigurationProperty(primaryValueFontConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartOptionsProperty, ) : CdkObject(cdkObject), GaugeChartOptionsProperty { /** * The arc configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartoptions.html#cfn-quicksight-dashboard-gaugechartoptions-arc) */ override fun arc(): Any? = unwrap(this).getArc() /** * The arc axis configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartoptions.html#cfn-quicksight-dashboard-gaugechartoptions-arcaxis) */ override fun arcAxis(): Any? = unwrap(this).getArcAxis() /** * The comparison configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartoptions.html#cfn-quicksight-dashboard-gaugechartoptions-comparison) */ override fun comparison(): Any? = unwrap(this).getComparison() /** * The options that determine the primary value display type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartoptions.html#cfn-quicksight-dashboard-gaugechartoptions-primaryvaluedisplaytype) */ override fun primaryValueDisplayType(): String? = unwrap(this).getPrimaryValueDisplayType() /** * The options that determine the primary value font configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartoptions.html#cfn-quicksight-dashboard-gaugechartoptions-primaryvaluefontconfiguration) */ override fun primaryValueFontConfiguration(): Any? = unwrap(this).getPrimaryValueFontConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GaugeChartOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartOptionsProperty): GaugeChartOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? GaugeChartOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GaugeChartOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartOptionsProperty } } /** * The conditional formatting for the primary value of a `GaugeChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GaugeChartPrimaryValueConditionalFormattingProperty * gaugeChartPrimaryValueConditionalFormattingProperty = * GaugeChartPrimaryValueConditionalFormattingProperty.builder() * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartprimaryvalueconditionalformatting.html) */ public interface GaugeChartPrimaryValueConditionalFormattingProperty { /** * The conditional formatting of the primary value icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartprimaryvalueconditionalformatting.html#cfn-quicksight-dashboard-gaugechartprimaryvalueconditionalformatting-icon) */ public fun icon(): Any? = unwrap(this).getIcon() /** * The conditional formatting of the primary value text color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartprimaryvalueconditionalformatting.html#cfn-quicksight-dashboard-gaugechartprimaryvalueconditionalformatting-textcolor) */ public fun textColor(): Any? = unwrap(this).getTextColor() /** * A builder for [GaugeChartPrimaryValueConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param icon The conditional formatting of the primary value icon. */ public fun icon(icon: IResolvable) /** * @param icon The conditional formatting of the primary value icon. */ public fun icon(icon: ConditionalFormattingIconProperty) /** * @param icon The conditional formatting of the primary value icon. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("17ed080e00373133e70f396f1a4b9c0dd0d4887af00b6f616691c688752e2f7e") public fun icon(icon: ConditionalFormattingIconProperty.Builder.() -> Unit) /** * @param textColor The conditional formatting of the primary value text color. */ public fun textColor(textColor: IResolvable) /** * @param textColor The conditional formatting of the primary value text color. */ public fun textColor(textColor: ConditionalFormattingColorProperty) /** * @param textColor The conditional formatting of the primary value text color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5ad204d088225e643067a78d015aac148e3cfbdba2b55ac1024d7ee7a2fd5a82") public fun textColor(textColor: ConditionalFormattingColorProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartPrimaryValueConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartPrimaryValueConditionalFormattingProperty.builder() /** * @param icon The conditional formatting of the primary value icon. */ override fun icon(icon: IResolvable) { cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the primary value icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** * @param icon The conditional formatting of the primary value icon. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("17ed080e00373133e70f396f1a4b9c0dd0d4887af00b6f616691c688752e2f7e") override fun icon(icon: ConditionalFormattingIconProperty.Builder.() -> Unit): Unit = icon(ConditionalFormattingIconProperty(icon)) /** * @param textColor The conditional formatting of the primary value text color. */ override fun textColor(textColor: IResolvable) { cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the primary value text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** * @param textColor The conditional formatting of the primary value text color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5ad204d088225e643067a78d015aac148e3cfbdba2b55ac1024d7ee7a2fd5a82") override fun textColor(textColor: ConditionalFormattingColorProperty.Builder.() -> Unit): Unit = textColor(ConditionalFormattingColorProperty(textColor)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartPrimaryValueConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartPrimaryValueConditionalFormattingProperty, ) : CdkObject(cdkObject), GaugeChartPrimaryValueConditionalFormattingProperty { /** * The conditional formatting of the primary value icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartprimaryvalueconditionalformatting.html#cfn-quicksight-dashboard-gaugechartprimaryvalueconditionalformatting-icon) */ override fun icon(): Any? = unwrap(this).getIcon() /** * The conditional formatting of the primary value text color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartprimaryvalueconditionalformatting.html#cfn-quicksight-dashboard-gaugechartprimaryvalueconditionalformatting-textcolor) */ override fun textColor(): Any? = unwrap(this).getTextColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GaugeChartPrimaryValueConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartPrimaryValueConditionalFormattingProperty): GaugeChartPrimaryValueConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? GaugeChartPrimaryValueConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GaugeChartPrimaryValueConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartPrimaryValueConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartPrimaryValueConditionalFormattingProperty } } /** * A gauge chart. * * For more information, see [Using gauge * charts](https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html) */ public interface GaugeChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html#cfn-quicksight-dashboard-gaugechartvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html#cfn-quicksight-dashboard-gaugechartvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The conditional formatting of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html#cfn-quicksight-dashboard-gaugechartvisual-conditionalformatting) */ public fun conditionalFormatting(): Any? = unwrap(this).getConditionalFormatting() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html#cfn-quicksight-dashboard-gaugechartvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html#cfn-quicksight-dashboard-gaugechartvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html#cfn-quicksight-dashboard-gaugechartvisual-visualid) */ public fun visualId(): String /** * A builder for [GaugeChartVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration of a `GaugeChartVisual` . */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration of a `GaugeChartVisual` . */ public fun chartConfiguration(chartConfiguration: GaugeChartConfigurationProperty) /** * @param chartConfiguration The configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e902b2eeb4a9575dc998f0d09304a74a8c6ba3944839dd66b3fb8e21b39379d0") public fun chartConfiguration(chartConfiguration: GaugeChartConfigurationProperty.Builder.() -> Unit) /** * @param conditionalFormatting The conditional formatting of a `GaugeChartVisual` . */ public fun conditionalFormatting(conditionalFormatting: IResolvable) /** * @param conditionalFormatting The conditional formatting of a `GaugeChartVisual` . */ public fun conditionalFormatting(conditionalFormatting: GaugeChartConditionalFormattingProperty) /** * @param conditionalFormatting The conditional formatting of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aae82e353f3d815f6539394d8683d767a623095a16d80d10c43b087eecbd8bbb") public fun conditionalFormatting(conditionalFormatting: GaugeChartConditionalFormattingProperty.Builder.() -> Unit) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2dde07417efe9f768d167ddb81322e85619b6fdd73fcb4e56310c7ac5aaddbad") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e9e3e4700d5e343af0d02d9bf646aa48e8ad3c0b5a35641cdaa48065028564e3") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration of a `GaugeChartVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `GaugeChartVisual` . */ override fun chartConfiguration(chartConfiguration: GaugeChartConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(GaugeChartConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e902b2eeb4a9575dc998f0d09304a74a8c6ba3944839dd66b3fb8e21b39379d0") override fun chartConfiguration(chartConfiguration: GaugeChartConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(GaugeChartConfigurationProperty(chartConfiguration)) /** * @param conditionalFormatting The conditional formatting of a `GaugeChartVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting of a `GaugeChartVisual` . */ override fun conditionalFormatting(conditionalFormatting: GaugeChartConditionalFormattingProperty) { cdkBuilder.conditionalFormatting(conditionalFormatting.let(GaugeChartConditionalFormattingProperty.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting of a `GaugeChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aae82e353f3d815f6539394d8683d767a623095a16d80d10c43b087eecbd8bbb") override fun conditionalFormatting(conditionalFormatting: GaugeChartConditionalFormattingProperty.Builder.() -> Unit): Unit = conditionalFormatting(GaugeChartConditionalFormattingProperty(conditionalFormatting)) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2dde07417efe9f768d167ddb81322e85619b6fdd73fcb4e56310c7ac5aaddbad") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e9e3e4700d5e343af0d02d9bf646aa48e8ad3c0b5a35641cdaa48065028564e3") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartVisualProperty, ) : CdkObject(cdkObject), GaugeChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html#cfn-quicksight-dashboard-gaugechartvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html#cfn-quicksight-dashboard-gaugechartvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The conditional formatting of a `GaugeChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html#cfn-quicksight-dashboard-gaugechartvisual-conditionalformatting) */ override fun conditionalFormatting(): Any? = unwrap(this).getConditionalFormatting() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html#cfn-quicksight-dashboard-gaugechartvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html#cfn-quicksight-dashboard-gaugechartvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gaugechartvisual.html#cfn-quicksight-dashboard-gaugechartvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GaugeChartVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartVisualProperty): GaugeChartVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? GaugeChartVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GaugeChartVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartVisualProperty } } /** * The bound options (north, south, west, east) of the geospatial window options. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GeospatialCoordinateBoundsProperty geospatialCoordinateBoundsProperty = * GeospatialCoordinateBoundsProperty.builder() * .east(123) * .north(123) * .south(123) * .west(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html) */ public interface GeospatialCoordinateBoundsProperty { /** * The longitude of the east bound of the geospatial coordinate bounds. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html#cfn-quicksight-dashboard-geospatialcoordinatebounds-east) */ public fun east(): Number /** * The latitude of the north bound of the geospatial coordinate bounds. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html#cfn-quicksight-dashboard-geospatialcoordinatebounds-north) */ public fun north(): Number /** * The latitude of the south bound of the geospatial coordinate bounds. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html#cfn-quicksight-dashboard-geospatialcoordinatebounds-south) */ public fun south(): Number /** * The longitude of the west bound of the geospatial coordinate bounds. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html#cfn-quicksight-dashboard-geospatialcoordinatebounds-west) */ public fun west(): Number /** * A builder for [GeospatialCoordinateBoundsProperty] */ @CdkDslMarker public interface Builder { /** * @param east The longitude of the east bound of the geospatial coordinate bounds. */ public fun east(east: Number) /** * @param north The latitude of the north bound of the geospatial coordinate bounds. */ public fun north(north: Number) /** * @param south The latitude of the south bound of the geospatial coordinate bounds. */ public fun south(south: Number) /** * @param west The longitude of the west bound of the geospatial coordinate bounds. */ public fun west(west: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialCoordinateBoundsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialCoordinateBoundsProperty.builder() /** * @param east The longitude of the east bound of the geospatial coordinate bounds. */ override fun east(east: Number) { cdkBuilder.east(east) } /** * @param north The latitude of the north bound of the geospatial coordinate bounds. */ override fun north(north: Number) { cdkBuilder.north(north) } /** * @param south The latitude of the south bound of the geospatial coordinate bounds. */ override fun south(south: Number) { cdkBuilder.south(south) } /** * @param west The longitude of the west bound of the geospatial coordinate bounds. */ override fun west(west: Number) { cdkBuilder.west(west) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialCoordinateBoundsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialCoordinateBoundsProperty, ) : CdkObject(cdkObject), GeospatialCoordinateBoundsProperty { /** * The longitude of the east bound of the geospatial coordinate bounds. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html#cfn-quicksight-dashboard-geospatialcoordinatebounds-east) */ override fun east(): Number = unwrap(this).getEast() /** * The latitude of the north bound of the geospatial coordinate bounds. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html#cfn-quicksight-dashboard-geospatialcoordinatebounds-north) */ override fun north(): Number = unwrap(this).getNorth() /** * The latitude of the south bound of the geospatial coordinate bounds. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html#cfn-quicksight-dashboard-geospatialcoordinatebounds-south) */ override fun south(): Number = unwrap(this).getSouth() /** * The longitude of the west bound of the geospatial coordinate bounds. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html#cfn-quicksight-dashboard-geospatialcoordinatebounds-west) */ override fun west(): Number = unwrap(this).getWest() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GeospatialCoordinateBoundsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialCoordinateBoundsProperty): GeospatialCoordinateBoundsProperty = CdkObjectWrappers.wrap(cdkObject) as? GeospatialCoordinateBoundsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GeospatialCoordinateBoundsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialCoordinateBoundsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialCoordinateBoundsProperty } } /** * The color scale specification for the heatmap point style. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GeospatialHeatmapColorScaleProperty geospatialHeatmapColorScaleProperty = * GeospatialHeatmapColorScaleProperty.builder() * .colors(List.of(GeospatialHeatmapDataColorProperty.builder() * .color("color") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialheatmapcolorscale.html) */ public interface GeospatialHeatmapColorScaleProperty { /** * The list of colors to be used in heatmap point style. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialheatmapcolorscale.html#cfn-quicksight-dashboard-geospatialheatmapcolorscale-colors) */ public fun colors(): Any? = unwrap(this).getColors() /** * A builder for [GeospatialHeatmapColorScaleProperty] */ @CdkDslMarker public interface Builder { /** * @param colors The list of colors to be used in heatmap point style. */ public fun colors(colors: IResolvable) /** * @param colors The list of colors to be used in heatmap point style. */ public fun colors(colors: List) /** * @param colors The list of colors to be used in heatmap point style. */ public fun colors(vararg colors: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapColorScaleProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapColorScaleProperty.builder() /** * @param colors The list of colors to be used in heatmap point style. */ override fun colors(colors: IResolvable) { cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** * @param colors The list of colors to be used in heatmap point style. */ override fun colors(colors: List) { cdkBuilder.colors(colors.map{CdkObjectWrappers.unwrap(it)}) } /** * @param colors The list of colors to be used in heatmap point style. */ override fun colors(vararg colors: Any): Unit = colors(colors.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapColorScaleProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapColorScaleProperty, ) : CdkObject(cdkObject), GeospatialHeatmapColorScaleProperty { /** * The list of colors to be used in heatmap point style. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialheatmapcolorscale.html#cfn-quicksight-dashboard-geospatialheatmapcolorscale-colors) */ override fun colors(): Any? = unwrap(this).getColors() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GeospatialHeatmapColorScaleProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapColorScaleProperty): GeospatialHeatmapColorScaleProperty = CdkObjectWrappers.wrap(cdkObject) as? GeospatialHeatmapColorScaleProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GeospatialHeatmapColorScaleProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapColorScaleProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapColorScaleProperty } } /** * The heatmap configuration of the geospatial point style. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GeospatialHeatmapConfigurationProperty geospatialHeatmapConfigurationProperty = * GeospatialHeatmapConfigurationProperty.builder() * .heatmapColor(GeospatialHeatmapColorScaleProperty.builder() * .colors(List.of(GeospatialHeatmapDataColorProperty.builder() * .color("color") * .build())) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialheatmapconfiguration.html) */ public interface GeospatialHeatmapConfigurationProperty { /** * The color scale specification for the heatmap point style. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialheatmapconfiguration.html#cfn-quicksight-dashboard-geospatialheatmapconfiguration-heatmapcolor) */ public fun heatmapColor(): Any? = unwrap(this).getHeatmapColor() /** * A builder for [GeospatialHeatmapConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param heatmapColor The color scale specification for the heatmap point style. */ public fun heatmapColor(heatmapColor: IResolvable) /** * @param heatmapColor The color scale specification for the heatmap point style. */ public fun heatmapColor(heatmapColor: GeospatialHeatmapColorScaleProperty) /** * @param heatmapColor The color scale specification for the heatmap point style. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("41a3146088f12eafd95b54154bfc05a18d7b40b34edb672ab37a1a41a63465ba") public fun heatmapColor(heatmapColor: GeospatialHeatmapColorScaleProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapConfigurationProperty.builder() /** * @param heatmapColor The color scale specification for the heatmap point style. */ override fun heatmapColor(heatmapColor: IResolvable) { cdkBuilder.heatmapColor(heatmapColor.let(IResolvable.Companion::unwrap)) } /** * @param heatmapColor The color scale specification for the heatmap point style. */ override fun heatmapColor(heatmapColor: GeospatialHeatmapColorScaleProperty) { cdkBuilder.heatmapColor(heatmapColor.let(GeospatialHeatmapColorScaleProperty.Companion::unwrap)) } /** * @param heatmapColor The color scale specification for the heatmap point style. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("41a3146088f12eafd95b54154bfc05a18d7b40b34edb672ab37a1a41a63465ba") override fun heatmapColor(heatmapColor: GeospatialHeatmapColorScaleProperty.Builder.() -> Unit): Unit = heatmapColor(GeospatialHeatmapColorScaleProperty(heatmapColor)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapConfigurationProperty, ) : CdkObject(cdkObject), GeospatialHeatmapConfigurationProperty { /** * The color scale specification for the heatmap point style. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialheatmapconfiguration.html#cfn-quicksight-dashboard-geospatialheatmapconfiguration-heatmapcolor) */ override fun heatmapColor(): Any? = unwrap(this).getHeatmapColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GeospatialHeatmapConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapConfigurationProperty): GeospatialHeatmapConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? GeospatialHeatmapConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GeospatialHeatmapConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapConfigurationProperty } } /** * The color to be used in the heatmap point style. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GeospatialHeatmapDataColorProperty geospatialHeatmapDataColorProperty = * GeospatialHeatmapDataColorProperty.builder() * .color("color") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialheatmapdatacolor.html) */ public interface GeospatialHeatmapDataColorProperty { /** * The hex color to be used in the heatmap point style. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialheatmapdatacolor.html#cfn-quicksight-dashboard-geospatialheatmapdatacolor-color) */ public fun color(): String /** * A builder for [GeospatialHeatmapDataColorProperty] */ @CdkDslMarker public interface Builder { /** * @param color The hex color to be used in the heatmap point style. */ public fun color(color: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapDataColorProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapDataColorProperty.builder() /** * @param color The hex color to be used in the heatmap point style. */ override fun color(color: String) { cdkBuilder.color(color) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapDataColorProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapDataColorProperty, ) : CdkObject(cdkObject), GeospatialHeatmapDataColorProperty { /** * The hex color to be used in the heatmap point style. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialheatmapdatacolor.html#cfn-quicksight-dashboard-geospatialheatmapdatacolor-color) */ override fun color(): String = unwrap(this).getColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GeospatialHeatmapDataColorProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapDataColorProperty): GeospatialHeatmapDataColorProperty = CdkObjectWrappers.wrap(cdkObject) as? GeospatialHeatmapDataColorProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GeospatialHeatmapDataColorProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapDataColorProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialHeatmapDataColorProperty } } /** * The aggregated field wells for a geospatial map. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapaggregatedfieldwells.html) */ public interface GeospatialMapAggregatedFieldWellsProperty { /** * The color field wells of a geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapaggregatedfieldwells.html#cfn-quicksight-dashboard-geospatialmapaggregatedfieldwells-colors) */ public fun colors(): Any? = unwrap(this).getColors() /** * The geospatial field wells of a geospatial map. * * Values are grouped by geospatial fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapaggregatedfieldwells.html#cfn-quicksight-dashboard-geospatialmapaggregatedfieldwells-geospatial) */ public fun geospatial(): Any? = unwrap(this).getGeospatial() /** * The size field wells of a geospatial map. * * Values are aggregated based on geospatial fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapaggregatedfieldwells.html#cfn-quicksight-dashboard-geospatialmapaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [GeospatialMapAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param colors The color field wells of a geospatial map. */ public fun colors(colors: IResolvable) /** * @param colors The color field wells of a geospatial map. */ public fun colors(colors: List) /** * @param colors The color field wells of a geospatial map. */ public fun colors(vararg colors: Any) /** * @param geospatial The geospatial field wells of a geospatial map. * Values are grouped by geospatial fields. */ public fun geospatial(geospatial: IResolvable) /** * @param geospatial The geospatial field wells of a geospatial map. * Values are grouped by geospatial fields. */ public fun geospatial(geospatial: List) /** * @param geospatial The geospatial field wells of a geospatial map. * Values are grouped by geospatial fields. */ public fun geospatial(vararg geospatial: Any) /** * @param values The size field wells of a geospatial map. * Values are aggregated based on geospatial fields. */ public fun values(values: IResolvable) /** * @param values The size field wells of a geospatial map. * Values are aggregated based on geospatial fields. */ public fun values(values: List) /** * @param values The size field wells of a geospatial map. * Values are aggregated based on geospatial fields. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapAggregatedFieldWellsProperty.builder() /** * @param colors The color field wells of a geospatial map. */ override fun colors(colors: IResolvable) { cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** * @param colors The color field wells of a geospatial map. */ override fun colors(colors: List) { cdkBuilder.colors(colors.map{CdkObjectWrappers.unwrap(it)}) } /** * @param colors The color field wells of a geospatial map. */ override fun colors(vararg colors: Any): Unit = colors(colors.toList()) /** * @param geospatial The geospatial field wells of a geospatial map. * Values are grouped by geospatial fields. */ override fun geospatial(geospatial: IResolvable) { cdkBuilder.geospatial(geospatial.let(IResolvable.Companion::unwrap)) } /** * @param geospatial The geospatial field wells of a geospatial map. * Values are grouped by geospatial fields. */ override fun geospatial(geospatial: List) { cdkBuilder.geospatial(geospatial.map{CdkObjectWrappers.unwrap(it)}) } /** * @param geospatial The geospatial field wells of a geospatial map. * Values are grouped by geospatial fields. */ override fun geospatial(vararg geospatial: Any): Unit = geospatial(geospatial.toList()) /** * @param values The size field wells of a geospatial map. * Values are aggregated based on geospatial fields. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The size field wells of a geospatial map. * Values are aggregated based on geospatial fields. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The size field wells of a geospatial map. * Values are aggregated based on geospatial fields. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), GeospatialMapAggregatedFieldWellsProperty { /** * The color field wells of a geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapaggregatedfieldwells.html#cfn-quicksight-dashboard-geospatialmapaggregatedfieldwells-colors) */ override fun colors(): Any? = unwrap(this).getColors() /** * The geospatial field wells of a geospatial map. * * Values are grouped by geospatial fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapaggregatedfieldwells.html#cfn-quicksight-dashboard-geospatialmapaggregatedfieldwells-geospatial) */ override fun geospatial(): Any? = unwrap(this).getGeospatial() /** * The size field wells of a geospatial map. * * Values are aggregated based on geospatial fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapaggregatedfieldwells.html#cfn-quicksight-dashboard-geospatialmapaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GeospatialMapAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapAggregatedFieldWellsProperty): GeospatialMapAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? GeospatialMapAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GeospatialMapAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapAggregatedFieldWellsProperty } } /** * The configuration of a `GeospatialMapVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html) */ public interface GeospatialMapConfigurationProperty { /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-legend) */ public fun legend(): Any? = unwrap(this).getLegend() /** * The map style options of the geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-mapstyleoptions) */ public fun mapStyleOptions(): Any? = unwrap(this).getMapStyleOptions() /** * The point style options of the geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-pointstyleoptions) */ public fun pointStyleOptions(): Any? = unwrap(this).getPointStyleOptions() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-tooltip) */ public fun tooltip(): Any? = unwrap(this).getTooltip() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-visualpalette) */ public fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * The window options of the geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-windowoptions) */ public fun windowOptions(): Any? = unwrap(this).getWindowOptions() /** * A builder for [GeospatialMapConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: GeospatialMapFieldWellsProperty) /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4bf0990541a5a8f7729ac2c1eeeca592b0e059896628334c147fdd2bc8f2a471") public fun fieldWells(fieldWells: GeospatialMapFieldWellsProperty.Builder.() -> Unit) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: IResolvable) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: LegendOptionsProperty) /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fa840ee993dc495a21448fac353ce0836384195ef7118ece060e956c47e57b90") public fun legend(legend: LegendOptionsProperty.Builder.() -> Unit) /** * @param mapStyleOptions The map style options of the geospatial map. */ public fun mapStyleOptions(mapStyleOptions: IResolvable) /** * @param mapStyleOptions The map style options of the geospatial map. */ public fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty) /** * @param mapStyleOptions The map style options of the geospatial map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fd79b7d30af2a6f97db109e7d576d1a68ed4a28c47f3978555b73c712403b68f") public fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty.Builder.() -> Unit) /** * @param pointStyleOptions The point style options of the geospatial map. */ public fun pointStyleOptions(pointStyleOptions: IResolvable) /** * @param pointStyleOptions The point style options of the geospatial map. */ public fun pointStyleOptions(pointStyleOptions: GeospatialPointStyleOptionsProperty) /** * @param pointStyleOptions The point style options of the geospatial map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cefe55c1918fc030bbe2613a9a0da3bbc305ab5da5436839a6845b7d5d49cc04") public fun pointStyleOptions(pointStyleOptions: GeospatialPointStyleOptionsProperty.Builder.() -> Unit) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: IResolvable) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: TooltipOptionsProperty) /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1eb0c805261beb611a0df843f5ff55b08ae2f32760c6eb0b4a0b0ff727443d8c") public fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit) /** * @param visualPalette the value to be set. */ public fun visualPalette(visualPalette: IResolvable) /** * @param visualPalette the value to be set. */ public fun visualPalette(visualPalette: VisualPaletteProperty) /** * @param visualPalette the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d8d25db8c64ced918227d1a7b328381239aa202ab135d5a8535d417b18f46f9d") public fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit) /** * @param windowOptions The window options of the geospatial map. */ public fun windowOptions(windowOptions: IResolvable) /** * @param windowOptions The window options of the geospatial map. */ public fun windowOptions(windowOptions: GeospatialWindowOptionsProperty) /** * @param windowOptions The window options of the geospatial map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5a8d0dd1afe307186a71a046704e5ff9d75671edd4d28ec1c8a8187a9d0c837d") public fun windowOptions(windowOptions: GeospatialWindowOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapConfigurationProperty.builder() /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: GeospatialMapFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(GeospatialMapFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4bf0990541a5a8f7729ac2c1eeeca592b0e059896628334c147fdd2bc8f2a471") override fun fieldWells(fieldWells: GeospatialMapFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(GeospatialMapFieldWellsProperty(fieldWells)) /** * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fa840ee993dc495a21448fac353ce0836384195ef7118ece060e956c47e57b90") override fun legend(legend: LegendOptionsProperty.Builder.() -> Unit): Unit = legend(LegendOptionsProperty(legend)) /** * @param mapStyleOptions The map style options of the geospatial map. */ override fun mapStyleOptions(mapStyleOptions: IResolvable) { cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable.Companion::unwrap)) } /** * @param mapStyleOptions The map style options of the geospatial map. */ override fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty) { cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty.Companion::unwrap)) } /** * @param mapStyleOptions The map style options of the geospatial map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fd79b7d30af2a6f97db109e7d576d1a68ed4a28c47f3978555b73c712403b68f") override fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty.Builder.() -> Unit): Unit = mapStyleOptions(GeospatialMapStyleOptionsProperty(mapStyleOptions)) /** * @param pointStyleOptions The point style options of the geospatial map. */ override fun pointStyleOptions(pointStyleOptions: IResolvable) { cdkBuilder.pointStyleOptions(pointStyleOptions.let(IResolvable.Companion::unwrap)) } /** * @param pointStyleOptions The point style options of the geospatial map. */ override fun pointStyleOptions(pointStyleOptions: GeospatialPointStyleOptionsProperty) { cdkBuilder.pointStyleOptions(pointStyleOptions.let(GeospatialPointStyleOptionsProperty.Companion::unwrap)) } /** * @param pointStyleOptions The point style options of the geospatial map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cefe55c1918fc030bbe2613a9a0da3bbc305ab5da5436839a6845b7d5d49cc04") override fun pointStyleOptions(pointStyleOptions: GeospatialPointStyleOptionsProperty.Builder.() -> Unit): Unit = pointStyleOptions(GeospatialPointStyleOptionsProperty(pointStyleOptions)) /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1eb0c805261beb611a0df843f5ff55b08ae2f32760c6eb0b4a0b0ff727443d8c") override fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltip(TooltipOptionsProperty(tooltip)) /** * @param visualPalette the value to be set. */ override fun visualPalette(visualPalette: IResolvable) { cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette the value to be set. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** * @param visualPalette the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d8d25db8c64ced918227d1a7b328381239aa202ab135d5a8535d417b18f46f9d") override fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit): Unit = visualPalette(VisualPaletteProperty(visualPalette)) /** * @param windowOptions The window options of the geospatial map. */ override fun windowOptions(windowOptions: IResolvable) { cdkBuilder.windowOptions(windowOptions.let(IResolvable.Companion::unwrap)) } /** * @param windowOptions The window options of the geospatial map. */ override fun windowOptions(windowOptions: GeospatialWindowOptionsProperty) { cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty.Companion::unwrap)) } /** * @param windowOptions The window options of the geospatial map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5a8d0dd1afe307186a71a046704e5ff9d75671edd4d28ec1c8a8187a9d0c837d") override fun windowOptions(windowOptions: GeospatialWindowOptionsProperty.Builder.() -> Unit): Unit = windowOptions(GeospatialWindowOptionsProperty(windowOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapConfigurationProperty, ) : CdkObject(cdkObject), GeospatialMapConfigurationProperty { /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-legend) */ override fun legend(): Any? = unwrap(this).getLegend() /** * The map style options of the geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-mapstyleoptions) */ override fun mapStyleOptions(): Any? = unwrap(this).getMapStyleOptions() /** * The point style options of the geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-pointstyleoptions) */ override fun pointStyleOptions(): Any? = unwrap(this).getPointStyleOptions() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-tooltip) */ override fun tooltip(): Any? = unwrap(this).getTooltip() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-visualpalette) */ override fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * The window options of the geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapconfiguration.html#cfn-quicksight-dashboard-geospatialmapconfiguration-windowoptions) */ override fun windowOptions(): Any? = unwrap(this).getWindowOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GeospatialMapConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapConfigurationProperty): GeospatialMapConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? GeospatialMapConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GeospatialMapConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapConfigurationProperty } } /** * The field wells of a `GeospatialMapVisual` . * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapfieldwells.html) */ public interface GeospatialMapFieldWellsProperty { /** * The aggregated field well for a geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapfieldwells.html#cfn-quicksight-dashboard-geospatialmapfieldwells-geospatialmapaggregatedfieldwells) */ public fun geospatialMapAggregatedFieldWells(): Any? = unwrap(this).getGeospatialMapAggregatedFieldWells() /** * A builder for [GeospatialMapFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param geospatialMapAggregatedFieldWells The aggregated field well for a geospatial map. */ public fun geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells: IResolvable) /** * @param geospatialMapAggregatedFieldWells The aggregated field well for a geospatial map. */ public fun geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells: GeospatialMapAggregatedFieldWellsProperty) /** * @param geospatialMapAggregatedFieldWells The aggregated field well for a geospatial map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("50d58c77fea55395a08fa7dca1cb852d9fda0d3ca7ee46da2c6122cead50c435") public fun geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells: GeospatialMapAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapFieldWellsProperty.builder() /** * @param geospatialMapAggregatedFieldWells The aggregated field well for a geospatial map. */ override fun geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells: IResolvable) { cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param geospatialMapAggregatedFieldWells The aggregated field well for a geospatial map. */ override fun geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells: GeospatialMapAggregatedFieldWellsProperty) { cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(GeospatialMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param geospatialMapAggregatedFieldWells The aggregated field well for a geospatial map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("50d58c77fea55395a08fa7dca1cb852d9fda0d3ca7ee46da2c6122cead50c435") override fun geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells: GeospatialMapAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = geospatialMapAggregatedFieldWells(GeospatialMapAggregatedFieldWellsProperty(geospatialMapAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapFieldWellsProperty, ) : CdkObject(cdkObject), GeospatialMapFieldWellsProperty { /** * The aggregated field well for a geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapfieldwells.html#cfn-quicksight-dashboard-geospatialmapfieldwells-geospatialmapaggregatedfieldwells) */ override fun geospatialMapAggregatedFieldWells(): Any? = unwrap(this).getGeospatialMapAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GeospatialMapFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapFieldWellsProperty): GeospatialMapFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? GeospatialMapFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GeospatialMapFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapFieldWellsProperty } } /** * The map style options of the geospatial map. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GeospatialMapStyleOptionsProperty geospatialMapStyleOptionsProperty = * GeospatialMapStyleOptionsProperty.builder() * .baseMapStyle("baseMapStyle") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapstyleoptions.html) */ public interface GeospatialMapStyleOptionsProperty { /** * The base map style of the geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapstyleoptions.html#cfn-quicksight-dashboard-geospatialmapstyleoptions-basemapstyle) */ public fun baseMapStyle(): String? = unwrap(this).getBaseMapStyle() /** * A builder for [GeospatialMapStyleOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param baseMapStyle The base map style of the geospatial map. */ public fun baseMapStyle(baseMapStyle: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapStyleOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapStyleOptionsProperty.builder() /** * @param baseMapStyle The base map style of the geospatial map. */ override fun baseMapStyle(baseMapStyle: String) { cdkBuilder.baseMapStyle(baseMapStyle) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapStyleOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapStyleOptionsProperty, ) : CdkObject(cdkObject), GeospatialMapStyleOptionsProperty { /** * The base map style of the geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapstyleoptions.html#cfn-quicksight-dashboard-geospatialmapstyleoptions-basemapstyle) */ override fun baseMapStyle(): String? = unwrap(this).getBaseMapStyle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GeospatialMapStyleOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapStyleOptionsProperty): GeospatialMapStyleOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? GeospatialMapStyleOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GeospatialMapStyleOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapStyleOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapStyleOptionsProperty } } /** * A geospatial map or a points on map visual. * * For more information, see [Creating point * maps](https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html) */ public interface GeospatialMapVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html#cfn-quicksight-dashboard-geospatialmapvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html#cfn-quicksight-dashboard-geospatialmapvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html#cfn-quicksight-dashboard-geospatialmapvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html#cfn-quicksight-dashboard-geospatialmapvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html#cfn-quicksight-dashboard-geospatialmapvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html#cfn-quicksight-dashboard-geospatialmapvisual-visualid) */ public fun visualId(): String /** * A builder for [GeospatialMapVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: GeospatialMapConfigurationProperty) /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b8aa52a20076b218ec22ac9115bbe2f85f5ba448ff6c8eaa2abf5f6cda75d139") public fun chartConfiguration(chartConfiguration: GeospatialMapConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3517e7ca97fbd7d1a2a1aa0b587d13d31762c49e9128a6485eac7ab4f02138d5") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6fc44217987677c34d04ba388815a39483b6de741eec912d4f7256355d584ab6") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: GeospatialMapConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(GeospatialMapConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b8aa52a20076b218ec22ac9115bbe2f85f5ba448ff6c8eaa2abf5f6cda75d139") override fun chartConfiguration(chartConfiguration: GeospatialMapConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(GeospatialMapConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3517e7ca97fbd7d1a2a1aa0b587d13d31762c49e9128a6485eac7ab4f02138d5") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6fc44217987677c34d04ba388815a39483b6de741eec912d4f7256355d584ab6") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapVisualProperty, ) : CdkObject(cdkObject), GeospatialMapVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html#cfn-quicksight-dashboard-geospatialmapvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html#cfn-quicksight-dashboard-geospatialmapvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html#cfn-quicksight-dashboard-geospatialmapvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html#cfn-quicksight-dashboard-geospatialmapvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html#cfn-quicksight-dashboard-geospatialmapvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialmapvisual.html#cfn-quicksight-dashboard-geospatialmapvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GeospatialMapVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapVisualProperty): GeospatialMapVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? GeospatialMapVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GeospatialMapVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialMapVisualProperty } } /** * The point style of the geospatial map. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GeospatialPointStyleOptionsProperty geospatialPointStyleOptionsProperty = * GeospatialPointStyleOptionsProperty.builder() * .clusterMarkerConfiguration(ClusterMarkerConfigurationProperty.builder() * .clusterMarker(ClusterMarkerProperty.builder() * .simpleClusterMarker(SimpleClusterMarkerProperty.builder() * .color("color") * .build()) * .build()) * .build()) * .heatmapConfiguration(GeospatialHeatmapConfigurationProperty.builder() * .heatmapColor(GeospatialHeatmapColorScaleProperty.builder() * .colors(List.of(GeospatialHeatmapDataColorProperty.builder() * .color("color") * .build())) * .build()) * .build()) * .selectedPointStyle("selectedPointStyle") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialpointstyleoptions.html) */ public interface GeospatialPointStyleOptionsProperty { /** * The cluster marker configuration of the geospatial point style. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialpointstyleoptions.html#cfn-quicksight-dashboard-geospatialpointstyleoptions-clustermarkerconfiguration) */ public fun clusterMarkerConfiguration(): Any? = unwrap(this).getClusterMarkerConfiguration() /** * The heatmap configuration of the geospatial point style. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialpointstyleoptions.html#cfn-quicksight-dashboard-geospatialpointstyleoptions-heatmapconfiguration) */ public fun heatmapConfiguration(): Any? = unwrap(this).getHeatmapConfiguration() /** * The selected point styles (point, cluster) of the geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialpointstyleoptions.html#cfn-quicksight-dashboard-geospatialpointstyleoptions-selectedpointstyle) */ public fun selectedPointStyle(): String? = unwrap(this).getSelectedPointStyle() /** * A builder for [GeospatialPointStyleOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param clusterMarkerConfiguration The cluster marker configuration of the geospatial point * style. */ public fun clusterMarkerConfiguration(clusterMarkerConfiguration: IResolvable) /** * @param clusterMarkerConfiguration The cluster marker configuration of the geospatial point * style. */ public fun clusterMarkerConfiguration(clusterMarkerConfiguration: ClusterMarkerConfigurationProperty) /** * @param clusterMarkerConfiguration The cluster marker configuration of the geospatial point * style. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("238999da30f3c451168caaa89e0388472a0218575b80b82e330d57109c645094") public fun clusterMarkerConfiguration(clusterMarkerConfiguration: ClusterMarkerConfigurationProperty.Builder.() -> Unit) /** * @param heatmapConfiguration The heatmap configuration of the geospatial point style. */ public fun heatmapConfiguration(heatmapConfiguration: IResolvable) /** * @param heatmapConfiguration The heatmap configuration of the geospatial point style. */ public fun heatmapConfiguration(heatmapConfiguration: GeospatialHeatmapConfigurationProperty) /** * @param heatmapConfiguration The heatmap configuration of the geospatial point style. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bb0f342540e9045601765fe3e2a0bc23fb92496a3a55ba27f68041b0efdc3369") public fun heatmapConfiguration(heatmapConfiguration: GeospatialHeatmapConfigurationProperty.Builder.() -> Unit) /** * @param selectedPointStyle The selected point styles (point, cluster) of the geospatial map. */ public fun selectedPointStyle(selectedPointStyle: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialPointStyleOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialPointStyleOptionsProperty.builder() /** * @param clusterMarkerConfiguration The cluster marker configuration of the geospatial point * style. */ override fun clusterMarkerConfiguration(clusterMarkerConfiguration: IResolvable) { cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param clusterMarkerConfiguration The cluster marker configuration of the geospatial point * style. */ override fun clusterMarkerConfiguration(clusterMarkerConfiguration: ClusterMarkerConfigurationProperty) { cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(ClusterMarkerConfigurationProperty.Companion::unwrap)) } /** * @param clusterMarkerConfiguration The cluster marker configuration of the geospatial point * style. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("238999da30f3c451168caaa89e0388472a0218575b80b82e330d57109c645094") override fun clusterMarkerConfiguration(clusterMarkerConfiguration: ClusterMarkerConfigurationProperty.Builder.() -> Unit): Unit = clusterMarkerConfiguration(ClusterMarkerConfigurationProperty(clusterMarkerConfiguration)) /** * @param heatmapConfiguration The heatmap configuration of the geospatial point style. */ override fun heatmapConfiguration(heatmapConfiguration: IResolvable) { cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param heatmapConfiguration The heatmap configuration of the geospatial point style. */ override fun heatmapConfiguration(heatmapConfiguration: GeospatialHeatmapConfigurationProperty) { cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(GeospatialHeatmapConfigurationProperty.Companion::unwrap)) } /** * @param heatmapConfiguration The heatmap configuration of the geospatial point style. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bb0f342540e9045601765fe3e2a0bc23fb92496a3a55ba27f68041b0efdc3369") override fun heatmapConfiguration(heatmapConfiguration: GeospatialHeatmapConfigurationProperty.Builder.() -> Unit): Unit = heatmapConfiguration(GeospatialHeatmapConfigurationProperty(heatmapConfiguration)) /** * @param selectedPointStyle The selected point styles (point, cluster) of the geospatial map. */ override fun selectedPointStyle(selectedPointStyle: String) { cdkBuilder.selectedPointStyle(selectedPointStyle) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialPointStyleOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialPointStyleOptionsProperty, ) : CdkObject(cdkObject), GeospatialPointStyleOptionsProperty { /** * The cluster marker configuration of the geospatial point style. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialpointstyleoptions.html#cfn-quicksight-dashboard-geospatialpointstyleoptions-clustermarkerconfiguration) */ override fun clusterMarkerConfiguration(): Any? = unwrap(this).getClusterMarkerConfiguration() /** * The heatmap configuration of the geospatial point style. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialpointstyleoptions.html#cfn-quicksight-dashboard-geospatialpointstyleoptions-heatmapconfiguration) */ override fun heatmapConfiguration(): Any? = unwrap(this).getHeatmapConfiguration() /** * The selected point styles (point, cluster) of the geospatial map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialpointstyleoptions.html#cfn-quicksight-dashboard-geospatialpointstyleoptions-selectedpointstyle) */ override fun selectedPointStyle(): String? = unwrap(this).getSelectedPointStyle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GeospatialPointStyleOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialPointStyleOptionsProperty): GeospatialPointStyleOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? GeospatialPointStyleOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GeospatialPointStyleOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialPointStyleOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialPointStyleOptionsProperty } } /** * The window options of the geospatial map visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GeospatialWindowOptionsProperty geospatialWindowOptionsProperty = * GeospatialWindowOptionsProperty.builder() * .bounds(GeospatialCoordinateBoundsProperty.builder() * .east(123) * .north(123) * .south(123) * .west(123) * .build()) * .mapZoomMode("mapZoomMode") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialwindowoptions.html) */ public interface GeospatialWindowOptionsProperty { /** * The bounds options (north, south, west, east) of the geospatial window options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialwindowoptions.html#cfn-quicksight-dashboard-geospatialwindowoptions-bounds) */ public fun bounds(): Any? = unwrap(this).getBounds() /** * The map zoom modes (manual, auto) of the geospatial window options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialwindowoptions.html#cfn-quicksight-dashboard-geospatialwindowoptions-mapzoommode) */ public fun mapZoomMode(): String? = unwrap(this).getMapZoomMode() /** * A builder for [GeospatialWindowOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param bounds The bounds options (north, south, west, east) of the geospatial window * options. */ public fun bounds(bounds: IResolvable) /** * @param bounds The bounds options (north, south, west, east) of the geospatial window * options. */ public fun bounds(bounds: GeospatialCoordinateBoundsProperty) /** * @param bounds The bounds options (north, south, west, east) of the geospatial window * options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("37777e1cc084478adff4e0bb57a99744fad7aadbe6983a32e65cfeb97632c880") public fun bounds(bounds: GeospatialCoordinateBoundsProperty.Builder.() -> Unit) /** * @param mapZoomMode The map zoom modes (manual, auto) of the geospatial window options. */ public fun mapZoomMode(mapZoomMode: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialWindowOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialWindowOptionsProperty.builder() /** * @param bounds The bounds options (north, south, west, east) of the geospatial window * options. */ override fun bounds(bounds: IResolvable) { cdkBuilder.bounds(bounds.let(IResolvable.Companion::unwrap)) } /** * @param bounds The bounds options (north, south, west, east) of the geospatial window * options. */ override fun bounds(bounds: GeospatialCoordinateBoundsProperty) { cdkBuilder.bounds(bounds.let(GeospatialCoordinateBoundsProperty.Companion::unwrap)) } /** * @param bounds The bounds options (north, south, west, east) of the geospatial window * options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("37777e1cc084478adff4e0bb57a99744fad7aadbe6983a32e65cfeb97632c880") override fun bounds(bounds: GeospatialCoordinateBoundsProperty.Builder.() -> Unit): Unit = bounds(GeospatialCoordinateBoundsProperty(bounds)) /** * @param mapZoomMode The map zoom modes (manual, auto) of the geospatial window options. */ override fun mapZoomMode(mapZoomMode: String) { cdkBuilder.mapZoomMode(mapZoomMode) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialWindowOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialWindowOptionsProperty, ) : CdkObject(cdkObject), GeospatialWindowOptionsProperty { /** * The bounds options (north, south, west, east) of the geospatial window options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialwindowoptions.html#cfn-quicksight-dashboard-geospatialwindowoptions-bounds) */ override fun bounds(): Any? = unwrap(this).getBounds() /** * The map zoom modes (manual, auto) of the geospatial window options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialwindowoptions.html#cfn-quicksight-dashboard-geospatialwindowoptions-mapzoommode) */ override fun mapZoomMode(): String? = unwrap(this).getMapZoomMode() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GeospatialWindowOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialWindowOptionsProperty): GeospatialWindowOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? GeospatialWindowOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GeospatialWindowOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialWindowOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialWindowOptionsProperty } } /** * Determines the border options for a table visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GlobalTableBorderOptionsProperty globalTableBorderOptionsProperty = * GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-globaltableborderoptions.html) */ public interface GlobalTableBorderOptionsProperty { /** * Determines the options for side specific border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-globaltableborderoptions.html#cfn-quicksight-dashboard-globaltableborderoptions-sidespecificborder) */ public fun sideSpecificBorder(): Any? = unwrap(this).getSideSpecificBorder() /** * Determines the options for uniform border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-globaltableborderoptions.html#cfn-quicksight-dashboard-globaltableborderoptions-uniformborder) */ public fun uniformBorder(): Any? = unwrap(this).getUniformBorder() /** * A builder for [GlobalTableBorderOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param sideSpecificBorder Determines the options for side specific border. */ public fun sideSpecificBorder(sideSpecificBorder: IResolvable) /** * @param sideSpecificBorder Determines the options for side specific border. */ public fun sideSpecificBorder(sideSpecificBorder: TableSideBorderOptionsProperty) /** * @param sideSpecificBorder Determines the options for side specific border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("06d886e3610c5603ca2031d0999103160f3ffd9b3d012ec1fae2a23a924bd27f") public fun sideSpecificBorder(sideSpecificBorder: TableSideBorderOptionsProperty.Builder.() -> Unit) /** * @param uniformBorder Determines the options for uniform border. */ public fun uniformBorder(uniformBorder: IResolvable) /** * @param uniformBorder Determines the options for uniform border. */ public fun uniformBorder(uniformBorder: TableBorderOptionsProperty) /** * @param uniformBorder Determines the options for uniform border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b64dcaabb54517d2ac372131647ea359b1bcab94400099bf8bbb914f8aa478ec") public fun uniformBorder(uniformBorder: TableBorderOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GlobalTableBorderOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GlobalTableBorderOptionsProperty.builder() /** * @param sideSpecificBorder Determines the options for side specific border. */ override fun sideSpecificBorder(sideSpecificBorder: IResolvable) { cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(IResolvable.Companion::unwrap)) } /** * @param sideSpecificBorder Determines the options for side specific border. */ override fun sideSpecificBorder(sideSpecificBorder: TableSideBorderOptionsProperty) { cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(TableSideBorderOptionsProperty.Companion::unwrap)) } /** * @param sideSpecificBorder Determines the options for side specific border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("06d886e3610c5603ca2031d0999103160f3ffd9b3d012ec1fae2a23a924bd27f") override fun sideSpecificBorder(sideSpecificBorder: TableSideBorderOptionsProperty.Builder.() -> Unit): Unit = sideSpecificBorder(TableSideBorderOptionsProperty(sideSpecificBorder)) /** * @param uniformBorder Determines the options for uniform border. */ override fun uniformBorder(uniformBorder: IResolvable) { cdkBuilder.uniformBorder(uniformBorder.let(IResolvable.Companion::unwrap)) } /** * @param uniformBorder Determines the options for uniform border. */ override fun uniformBorder(uniformBorder: TableBorderOptionsProperty) { cdkBuilder.uniformBorder(uniformBorder.let(TableBorderOptionsProperty.Companion::unwrap)) } /** * @param uniformBorder Determines the options for uniform border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b64dcaabb54517d2ac372131647ea359b1bcab94400099bf8bbb914f8aa478ec") override fun uniformBorder(uniformBorder: TableBorderOptionsProperty.Builder.() -> Unit): Unit = uniformBorder(TableBorderOptionsProperty(uniformBorder)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GlobalTableBorderOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GlobalTableBorderOptionsProperty, ) : CdkObject(cdkObject), GlobalTableBorderOptionsProperty { /** * Determines the options for side specific border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-globaltableborderoptions.html#cfn-quicksight-dashboard-globaltableborderoptions-sidespecificborder) */ override fun sideSpecificBorder(): Any? = unwrap(this).getSideSpecificBorder() /** * Determines the options for uniform border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-globaltableborderoptions.html#cfn-quicksight-dashboard-globaltableborderoptions-uniformborder) */ override fun uniformBorder(): Any? = unwrap(this).getUniformBorder() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GlobalTableBorderOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GlobalTableBorderOptionsProperty): GlobalTableBorderOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? GlobalTableBorderOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GlobalTableBorderOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GlobalTableBorderOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GlobalTableBorderOptionsProperty } } /** * Determines the gradient color settings. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GradientColorProperty gradientColorProperty = GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gradientcolor.html) */ public interface GradientColorProperty { /** * The list of gradient color stops. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gradientcolor.html#cfn-quicksight-dashboard-gradientcolor-stops) */ public fun stops(): Any? = unwrap(this).getStops() /** * A builder for [GradientColorProperty] */ @CdkDslMarker public interface Builder { /** * @param stops The list of gradient color stops. */ public fun stops(stops: IResolvable) /** * @param stops The list of gradient color stops. */ public fun stops(stops: List) /** * @param stops The list of gradient color stops. */ public fun stops(vararg stops: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GradientColorProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GradientColorProperty.builder() /** * @param stops The list of gradient color stops. */ override fun stops(stops: IResolvable) { cdkBuilder.stops(stops.let(IResolvable.Companion::unwrap)) } /** * @param stops The list of gradient color stops. */ override fun stops(stops: List) { cdkBuilder.stops(stops.map{CdkObjectWrappers.unwrap(it)}) } /** * @param stops The list of gradient color stops. */ override fun stops(vararg stops: Any): Unit = stops(stops.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GradientColorProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GradientColorProperty, ) : CdkObject(cdkObject), GradientColorProperty { /** * The list of gradient color stops. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gradientcolor.html#cfn-quicksight-dashboard-gradientcolor-stops) */ override fun stops(): Any? = unwrap(this).getStops() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GradientColorProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GradientColorProperty): GradientColorProperty = CdkObjectWrappers.wrap(cdkObject) as? GradientColorProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GradientColorProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GradientColorProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GradientColorProperty } } /** * Determines the gradient stop configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GradientStopProperty gradientStopProperty = GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gradientstop.html) */ public interface GradientStopProperty { /** * Determines the color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gradientstop.html#cfn-quicksight-dashboard-gradientstop-color) */ public fun color(): String? = unwrap(this).getColor() /** * Determines the data value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gradientstop.html#cfn-quicksight-dashboard-gradientstop-datavalue) */ public fun dataValue(): Number? = unwrap(this).getDataValue() /** * Determines gradient offset value. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gradientstop.html#cfn-quicksight-dashboard-gradientstop-gradientoffset) */ public fun gradientOffset(): Number /** * A builder for [GradientStopProperty] */ @CdkDslMarker public interface Builder { /** * @param color Determines the color. */ public fun color(color: String) /** * @param dataValue Determines the data value. */ public fun dataValue(dataValue: Number) /** * @param gradientOffset Determines gradient offset value. */ public fun gradientOffset(gradientOffset: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GradientStopProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GradientStopProperty.builder() /** * @param color Determines the color. */ override fun color(color: String) { cdkBuilder.color(color) } /** * @param dataValue Determines the data value. */ override fun dataValue(dataValue: Number) { cdkBuilder.dataValue(dataValue) } /** * @param gradientOffset Determines gradient offset value. */ override fun gradientOffset(gradientOffset: Number) { cdkBuilder.gradientOffset(gradientOffset) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GradientStopProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GradientStopProperty, ) : CdkObject(cdkObject), GradientStopProperty { /** * Determines the color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gradientstop.html#cfn-quicksight-dashboard-gradientstop-color) */ override fun color(): String? = unwrap(this).getColor() /** * Determines the data value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gradientstop.html#cfn-quicksight-dashboard-gradientstop-datavalue) */ override fun dataValue(): Number? = unwrap(this).getDataValue() /** * Determines gradient offset value. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gradientstop.html#cfn-quicksight-dashboard-gradientstop-gradientoffset) */ override fun gradientOffset(): Number = unwrap(this).getGradientOffset() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GradientStopProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GradientStopProperty): GradientStopProperty = CdkObjectWrappers.wrap(cdkObject) as? GradientStopProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GradientStopProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GradientStopProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GradientStopProperty } } /** * Configuration options for the canvas of a grid layout. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GridLayoutCanvasSizeOptionsProperty gridLayoutCanvasSizeOptionsProperty = * GridLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() * .resizeOption("resizeOption") * // the properties below are optional * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutcanvassizeoptions.html) */ public interface GridLayoutCanvasSizeOptionsProperty { /** * The options that determine the sizing of the canvas used in a grid layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutcanvassizeoptions.html#cfn-quicksight-dashboard-gridlayoutcanvassizeoptions-screencanvassizeoptions) */ public fun screenCanvasSizeOptions(): Any? = unwrap(this).getScreenCanvasSizeOptions() /** * A builder for [GridLayoutCanvasSizeOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param screenCanvasSizeOptions The options that determine the sizing of the canvas used in * a grid layout. */ public fun screenCanvasSizeOptions(screenCanvasSizeOptions: IResolvable) /** * @param screenCanvasSizeOptions The options that determine the sizing of the canvas used in * a grid layout. */ public fun screenCanvasSizeOptions(screenCanvasSizeOptions: GridLayoutScreenCanvasSizeOptionsProperty) /** * @param screenCanvasSizeOptions The options that determine the sizing of the canvas used in * a grid layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("09fbbf03c824750ae5c0a40247d0da959c5e8890f9d5c1571380230b0ef050dd") public fun screenCanvasSizeOptions(screenCanvasSizeOptions: GridLayoutScreenCanvasSizeOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutCanvasSizeOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutCanvasSizeOptionsProperty.builder() /** * @param screenCanvasSizeOptions The options that determine the sizing of the canvas used in * a grid layout. */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: IResolvable) { cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param screenCanvasSizeOptions The options that determine the sizing of the canvas used in * a grid layout. */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: GridLayoutScreenCanvasSizeOptionsProperty) { cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(GridLayoutScreenCanvasSizeOptionsProperty.Companion::unwrap)) } /** * @param screenCanvasSizeOptions The options that determine the sizing of the canvas used in * a grid layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("09fbbf03c824750ae5c0a40247d0da959c5e8890f9d5c1571380230b0ef050dd") override fun screenCanvasSizeOptions(screenCanvasSizeOptions: GridLayoutScreenCanvasSizeOptionsProperty.Builder.() -> Unit): Unit = screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty(screenCanvasSizeOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutCanvasSizeOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutCanvasSizeOptionsProperty, ) : CdkObject(cdkObject), GridLayoutCanvasSizeOptionsProperty { /** * The options that determine the sizing of the canvas used in a grid layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutcanvassizeoptions.html#cfn-quicksight-dashboard-gridlayoutcanvassizeoptions-screencanvassizeoptions) */ override fun screenCanvasSizeOptions(): Any? = unwrap(this).getScreenCanvasSizeOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GridLayoutCanvasSizeOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutCanvasSizeOptionsProperty): GridLayoutCanvasSizeOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? GridLayoutCanvasSizeOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GridLayoutCanvasSizeOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutCanvasSizeOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutCanvasSizeOptionsProperty } } /** * The configuration for a grid layout. Also called a tiled layout. * * Visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as * designed, with options to fit to screen or view at actual size. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GridLayoutConfigurationProperty gridLayoutConfigurationProperty = * GridLayoutConfigurationProperty.builder() * .elements(List.of(GridLayoutElementProperty.builder() * .columnSpan(123) * .elementId("elementId") * .elementType("elementType") * .rowSpan(123) * // the properties below are optional * .columnIndex(123) * .rowIndex(123) * .build())) * // the properties below are optional * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() * .resizeOption("resizeOption") * // the properties below are optional * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutconfiguration.html) */ public interface GridLayoutConfigurationProperty { /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutconfiguration.html#cfn-quicksight-dashboard-gridlayoutconfiguration-canvassizeoptions) */ public fun canvasSizeOptions(): Any? = unwrap(this).getCanvasSizeOptions() /** * The elements that are included in a grid layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutconfiguration.html#cfn-quicksight-dashboard-gridlayoutconfiguration-elements) */ public fun elements(): Any /** * A builder for [GridLayoutConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param canvasSizeOptions the value to be set. */ public fun canvasSizeOptions(canvasSizeOptions: IResolvable) /** * @param canvasSizeOptions the value to be set. */ public fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) /** * @param canvasSizeOptions the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c004d9e921c95881b30b78c3bfa30cf4dc57e1f06c4b1b61ef5e4878e47efe65") public fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) /** * @param elements The elements that are included in a grid layout. */ public fun elements(elements: IResolvable) /** * @param elements The elements that are included in a grid layout. */ public fun elements(elements: List) /** * @param elements The elements that are included in a grid layout. */ public fun elements(vararg elements: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutConfigurationProperty.builder() /** * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) { cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** * @param canvasSizeOptions the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c004d9e921c95881b30b78c3bfa30cf4dc57e1f06c4b1b61ef5e4878e47efe65") override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): Unit = canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) /** * @param elements The elements that are included in a grid layout. */ override fun elements(elements: IResolvable) { cdkBuilder.elements(elements.let(IResolvable.Companion::unwrap)) } /** * @param elements The elements that are included in a grid layout. */ override fun elements(elements: List) { cdkBuilder.elements(elements.map{CdkObjectWrappers.unwrap(it)}) } /** * @param elements The elements that are included in a grid layout. */ override fun elements(vararg elements: Any): Unit = elements(elements.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutConfigurationProperty, ) : CdkObject(cdkObject), GridLayoutConfigurationProperty { /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutconfiguration.html#cfn-quicksight-dashboard-gridlayoutconfiguration-canvassizeoptions) */ override fun canvasSizeOptions(): Any? = unwrap(this).getCanvasSizeOptions() /** * The elements that are included in a grid layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutconfiguration.html#cfn-quicksight-dashboard-gridlayoutconfiguration-elements) */ override fun elements(): Any = unwrap(this).getElements() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GridLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutConfigurationProperty): GridLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? GridLayoutConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GridLayoutConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutConfigurationProperty } } /** * An element within a grid layout. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GridLayoutElementProperty gridLayoutElementProperty = GridLayoutElementProperty.builder() * .columnSpan(123) * .elementId("elementId") * .elementType("elementType") * .rowSpan(123) * // the properties below are optional * .columnIndex(123) * .rowIndex(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html) */ public interface GridLayoutElementProperty { /** * The column index for the upper left corner of an element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html#cfn-quicksight-dashboard-gridlayoutelement-columnindex) */ public fun columnIndex(): Number? = unwrap(this).getColumnIndex() /** * The width of a grid element expressed as a number of grid columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html#cfn-quicksight-dashboard-gridlayoutelement-columnspan) */ public fun columnSpan(): Number /** * A unique identifier for an element within a grid layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html#cfn-quicksight-dashboard-gridlayoutelement-elementid) */ public fun elementId(): String /** * The type of element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html#cfn-quicksight-dashboard-gridlayoutelement-elementtype) */ public fun elementType(): String /** * The row index for the upper left corner of an element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html#cfn-quicksight-dashboard-gridlayoutelement-rowindex) */ public fun rowIndex(): Number? = unwrap(this).getRowIndex() /** * The height of a grid element expressed as a number of grid rows. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html#cfn-quicksight-dashboard-gridlayoutelement-rowspan) */ public fun rowSpan(): Number /** * A builder for [GridLayoutElementProperty] */ @CdkDslMarker public interface Builder { /** * @param columnIndex The column index for the upper left corner of an element. */ public fun columnIndex(columnIndex: Number) /** * @param columnSpan The width of a grid element expressed as a number of grid columns. */ public fun columnSpan(columnSpan: Number) /** * @param elementId A unique identifier for an element within a grid layout. */ public fun elementId(elementId: String) /** * @param elementType The type of element. */ public fun elementType(elementType: String) /** * @param rowIndex The row index for the upper left corner of an element. */ public fun rowIndex(rowIndex: Number) /** * @param rowSpan The height of a grid element expressed as a number of grid rows. */ public fun rowSpan(rowSpan: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutElementProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutElementProperty.builder() /** * @param columnIndex The column index for the upper left corner of an element. */ override fun columnIndex(columnIndex: Number) { cdkBuilder.columnIndex(columnIndex) } /** * @param columnSpan The width of a grid element expressed as a number of grid columns. */ override fun columnSpan(columnSpan: Number) { cdkBuilder.columnSpan(columnSpan) } /** * @param elementId A unique identifier for an element within a grid layout. */ override fun elementId(elementId: String) { cdkBuilder.elementId(elementId) } /** * @param elementType The type of element. */ override fun elementType(elementType: String) { cdkBuilder.elementType(elementType) } /** * @param rowIndex The row index for the upper left corner of an element. */ override fun rowIndex(rowIndex: Number) { cdkBuilder.rowIndex(rowIndex) } /** * @param rowSpan The height of a grid element expressed as a number of grid rows. */ override fun rowSpan(rowSpan: Number) { cdkBuilder.rowSpan(rowSpan) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutElementProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutElementProperty, ) : CdkObject(cdkObject), GridLayoutElementProperty { /** * The column index for the upper left corner of an element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html#cfn-quicksight-dashboard-gridlayoutelement-columnindex) */ override fun columnIndex(): Number? = unwrap(this).getColumnIndex() /** * The width of a grid element expressed as a number of grid columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html#cfn-quicksight-dashboard-gridlayoutelement-columnspan) */ override fun columnSpan(): Number = unwrap(this).getColumnSpan() /** * A unique identifier for an element within a grid layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html#cfn-quicksight-dashboard-gridlayoutelement-elementid) */ override fun elementId(): String = unwrap(this).getElementId() /** * The type of element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html#cfn-quicksight-dashboard-gridlayoutelement-elementtype) */ override fun elementType(): String = unwrap(this).getElementType() /** * The row index for the upper left corner of an element. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html#cfn-quicksight-dashboard-gridlayoutelement-rowindex) */ override fun rowIndex(): Number? = unwrap(this).getRowIndex() /** * The height of a grid element expressed as a number of grid rows. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutelement.html#cfn-quicksight-dashboard-gridlayoutelement-rowspan) */ override fun rowSpan(): Number = unwrap(this).getRowSpan() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GridLayoutElementProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutElementProperty): GridLayoutElementProperty = CdkObjectWrappers.wrap(cdkObject) as? GridLayoutElementProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GridLayoutElementProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutElementProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutElementProperty } } /** * The options that determine the sizing of the canvas used in a grid layout. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GridLayoutScreenCanvasSizeOptionsProperty gridLayoutScreenCanvasSizeOptionsProperty = * GridLayoutScreenCanvasSizeOptionsProperty.builder() * .resizeOption("resizeOption") * // the properties below are optional * .optimizedViewPortWidth("optimizedViewPortWidth") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutscreencanvassizeoptions.html) */ public interface GridLayoutScreenCanvasSizeOptionsProperty { /** * The width that the view port will be optimized for when the layout renders. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutscreencanvassizeoptions.html#cfn-quicksight-dashboard-gridlayoutscreencanvassizeoptions-optimizedviewportwidth) */ public fun optimizedViewPortWidth(): String? = unwrap(this).getOptimizedViewPortWidth() /** * This value determines the layout behavior when the viewport is resized. * * * `FIXED` : A fixed width will be used when optimizing the layout. In the Amazon QuickSight * console, this option is called `Classic` . * * `RESPONSIVE` : The width of the canvas will be responsive and optimized to the view port. * In the Amazon QuickSight console, this option is called `Tiled` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutscreencanvassizeoptions.html#cfn-quicksight-dashboard-gridlayoutscreencanvassizeoptions-resizeoption) */ public fun resizeOption(): String /** * A builder for [GridLayoutScreenCanvasSizeOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param optimizedViewPortWidth The width that the view port will be optimized for when the * layout renders. */ public fun optimizedViewPortWidth(optimizedViewPortWidth: String) /** * @param resizeOption This value determines the layout behavior when the viewport is resized. * * * `FIXED` : A fixed width will be used when optimizing the layout. In the Amazon QuickSight * console, this option is called `Classic` . * * `RESPONSIVE` : The width of the canvas will be responsive and optimized to the view port. * In the Amazon QuickSight console, this option is called `Tiled` . */ public fun resizeOption(resizeOption: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutScreenCanvasSizeOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutScreenCanvasSizeOptionsProperty.builder() /** * @param optimizedViewPortWidth The width that the view port will be optimized for when the * layout renders. */ override fun optimizedViewPortWidth(optimizedViewPortWidth: String) { cdkBuilder.optimizedViewPortWidth(optimizedViewPortWidth) } /** * @param resizeOption This value determines the layout behavior when the viewport is resized. * * * `FIXED` : A fixed width will be used when optimizing the layout. In the Amazon QuickSight * console, this option is called `Classic` . * * `RESPONSIVE` : The width of the canvas will be responsive and optimized to the view port. * In the Amazon QuickSight console, this option is called `Tiled` . */ override fun resizeOption(resizeOption: String) { cdkBuilder.resizeOption(resizeOption) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutScreenCanvasSizeOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutScreenCanvasSizeOptionsProperty, ) : CdkObject(cdkObject), GridLayoutScreenCanvasSizeOptionsProperty { /** * The width that the view port will be optimized for when the layout renders. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutscreencanvassizeoptions.html#cfn-quicksight-dashboard-gridlayoutscreencanvassizeoptions-optimizedviewportwidth) */ override fun optimizedViewPortWidth(): String? = unwrap(this).getOptimizedViewPortWidth() /** * This value determines the layout behavior when the viewport is resized. * * * `FIXED` : A fixed width will be used when optimizing the layout. In the Amazon QuickSight * console, this option is called `Classic` . * * `RESPONSIVE` : The width of the canvas will be responsive and optimized to the view port. * In the Amazon QuickSight console, this option is called `Tiled` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-gridlayoutscreencanvassizeoptions.html#cfn-quicksight-dashboard-gridlayoutscreencanvassizeoptions-resizeoption) */ override fun resizeOption(): String = unwrap(this).getResizeOption() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GridLayoutScreenCanvasSizeOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutScreenCanvasSizeOptionsProperty): GridLayoutScreenCanvasSizeOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? GridLayoutScreenCanvasSizeOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GridLayoutScreenCanvasSizeOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutScreenCanvasSizeOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutScreenCanvasSizeOptionsProperty } } /** * The growth rate computation configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * GrowthRateComputationProperty growthRateComputationProperty = * GrowthRateComputationProperty.builder() * .computationId("computationId") * // the properties below are optional * .name("name") * .periodSize(123) * .time(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build()) * .value(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-growthratecomputation.html) */ public interface GrowthRateComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-growthratecomputation.html#cfn-quicksight-dashboard-growthratecomputation-computationid) */ public fun computationId(): String /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-growthratecomputation.html#cfn-quicksight-dashboard-growthratecomputation-name) */ public fun name(): String? = unwrap(this).getName() /** * The period size setup of a growth rate computation. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-growthratecomputation.html#cfn-quicksight-dashboard-growthratecomputation-periodsize) */ public fun periodSize(): Number? = unwrap(this).getPeriodSize() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-growthratecomputation.html#cfn-quicksight-dashboard-growthratecomputation-time) */ public fun time(): Any? = unwrap(this).getTime() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-growthratecomputation.html#cfn-quicksight-dashboard-growthratecomputation-value) */ public fun `value`(): Any? = unwrap(this).getValue() /** * A builder for [GrowthRateComputationProperty] */ @CdkDslMarker public interface Builder { /** * @param computationId The ID for a computation. */ public fun computationId(computationId: String) /** * @param name The name of a computation. */ public fun name(name: String) /** * @param periodSize The period size setup of a growth rate computation. */ public fun periodSize(periodSize: Number) /** * @param time The time field that is used in a computation. */ public fun time(time: IResolvable) /** * @param time The time field that is used in a computation. */ public fun time(time: DimensionFieldProperty) /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("751bf5075ce6f604d06bbfe90d4adc7491ff6a47a6ad0a1e0217b7de9c34f23d") public fun time(time: DimensionFieldProperty.Builder.() -> Unit) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: IResolvable) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: MeasureFieldProperty) /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9015b0af31a18ef82d621ac4b48eefe105d0af6281b4797e01ec0658c5fbf54f") public fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.GrowthRateComputationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.GrowthRateComputationProperty.builder() /** * @param computationId The ID for a computation. */ override fun computationId(computationId: String) { cdkBuilder.computationId(computationId) } /** * @param name The name of a computation. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param periodSize The period size setup of a growth rate computation. */ override fun periodSize(periodSize: Number) { cdkBuilder.periodSize(periodSize) } /** * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("751bf5075ce6f604d06bbfe90d4adc7491ff6a47a6ad0a1e0217b7de9c34f23d") override fun time(time: DimensionFieldProperty.Builder.() -> Unit): Unit = time(DimensionFieldProperty(time)) /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9015b0af31a18ef82d621ac4b48eefe105d0af6281b4797e01ec0658c5fbf54f") override fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit): Unit = `value`(MeasureFieldProperty(`value`)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.GrowthRateComputationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GrowthRateComputationProperty, ) : CdkObject(cdkObject), GrowthRateComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-growthratecomputation.html#cfn-quicksight-dashboard-growthratecomputation-computationid) */ override fun computationId(): String = unwrap(this).getComputationId() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-growthratecomputation.html#cfn-quicksight-dashboard-growthratecomputation-name) */ override fun name(): String? = unwrap(this).getName() /** * The period size setup of a growth rate computation. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-growthratecomputation.html#cfn-quicksight-dashboard-growthratecomputation-periodsize) */ override fun periodSize(): Number? = unwrap(this).getPeriodSize() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-growthratecomputation.html#cfn-quicksight-dashboard-growthratecomputation-time) */ override fun time(): Any? = unwrap(this).getTime() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-growthratecomputation.html#cfn-quicksight-dashboard-growthratecomputation-value) */ override fun `value`(): Any? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): GrowthRateComputationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.GrowthRateComputationProperty): GrowthRateComputationProperty = CdkObjectWrappers.wrap(cdkObject) as? GrowthRateComputationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: GrowthRateComputationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.GrowthRateComputationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.GrowthRateComputationProperty } } /** * The configuration of a header or footer section. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * HeaderFooterSectionConfigurationProperty headerFooterSectionConfigurationProperty = * HeaderFooterSectionConfigurationProperty.builder() * .layout(SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build()) * .sectionId("sectionId") * // the properties below are optional * .style(SectionStyleProperty.builder() * .height("height") * .padding(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-headerfootersectionconfiguration.html) */ public interface HeaderFooterSectionConfigurationProperty { /** * The layout configuration of the header or footer section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-headerfootersectionconfiguration.html#cfn-quicksight-dashboard-headerfootersectionconfiguration-layout) */ public fun layout(): Any /** * The unique identifier of the header or footer section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-headerfootersectionconfiguration.html#cfn-quicksight-dashboard-headerfootersectionconfiguration-sectionid) */ public fun sectionId(): String /** * The style options of a header or footer section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-headerfootersectionconfiguration.html#cfn-quicksight-dashboard-headerfootersectionconfiguration-style) */ public fun style(): Any? = unwrap(this).getStyle() /** * A builder for [HeaderFooterSectionConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param layout The layout configuration of the header or footer section. */ public fun layout(layout: IResolvable) /** * @param layout The layout configuration of the header or footer section. */ public fun layout(layout: SectionLayoutConfigurationProperty) /** * @param layout The layout configuration of the header or footer section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e8cc50015ec9045a8043085db05713b0101a97bc96e412aa4c425d9b724dc7a1") public fun layout(layout: SectionLayoutConfigurationProperty.Builder.() -> Unit) /** * @param sectionId The unique identifier of the header or footer section. */ public fun sectionId(sectionId: String) /** * @param style The style options of a header or footer section. */ public fun style(style: IResolvable) /** * @param style The style options of a header or footer section. */ public fun style(style: SectionStyleProperty) /** * @param style The style options of a header or footer section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3bbca0e87fc6708b557bd53d7ec4060e00dedfd786e853b9ab47279964a76ff4") public fun style(style: SectionStyleProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.HeaderFooterSectionConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.HeaderFooterSectionConfigurationProperty.builder() /** * @param layout The layout configuration of the header or footer section. */ override fun layout(layout: IResolvable) { cdkBuilder.layout(layout.let(IResolvable.Companion::unwrap)) } /** * @param layout The layout configuration of the header or footer section. */ override fun layout(layout: SectionLayoutConfigurationProperty) { cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty.Companion::unwrap)) } /** * @param layout The layout configuration of the header or footer section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e8cc50015ec9045a8043085db05713b0101a97bc96e412aa4c425d9b724dc7a1") override fun layout(layout: SectionLayoutConfigurationProperty.Builder.() -> Unit): Unit = layout(SectionLayoutConfigurationProperty(layout)) /** * @param sectionId The unique identifier of the header or footer section. */ override fun sectionId(sectionId: String) { cdkBuilder.sectionId(sectionId) } /** * @param style The style options of a header or footer section. */ override fun style(style: IResolvable) { cdkBuilder.style(style.let(IResolvable.Companion::unwrap)) } /** * @param style The style options of a header or footer section. */ override fun style(style: SectionStyleProperty) { cdkBuilder.style(style.let(SectionStyleProperty.Companion::unwrap)) } /** * @param style The style options of a header or footer section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3bbca0e87fc6708b557bd53d7ec4060e00dedfd786e853b9ab47279964a76ff4") override fun style(style: SectionStyleProperty.Builder.() -> Unit): Unit = style(SectionStyleProperty(style)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.HeaderFooterSectionConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HeaderFooterSectionConfigurationProperty, ) : CdkObject(cdkObject), HeaderFooterSectionConfigurationProperty { /** * The layout configuration of the header or footer section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-headerfootersectionconfiguration.html#cfn-quicksight-dashboard-headerfootersectionconfiguration-layout) */ override fun layout(): Any = unwrap(this).getLayout() /** * The unique identifier of the header or footer section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-headerfootersectionconfiguration.html#cfn-quicksight-dashboard-headerfootersectionconfiguration-sectionid) */ override fun sectionId(): String = unwrap(this).getSectionId() /** * The style options of a header or footer section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-headerfootersectionconfiguration.html#cfn-quicksight-dashboard-headerfootersectionconfiguration-style) */ override fun style(): Any? = unwrap(this).getStyle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): HeaderFooterSectionConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HeaderFooterSectionConfigurationProperty): HeaderFooterSectionConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? HeaderFooterSectionConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: HeaderFooterSectionConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.HeaderFooterSectionConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.HeaderFooterSectionConfigurationProperty } } /** * The aggregated field wells of a heat map. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapaggregatedfieldwells.html) */ public interface HeatMapAggregatedFieldWellsProperty { /** * The columns field well of a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapaggregatedfieldwells.html#cfn-quicksight-dashboard-heatmapaggregatedfieldwells-columns) */ public fun columns(): Any? = unwrap(this).getColumns() /** * The rows field well of a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapaggregatedfieldwells.html#cfn-quicksight-dashboard-heatmapaggregatedfieldwells-rows) */ public fun rows(): Any? = unwrap(this).getRows() /** * The values field well of a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapaggregatedfieldwells.html#cfn-quicksight-dashboard-heatmapaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [HeatMapAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param columns The columns field well of a heat map. */ public fun columns(columns: IResolvable) /** * @param columns The columns field well of a heat map. */ public fun columns(columns: List) /** * @param columns The columns field well of a heat map. */ public fun columns(vararg columns: Any) /** * @param rows The rows field well of a heat map. */ public fun rows(rows: IResolvable) /** * @param rows The rows field well of a heat map. */ public fun rows(rows: List) /** * @param rows The rows field well of a heat map. */ public fun rows(vararg rows: Any) /** * @param values The values field well of a heat map. */ public fun values(values: IResolvable) /** * @param values The values field well of a heat map. */ public fun values(values: List) /** * @param values The values field well of a heat map. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapAggregatedFieldWellsProperty.builder() /** * @param columns The columns field well of a heat map. */ override fun columns(columns: IResolvable) { cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** * @param columns The columns field well of a heat map. */ override fun columns(columns: List) { cdkBuilder.columns(columns.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columns The columns field well of a heat map. */ override fun columns(vararg columns: Any): Unit = columns(columns.toList()) /** * @param rows The rows field well of a heat map. */ override fun rows(rows: IResolvable) { cdkBuilder.rows(rows.let(IResolvable.Companion::unwrap)) } /** * @param rows The rows field well of a heat map. */ override fun rows(rows: List) { cdkBuilder.rows(rows.map{CdkObjectWrappers.unwrap(it)}) } /** * @param rows The rows field well of a heat map. */ override fun rows(vararg rows: Any): Unit = rows(rows.toList()) /** * @param values The values field well of a heat map. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The values field well of a heat map. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The values field well of a heat map. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), HeatMapAggregatedFieldWellsProperty { /** * The columns field well of a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapaggregatedfieldwells.html#cfn-quicksight-dashboard-heatmapaggregatedfieldwells-columns) */ override fun columns(): Any? = unwrap(this).getColumns() /** * The rows field well of a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapaggregatedfieldwells.html#cfn-quicksight-dashboard-heatmapaggregatedfieldwells-rows) */ override fun rows(): Any? = unwrap(this).getRows() /** * The values field well of a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapaggregatedfieldwells.html#cfn-quicksight-dashboard-heatmapaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): HeatMapAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapAggregatedFieldWellsProperty): HeatMapAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? HeatMapAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: HeatMapAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapAggregatedFieldWellsProperty } } /** * The configuration of a heat map. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html) */ public interface HeatMapConfigurationProperty { /** * The color options (gradient color, point of divergence) in a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-colorscale) */ public fun colorScale(): Any? = unwrap(this).getColorScale() /** * The label options of the column that is displayed in a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-columnlabeloptions) */ public fun columnLabelOptions(): Any? = unwrap(this).getColumnLabelOptions() /** * The options that determine if visual data labels are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-datalabels) */ public fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-legend) */ public fun legend(): Any? = unwrap(this).getLegend() /** * The label options of the row that is displayed in a `heat map` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-rowlabeloptions) */ public fun rowLabelOptions(): Any? = unwrap(this).getRowLabelOptions() /** * The sort configuration of a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-tooltip) */ public fun tooltip(): Any? = unwrap(this).getTooltip() /** * A builder for [HeatMapConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param colorScale The color options (gradient color, point of divergence) in a heat map. */ public fun colorScale(colorScale: IResolvable) /** * @param colorScale The color options (gradient color, point of divergence) in a heat map. */ public fun colorScale(colorScale: ColorScaleProperty) /** * @param colorScale The color options (gradient color, point of divergence) in a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("be500d7b1a74046d4218a52ffb524a9c195fb51d2bfe3f097fde8e6b785997f4") public fun colorScale(colorScale: ColorScaleProperty.Builder.() -> Unit) /** * @param columnLabelOptions The label options of the column that is displayed in a heat map. */ public fun columnLabelOptions(columnLabelOptions: IResolvable) /** * @param columnLabelOptions The label options of the column that is displayed in a heat map. */ public fun columnLabelOptions(columnLabelOptions: ChartAxisLabelOptionsProperty) /** * @param columnLabelOptions The label options of the column that is displayed in a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("12be902d3b4ec0823cf00c4f838627f275c95b19b8365a088514a6cdf18d2b10") public fun columnLabelOptions(columnLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param dataLabels The options that determine if visual data labels are displayed. */ public fun dataLabels(dataLabels: IResolvable) /** * @param dataLabels The options that determine if visual data labels are displayed. */ public fun dataLabels(dataLabels: DataLabelOptionsProperty) /** * @param dataLabels The options that determine if visual data labels are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("528505637b99aab2c5840472ca4c5ff6af001151240ea21f03b0bf6b0d8eb0f2") public fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: HeatMapFieldWellsProperty) /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8c5f36af5b24a499480015d1895875ace6adbf382835c20f321d31439435cdb1") public fun fieldWells(fieldWells: HeatMapFieldWellsProperty.Builder.() -> Unit) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: IResolvable) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: LegendOptionsProperty) /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bb2c893bb9ea2e86ff4f8f6b500e65ce78afff22982c503abf267bd7e58b9dac") public fun legend(legend: LegendOptionsProperty.Builder.() -> Unit) /** * @param rowLabelOptions The label options of the row that is displayed in a `heat map` . */ public fun rowLabelOptions(rowLabelOptions: IResolvable) /** * @param rowLabelOptions The label options of the row that is displayed in a `heat map` . */ public fun rowLabelOptions(rowLabelOptions: ChartAxisLabelOptionsProperty) /** * @param rowLabelOptions The label options of the row that is displayed in a `heat map` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c7aea1b70a59dabf472d9ff048a6ca4a921b15498cf13734e9405bbb9f43355f") public fun rowLabelOptions(rowLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration of a heat map. */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a heat map. */ public fun sortConfiguration(sortConfiguration: HeatMapSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2b994e2192ba45e04312af3498918dd7a7283d2fa3bd902fb204fe7f40535c9d") public fun sortConfiguration(sortConfiguration: HeatMapSortConfigurationProperty.Builder.() -> Unit) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: IResolvable) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: TooltipOptionsProperty) /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a63b1bb96970e7dd68f21b659df9030897b93922f8e6befe90224393fd9a086c") public fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapConfigurationProperty.builder() /** * @param colorScale The color options (gradient color, point of divergence) in a heat map. */ override fun colorScale(colorScale: IResolvable) { cdkBuilder.colorScale(colorScale.let(IResolvable.Companion::unwrap)) } /** * @param colorScale The color options (gradient color, point of divergence) in a heat map. */ override fun colorScale(colorScale: ColorScaleProperty) { cdkBuilder.colorScale(colorScale.let(ColorScaleProperty.Companion::unwrap)) } /** * @param colorScale The color options (gradient color, point of divergence) in a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("be500d7b1a74046d4218a52ffb524a9c195fb51d2bfe3f097fde8e6b785997f4") override fun colorScale(colorScale: ColorScaleProperty.Builder.() -> Unit): Unit = colorScale(ColorScaleProperty(colorScale)) /** * @param columnLabelOptions The label options of the column that is displayed in a heat map. */ override fun columnLabelOptions(columnLabelOptions: IResolvable) { cdkBuilder.columnLabelOptions(columnLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param columnLabelOptions The label options of the column that is displayed in a heat map. */ override fun columnLabelOptions(columnLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.columnLabelOptions(columnLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param columnLabelOptions The label options of the column that is displayed in a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("12be902d3b4ec0823cf00c4f838627f275c95b19b8365a088514a6cdf18d2b10") override fun columnLabelOptions(columnLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = columnLabelOptions(ChartAxisLabelOptionsProperty(columnLabelOptions)) /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("528505637b99aab2c5840472ca4c5ff6af001151240ea21f03b0bf6b0d8eb0f2") override fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit): Unit = dataLabels(DataLabelOptionsProperty(dataLabels)) /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: HeatMapFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(HeatMapFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8c5f36af5b24a499480015d1895875ace6adbf382835c20f321d31439435cdb1") override fun fieldWells(fieldWells: HeatMapFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(HeatMapFieldWellsProperty(fieldWells)) /** * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bb2c893bb9ea2e86ff4f8f6b500e65ce78afff22982c503abf267bd7e58b9dac") override fun legend(legend: LegendOptionsProperty.Builder.() -> Unit): Unit = legend(LegendOptionsProperty(legend)) /** * @param rowLabelOptions The label options of the row that is displayed in a `heat map` . */ override fun rowLabelOptions(rowLabelOptions: IResolvable) { cdkBuilder.rowLabelOptions(rowLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowLabelOptions The label options of the row that is displayed in a `heat map` . */ override fun rowLabelOptions(rowLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.rowLabelOptions(rowLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param rowLabelOptions The label options of the row that is displayed in a `heat map` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c7aea1b70a59dabf472d9ff048a6ca4a921b15498cf13734e9405bbb9f43355f") override fun rowLabelOptions(rowLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = rowLabelOptions(ChartAxisLabelOptionsProperty(rowLabelOptions)) /** * @param sortConfiguration The sort configuration of a heat map. */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a heat map. */ override fun sortConfiguration(sortConfiguration: HeatMapSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(HeatMapSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2b994e2192ba45e04312af3498918dd7a7283d2fa3bd902fb204fe7f40535c9d") override fun sortConfiguration(sortConfiguration: HeatMapSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(HeatMapSortConfigurationProperty(sortConfiguration)) /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a63b1bb96970e7dd68f21b659df9030897b93922f8e6befe90224393fd9a086c") override fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltip(TooltipOptionsProperty(tooltip)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapConfigurationProperty, ) : CdkObject(cdkObject), HeatMapConfigurationProperty { /** * The color options (gradient color, point of divergence) in a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-colorscale) */ override fun colorScale(): Any? = unwrap(this).getColorScale() /** * The label options of the column that is displayed in a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-columnlabeloptions) */ override fun columnLabelOptions(): Any? = unwrap(this).getColumnLabelOptions() /** * The options that determine if visual data labels are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-datalabels) */ override fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-legend) */ override fun legend(): Any? = unwrap(this).getLegend() /** * The label options of the row that is displayed in a `heat map` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-rowlabeloptions) */ override fun rowLabelOptions(): Any? = unwrap(this).getRowLabelOptions() /** * The sort configuration of a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapconfiguration.html#cfn-quicksight-dashboard-heatmapconfiguration-tooltip) */ override fun tooltip(): Any? = unwrap(this).getTooltip() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): HeatMapConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapConfigurationProperty): HeatMapConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? HeatMapConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: HeatMapConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapConfigurationProperty } } /** * The field well configuration of a heat map. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapfieldwells.html) */ public interface HeatMapFieldWellsProperty { /** * The aggregated field wells of a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapfieldwells.html#cfn-quicksight-dashboard-heatmapfieldwells-heatmapaggregatedfieldwells) */ public fun heatMapAggregatedFieldWells(): Any? = unwrap(this).getHeatMapAggregatedFieldWells() /** * A builder for [HeatMapFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param heatMapAggregatedFieldWells The aggregated field wells of a heat map. */ public fun heatMapAggregatedFieldWells(heatMapAggregatedFieldWells: IResolvable) /** * @param heatMapAggregatedFieldWells The aggregated field wells of a heat map. */ public fun heatMapAggregatedFieldWells(heatMapAggregatedFieldWells: HeatMapAggregatedFieldWellsProperty) /** * @param heatMapAggregatedFieldWells The aggregated field wells of a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("32e9cbb72ca226ad3da690f0dc01672c146a5d7a20b8a77fe85d01f26de6c0fa") public fun heatMapAggregatedFieldWells(heatMapAggregatedFieldWells: HeatMapAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapFieldWellsProperty.builder() /** * @param heatMapAggregatedFieldWells The aggregated field wells of a heat map. */ override fun heatMapAggregatedFieldWells(heatMapAggregatedFieldWells: IResolvable) { cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param heatMapAggregatedFieldWells The aggregated field wells of a heat map. */ override fun heatMapAggregatedFieldWells(heatMapAggregatedFieldWells: HeatMapAggregatedFieldWellsProperty) { cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(HeatMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param heatMapAggregatedFieldWells The aggregated field wells of a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("32e9cbb72ca226ad3da690f0dc01672c146a5d7a20b8a77fe85d01f26de6c0fa") override fun heatMapAggregatedFieldWells(heatMapAggregatedFieldWells: HeatMapAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = heatMapAggregatedFieldWells(HeatMapAggregatedFieldWellsProperty(heatMapAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapFieldWellsProperty, ) : CdkObject(cdkObject), HeatMapFieldWellsProperty { /** * The aggregated field wells of a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapfieldwells.html#cfn-quicksight-dashboard-heatmapfieldwells-heatmapaggregatedfieldwells) */ override fun heatMapAggregatedFieldWells(): Any? = unwrap(this).getHeatMapAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): HeatMapFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapFieldWellsProperty): HeatMapFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? HeatMapFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: HeatMapFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapFieldWellsProperty } } /** * The sort configuration of a heat map. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * HeatMapSortConfigurationProperty heatMapSortConfigurationProperty = * HeatMapSortConfigurationProperty.builder() * .heatMapColumnItemsLimitConfiguration(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .heatMapColumnSort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .heatMapRowItemsLimitConfiguration(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .heatMapRowSort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapsortconfiguration.html) */ public interface HeatMapSortConfigurationProperty { /** * The limit on the number of columns that are displayed in a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapsortconfiguration.html#cfn-quicksight-dashboard-heatmapsortconfiguration-heatmapcolumnitemslimitconfiguration) */ public fun heatMapColumnItemsLimitConfiguration(): Any? = unwrap(this).getHeatMapColumnItemsLimitConfiguration() /** * The column sort configuration for heat map for columns that aren't a part of a field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapsortconfiguration.html#cfn-quicksight-dashboard-heatmapsortconfiguration-heatmapcolumnsort) */ public fun heatMapColumnSort(): Any? = unwrap(this).getHeatMapColumnSort() /** * The limit on the number of rows that are displayed in a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapsortconfiguration.html#cfn-quicksight-dashboard-heatmapsortconfiguration-heatmaprowitemslimitconfiguration) */ public fun heatMapRowItemsLimitConfiguration(): Any? = unwrap(this).getHeatMapRowItemsLimitConfiguration() /** * The field sort configuration of the rows fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapsortconfiguration.html#cfn-quicksight-dashboard-heatmapsortconfiguration-heatmaprowsort) */ public fun heatMapRowSort(): Any? = unwrap(this).getHeatMapRowSort() /** * A builder for [HeatMapSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param heatMapColumnItemsLimitConfiguration The limit on the number of columns that are * displayed in a heat map. */ public fun heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration: IResolvable) /** * @param heatMapColumnItemsLimitConfiguration The limit on the number of columns that are * displayed in a heat map. */ public fun heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration: ItemsLimitConfigurationProperty) /** * @param heatMapColumnItemsLimitConfiguration The limit on the number of columns that are * displayed in a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1d2e8bf99ae8be4b8688ded9bea095ccee00c2dc175f97d3b3280619544ccf6f") public fun heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param heatMapColumnSort The column sort configuration for heat map for columns that aren't * a part of a field well. */ public fun heatMapColumnSort(heatMapColumnSort: IResolvable) /** * @param heatMapColumnSort The column sort configuration for heat map for columns that aren't * a part of a field well. */ public fun heatMapColumnSort(heatMapColumnSort: List) /** * @param heatMapColumnSort The column sort configuration for heat map for columns that aren't * a part of a field well. */ public fun heatMapColumnSort(vararg heatMapColumnSort: Any) /** * @param heatMapRowItemsLimitConfiguration The limit on the number of rows that are displayed * in a heat map. */ public fun heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration: IResolvable) /** * @param heatMapRowItemsLimitConfiguration The limit on the number of rows that are displayed * in a heat map. */ public fun heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration: ItemsLimitConfigurationProperty) /** * @param heatMapRowItemsLimitConfiguration The limit on the number of rows that are displayed * in a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("38edb727a83f6238e86e12478f10fec3ef0ae43ba8a41425a93e5d179d3d47f3") public fun heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param heatMapRowSort The field sort configuration of the rows fields. */ public fun heatMapRowSort(heatMapRowSort: IResolvable) /** * @param heatMapRowSort The field sort configuration of the rows fields. */ public fun heatMapRowSort(heatMapRowSort: List) /** * @param heatMapRowSort The field sort configuration of the rows fields. */ public fun heatMapRowSort(vararg heatMapRowSort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapSortConfigurationProperty.builder() /** * @param heatMapColumnItemsLimitConfiguration The limit on the number of columns that are * displayed in a heat map. */ override fun heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration: IResolvable) { cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param heatMapColumnItemsLimitConfiguration The limit on the number of columns that are * displayed in a heat map. */ override fun heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration: ItemsLimitConfigurationProperty) { cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param heatMapColumnItemsLimitConfiguration The limit on the number of columns that are * displayed in a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1d2e8bf99ae8be4b8688ded9bea095ccee00c2dc175f97d3b3280619544ccf6f") override fun heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = heatMapColumnItemsLimitConfiguration(ItemsLimitConfigurationProperty(heatMapColumnItemsLimitConfiguration)) /** * @param heatMapColumnSort The column sort configuration for heat map for columns that aren't * a part of a field well. */ override fun heatMapColumnSort(heatMapColumnSort: IResolvable) { cdkBuilder.heatMapColumnSort(heatMapColumnSort.let(IResolvable.Companion::unwrap)) } /** * @param heatMapColumnSort The column sort configuration for heat map for columns that aren't * a part of a field well. */ override fun heatMapColumnSort(heatMapColumnSort: List) { cdkBuilder.heatMapColumnSort(heatMapColumnSort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param heatMapColumnSort The column sort configuration for heat map for columns that aren't * a part of a field well. */ override fun heatMapColumnSort(vararg heatMapColumnSort: Any): Unit = heatMapColumnSort(heatMapColumnSort.toList()) /** * @param heatMapRowItemsLimitConfiguration The limit on the number of rows that are displayed * in a heat map. */ override fun heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration: IResolvable) { cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param heatMapRowItemsLimitConfiguration The limit on the number of rows that are displayed * in a heat map. */ override fun heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration: ItemsLimitConfigurationProperty) { cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param heatMapRowItemsLimitConfiguration The limit on the number of rows that are displayed * in a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("38edb727a83f6238e86e12478f10fec3ef0ae43ba8a41425a93e5d179d3d47f3") override fun heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = heatMapRowItemsLimitConfiguration(ItemsLimitConfigurationProperty(heatMapRowItemsLimitConfiguration)) /** * @param heatMapRowSort The field sort configuration of the rows fields. */ override fun heatMapRowSort(heatMapRowSort: IResolvable) { cdkBuilder.heatMapRowSort(heatMapRowSort.let(IResolvable.Companion::unwrap)) } /** * @param heatMapRowSort The field sort configuration of the rows fields. */ override fun heatMapRowSort(heatMapRowSort: List) { cdkBuilder.heatMapRowSort(heatMapRowSort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param heatMapRowSort The field sort configuration of the rows fields. */ override fun heatMapRowSort(vararg heatMapRowSort: Any): Unit = heatMapRowSort(heatMapRowSort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapSortConfigurationProperty, ) : CdkObject(cdkObject), HeatMapSortConfigurationProperty { /** * The limit on the number of columns that are displayed in a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapsortconfiguration.html#cfn-quicksight-dashboard-heatmapsortconfiguration-heatmapcolumnitemslimitconfiguration) */ override fun heatMapColumnItemsLimitConfiguration(): Any? = unwrap(this).getHeatMapColumnItemsLimitConfiguration() /** * The column sort configuration for heat map for columns that aren't a part of a field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapsortconfiguration.html#cfn-quicksight-dashboard-heatmapsortconfiguration-heatmapcolumnsort) */ override fun heatMapColumnSort(): Any? = unwrap(this).getHeatMapColumnSort() /** * The limit on the number of rows that are displayed in a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapsortconfiguration.html#cfn-quicksight-dashboard-heatmapsortconfiguration-heatmaprowitemslimitconfiguration) */ override fun heatMapRowItemsLimitConfiguration(): Any? = unwrap(this).getHeatMapRowItemsLimitConfiguration() /** * The field sort configuration of the rows fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapsortconfiguration.html#cfn-quicksight-dashboard-heatmapsortconfiguration-heatmaprowsort) */ override fun heatMapRowSort(): Any? = unwrap(this).getHeatMapRowSort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): HeatMapSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapSortConfigurationProperty): HeatMapSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? HeatMapSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: HeatMapSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapSortConfigurationProperty } } /** * A heat map. * * For more information, see [Using heat * maps](https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) in the *Amazon QuickSight * User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html) */ public interface HeatMapVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html#cfn-quicksight-dashboard-heatmapvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html#cfn-quicksight-dashboard-heatmapvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html#cfn-quicksight-dashboard-heatmapvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html#cfn-quicksight-dashboard-heatmapvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html#cfn-quicksight-dashboard-heatmapvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html#cfn-quicksight-dashboard-heatmapvisual-visualid) */ public fun visualId(): String /** * A builder for [HeatMapVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration of a heat map. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration of a heat map. */ public fun chartConfiguration(chartConfiguration: HeatMapConfigurationProperty) /** * @param chartConfiguration The configuration of a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("74a7664749031b698ad0f4c9245870bf83ff4edecc19d9cdb7d8ce60ff777aab") public fun chartConfiguration(chartConfiguration: HeatMapConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("12061fbcdd028dd47aa55a72945a9e706b7d8b337f229c8779be8a80135db828") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fc8b47099e992c391c72d63398a8b29a3a8c1f06948615bab8a35ad9e3502f2a") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration of a heat map. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a heat map. */ override fun chartConfiguration(chartConfiguration: HeatMapConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(HeatMapConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a heat map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("74a7664749031b698ad0f4c9245870bf83ff4edecc19d9cdb7d8ce60ff777aab") override fun chartConfiguration(chartConfiguration: HeatMapConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(HeatMapConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("12061fbcdd028dd47aa55a72945a9e706b7d8b337f229c8779be8a80135db828") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fc8b47099e992c391c72d63398a8b29a3a8c1f06948615bab8a35ad9e3502f2a") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapVisualProperty, ) : CdkObject(cdkObject), HeatMapVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html#cfn-quicksight-dashboard-heatmapvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a heat map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html#cfn-quicksight-dashboard-heatmapvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html#cfn-quicksight-dashboard-heatmapvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html#cfn-quicksight-dashboard-heatmapvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html#cfn-quicksight-dashboard-heatmapvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-heatmapvisual.html#cfn-quicksight-dashboard-heatmapvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): HeatMapVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapVisualProperty): HeatMapVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? HeatMapVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: HeatMapVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.HeatMapVisualProperty } } /** * The field well configuration of a histogram. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * HistogramAggregatedFieldWellsProperty histogramAggregatedFieldWellsProperty = * HistogramAggregatedFieldWellsProperty.builder() * .values(List.of(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramaggregatedfieldwells.html) */ public interface HistogramAggregatedFieldWellsProperty { /** * The value field wells of a histogram. * * Values are aggregated by `COUNT` or `DISTINCT_COUNT` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramaggregatedfieldwells.html#cfn-quicksight-dashboard-histogramaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [HistogramAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param values The value field wells of a histogram. * Values are aggregated by `COUNT` or `DISTINCT_COUNT` . */ public fun values(values: IResolvable) /** * @param values The value field wells of a histogram. * Values are aggregated by `COUNT` or `DISTINCT_COUNT` . */ public fun values(values: List) /** * @param values The value field wells of a histogram. * Values are aggregated by `COUNT` or `DISTINCT_COUNT` . */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramAggregatedFieldWellsProperty.builder() /** * @param values The value field wells of a histogram. * Values are aggregated by `COUNT` or `DISTINCT_COUNT` . */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The value field wells of a histogram. * Values are aggregated by `COUNT` or `DISTINCT_COUNT` . */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The value field wells of a histogram. * Values are aggregated by `COUNT` or `DISTINCT_COUNT` . */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), HistogramAggregatedFieldWellsProperty { /** * The value field wells of a histogram. * * Values are aggregated by `COUNT` or `DISTINCT_COUNT` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramaggregatedfieldwells.html#cfn-quicksight-dashboard-histogramaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): HistogramAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramAggregatedFieldWellsProperty): HistogramAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? HistogramAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: HistogramAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramAggregatedFieldWellsProperty } } /** * The options that determine the presentation of histogram bins. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * HistogramBinOptionsProperty histogramBinOptionsProperty = HistogramBinOptionsProperty.builder() * .binCount(BinCountOptionsProperty.builder() * .value(123) * .build()) * .binWidth(BinWidthOptionsProperty.builder() * .binCountLimit(123) * .value(123) * .build()) * .selectedBinType("selectedBinType") * .startValue(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogrambinoptions.html) */ public interface HistogramBinOptionsProperty { /** * The options that determine the bin count of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogrambinoptions.html#cfn-quicksight-dashboard-histogrambinoptions-bincount) */ public fun binCount(): Any? = unwrap(this).getBinCount() /** * The options that determine the bin width of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogrambinoptions.html#cfn-quicksight-dashboard-histogrambinoptions-binwidth) */ public fun binWidth(): Any? = unwrap(this).getBinWidth() /** * The options that determine the selected bin type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogrambinoptions.html#cfn-quicksight-dashboard-histogrambinoptions-selectedbintype) */ public fun selectedBinType(): String? = unwrap(this).getSelectedBinType() /** * The options that determine the bin start value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogrambinoptions.html#cfn-quicksight-dashboard-histogrambinoptions-startvalue) */ public fun startValue(): Number? = unwrap(this).getStartValue() /** * A builder for [HistogramBinOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param binCount The options that determine the bin count of a histogram. */ public fun binCount(binCount: IResolvable) /** * @param binCount The options that determine the bin count of a histogram. */ public fun binCount(binCount: BinCountOptionsProperty) /** * @param binCount The options that determine the bin count of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e29d1b788f4f3c7706c9d27d1d7de66d9d9ed075d2370b2bf0bc1d402470a7ef") public fun binCount(binCount: BinCountOptionsProperty.Builder.() -> Unit) /** * @param binWidth The options that determine the bin width of a histogram. */ public fun binWidth(binWidth: IResolvable) /** * @param binWidth The options that determine the bin width of a histogram. */ public fun binWidth(binWidth: BinWidthOptionsProperty) /** * @param binWidth The options that determine the bin width of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9abd823821035fae57b107e6bfcc969c511d43a6da06120fed3c29cd48d3656c") public fun binWidth(binWidth: BinWidthOptionsProperty.Builder.() -> Unit) /** * @param selectedBinType The options that determine the selected bin type. */ public fun selectedBinType(selectedBinType: String) /** * @param startValue The options that determine the bin start value. */ public fun startValue(startValue: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramBinOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramBinOptionsProperty.builder() /** * @param binCount The options that determine the bin count of a histogram. */ override fun binCount(binCount: IResolvable) { cdkBuilder.binCount(binCount.let(IResolvable.Companion::unwrap)) } /** * @param binCount The options that determine the bin count of a histogram. */ override fun binCount(binCount: BinCountOptionsProperty) { cdkBuilder.binCount(binCount.let(BinCountOptionsProperty.Companion::unwrap)) } /** * @param binCount The options that determine the bin count of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e29d1b788f4f3c7706c9d27d1d7de66d9d9ed075d2370b2bf0bc1d402470a7ef") override fun binCount(binCount: BinCountOptionsProperty.Builder.() -> Unit): Unit = binCount(BinCountOptionsProperty(binCount)) /** * @param binWidth The options that determine the bin width of a histogram. */ override fun binWidth(binWidth: IResolvable) { cdkBuilder.binWidth(binWidth.let(IResolvable.Companion::unwrap)) } /** * @param binWidth The options that determine the bin width of a histogram. */ override fun binWidth(binWidth: BinWidthOptionsProperty) { cdkBuilder.binWidth(binWidth.let(BinWidthOptionsProperty.Companion::unwrap)) } /** * @param binWidth The options that determine the bin width of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9abd823821035fae57b107e6bfcc969c511d43a6da06120fed3c29cd48d3656c") override fun binWidth(binWidth: BinWidthOptionsProperty.Builder.() -> Unit): Unit = binWidth(BinWidthOptionsProperty(binWidth)) /** * @param selectedBinType The options that determine the selected bin type. */ override fun selectedBinType(selectedBinType: String) { cdkBuilder.selectedBinType(selectedBinType) } /** * @param startValue The options that determine the bin start value. */ override fun startValue(startValue: Number) { cdkBuilder.startValue(startValue) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramBinOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramBinOptionsProperty, ) : CdkObject(cdkObject), HistogramBinOptionsProperty { /** * The options that determine the bin count of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogrambinoptions.html#cfn-quicksight-dashboard-histogrambinoptions-bincount) */ override fun binCount(): Any? = unwrap(this).getBinCount() /** * The options that determine the bin width of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogrambinoptions.html#cfn-quicksight-dashboard-histogrambinoptions-binwidth) */ override fun binWidth(): Any? = unwrap(this).getBinWidth() /** * The options that determine the selected bin type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogrambinoptions.html#cfn-quicksight-dashboard-histogrambinoptions-selectedbintype) */ override fun selectedBinType(): String? = unwrap(this).getSelectedBinType() /** * The options that determine the bin start value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogrambinoptions.html#cfn-quicksight-dashboard-histogrambinoptions-startvalue) */ override fun startValue(): Number? = unwrap(this).getStartValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): HistogramBinOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramBinOptionsProperty): HistogramBinOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? HistogramBinOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: HistogramBinOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramBinOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramBinOptionsProperty } } /** * The configuration for a `HistogramVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html) */ public interface HistogramConfigurationProperty { /** * The options that determine the presentation of histogram bins. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-binoptions) */ public fun binOptions(): Any? = unwrap(this).getBinOptions() /** * The data label configuration of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-datalabels) */ public fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field well configuration of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The tooltip configuration of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-tooltip) */ public fun tooltip(): Any? = unwrap(this).getTooltip() /** * The visual palette configuration of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-visualpalette) */ public fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * The options that determine the presentation of the x-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-xaxisdisplayoptions) */ public fun xAxisDisplayOptions(): Any? = unwrap(this).getXAxisDisplayOptions() /** * The options that determine the presentation of the x-axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-xaxislabeloptions) */ public fun xAxisLabelOptions(): Any? = unwrap(this).getXAxisLabelOptions() /** * The options that determine the presentation of the y-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-yaxisdisplayoptions) */ public fun yAxisDisplayOptions(): Any? = unwrap(this).getYAxisDisplayOptions() /** * A builder for [HistogramConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param binOptions The options that determine the presentation of histogram bins. */ public fun binOptions(binOptions: IResolvable) /** * @param binOptions The options that determine the presentation of histogram bins. */ public fun binOptions(binOptions: HistogramBinOptionsProperty) /** * @param binOptions The options that determine the presentation of histogram bins. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("52370dc02855efe8b9039e2de1fc831f62366508efde5ad0e3eeeccb4ea9857e") public fun binOptions(binOptions: HistogramBinOptionsProperty.Builder.() -> Unit) /** * @param dataLabels The data label configuration of a histogram. */ public fun dataLabels(dataLabels: IResolvable) /** * @param dataLabels The data label configuration of a histogram. */ public fun dataLabels(dataLabels: DataLabelOptionsProperty) /** * @param dataLabels The data label configuration of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b7dd98bea60052392902695328fe3fdce33a64f41bdeab636bc4061a6f9c40cf") public fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field well configuration of a histogram. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field well configuration of a histogram. */ public fun fieldWells(fieldWells: HistogramFieldWellsProperty) /** * @param fieldWells The field well configuration of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b49f6623022c03ae982275176040a67d73e8b1351b5bc667c24dff15af54b78d") public fun fieldWells(fieldWells: HistogramFieldWellsProperty.Builder.() -> Unit) /** * @param tooltip The tooltip configuration of a histogram. */ public fun tooltip(tooltip: IResolvable) /** * @param tooltip The tooltip configuration of a histogram. */ public fun tooltip(tooltip: TooltipOptionsProperty) /** * @param tooltip The tooltip configuration of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("55304a3da91b5380766826ef10238973741b6a041e504faa29952ff74fced3ed") public fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit) /** * @param visualPalette The visual palette configuration of a histogram. */ public fun visualPalette(visualPalette: IResolvable) /** * @param visualPalette The visual palette configuration of a histogram. */ public fun visualPalette(visualPalette: VisualPaletteProperty) /** * @param visualPalette The visual palette configuration of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("876383e3c633f53b0561511137f06189dd34bac96d9e0aaa78408e32b86726ac") public fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit) /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ public fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ public fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5aa37819d6059934bac9018c6dafdb13c84c91959a8f8c04ef8334eb8eb240fa") public fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ public fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ public fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bd8b3644eaeecf89b8546a485261e9a164edc3d2ed1b4bc3396acce12081a5c3") public fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param yAxisDisplayOptions The options that determine the presentation of the y-axis. */ public fun yAxisDisplayOptions(yAxisDisplayOptions: IResolvable) /** * @param yAxisDisplayOptions The options that determine the presentation of the y-axis. */ public fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty) /** * @param yAxisDisplayOptions The options that determine the presentation of the y-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("761a06991596531f56f5a26f47a57bdee29e67a76cb9e9c72b0c33b41bfd58bb") public fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramConfigurationProperty.builder() /** * @param binOptions The options that determine the presentation of histogram bins. */ override fun binOptions(binOptions: IResolvable) { cdkBuilder.binOptions(binOptions.let(IResolvable.Companion::unwrap)) } /** * @param binOptions The options that determine the presentation of histogram bins. */ override fun binOptions(binOptions: HistogramBinOptionsProperty) { cdkBuilder.binOptions(binOptions.let(HistogramBinOptionsProperty.Companion::unwrap)) } /** * @param binOptions The options that determine the presentation of histogram bins. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("52370dc02855efe8b9039e2de1fc831f62366508efde5ad0e3eeeccb4ea9857e") override fun binOptions(binOptions: HistogramBinOptionsProperty.Builder.() -> Unit): Unit = binOptions(HistogramBinOptionsProperty(binOptions)) /** * @param dataLabels The data label configuration of a histogram. */ override fun dataLabels(dataLabels: IResolvable) { cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a histogram. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b7dd98bea60052392902695328fe3fdce33a64f41bdeab636bc4061a6f9c40cf") override fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit): Unit = dataLabels(DataLabelOptionsProperty(dataLabels)) /** * @param fieldWells The field well configuration of a histogram. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a histogram. */ override fun fieldWells(fieldWells: HistogramFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(HistogramFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b49f6623022c03ae982275176040a67d73e8b1351b5bc667c24dff15af54b78d") override fun fieldWells(fieldWells: HistogramFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(HistogramFieldWellsProperty(fieldWells)) /** * @param tooltip The tooltip configuration of a histogram. */ override fun tooltip(tooltip: IResolvable) { cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a histogram. */ override fun tooltip(tooltip: TooltipOptionsProperty) { cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("55304a3da91b5380766826ef10238973741b6a041e504faa29952ff74fced3ed") override fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltip(TooltipOptionsProperty(tooltip)) /** * @param visualPalette The visual palette configuration of a histogram. */ override fun visualPalette(visualPalette: IResolvable) { cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a histogram. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("876383e3c633f53b0561511137f06189dd34bac96d9e0aaa78408e32b86726ac") override fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit): Unit = visualPalette(VisualPaletteProperty(visualPalette)) /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) { cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) { cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5aa37819d6059934bac9018c6dafdb13c84c91959a8f8c04ef8334eb8eb240fa") override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = xAxisDisplayOptions(AxisDisplayOptionsProperty(xAxisDisplayOptions)) /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) { cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bd8b3644eaeecf89b8546a485261e9a164edc3d2ed1b4bc3396acce12081a5c3") override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = xAxisLabelOptions(ChartAxisLabelOptionsProperty(xAxisLabelOptions)) /** * @param yAxisDisplayOptions The options that determine the presentation of the y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: IResolvable) { cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param yAxisDisplayOptions The options that determine the presentation of the y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty) { cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param yAxisDisplayOptions The options that determine the presentation of the y-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("761a06991596531f56f5a26f47a57bdee29e67a76cb9e9c72b0c33b41bfd58bb") override fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = yAxisDisplayOptions(AxisDisplayOptionsProperty(yAxisDisplayOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramConfigurationProperty, ) : CdkObject(cdkObject), HistogramConfigurationProperty { /** * The options that determine the presentation of histogram bins. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-binoptions) */ override fun binOptions(): Any? = unwrap(this).getBinOptions() /** * The data label configuration of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-datalabels) */ override fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field well configuration of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The tooltip configuration of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-tooltip) */ override fun tooltip(): Any? = unwrap(this).getTooltip() /** * The visual palette configuration of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-visualpalette) */ override fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * The options that determine the presentation of the x-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-xaxisdisplayoptions) */ override fun xAxisDisplayOptions(): Any? = unwrap(this).getXAxisDisplayOptions() /** * The options that determine the presentation of the x-axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-xaxislabeloptions) */ override fun xAxisLabelOptions(): Any? = unwrap(this).getXAxisLabelOptions() /** * The options that determine the presentation of the y-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramconfiguration.html#cfn-quicksight-dashboard-histogramconfiguration-yaxisdisplayoptions) */ override fun yAxisDisplayOptions(): Any? = unwrap(this).getYAxisDisplayOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): HistogramConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramConfigurationProperty): HistogramConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? HistogramConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: HistogramConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramConfigurationProperty } } /** * The field well configuration of a histogram. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * HistogramFieldWellsProperty histogramFieldWellsProperty = HistogramFieldWellsProperty.builder() * .histogramAggregatedFieldWells(HistogramAggregatedFieldWellsProperty.builder() * .values(List.of(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build())) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramfieldwells.html) */ public interface HistogramFieldWellsProperty { /** * The field well configuration of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramfieldwells.html#cfn-quicksight-dashboard-histogramfieldwells-histogramaggregatedfieldwells) */ public fun histogramAggregatedFieldWells(): Any? = unwrap(this).getHistogramAggregatedFieldWells() /** * A builder for [HistogramFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param histogramAggregatedFieldWells The field well configuration of a histogram. */ public fun histogramAggregatedFieldWells(histogramAggregatedFieldWells: IResolvable) /** * @param histogramAggregatedFieldWells The field well configuration of a histogram. */ public fun histogramAggregatedFieldWells(histogramAggregatedFieldWells: HistogramAggregatedFieldWellsProperty) /** * @param histogramAggregatedFieldWells The field well configuration of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("959e6f7b390d607685134a4673680e196d754d0e9960673961bd7eb84f62b35e") public fun histogramAggregatedFieldWells(histogramAggregatedFieldWells: HistogramAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramFieldWellsProperty.builder() /** * @param histogramAggregatedFieldWells The field well configuration of a histogram. */ override fun histogramAggregatedFieldWells(histogramAggregatedFieldWells: IResolvable) { cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param histogramAggregatedFieldWells The field well configuration of a histogram. */ override fun histogramAggregatedFieldWells(histogramAggregatedFieldWells: HistogramAggregatedFieldWellsProperty) { cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(HistogramAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param histogramAggregatedFieldWells The field well configuration of a histogram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("959e6f7b390d607685134a4673680e196d754d0e9960673961bd7eb84f62b35e") override fun histogramAggregatedFieldWells(histogramAggregatedFieldWells: HistogramAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = histogramAggregatedFieldWells(HistogramAggregatedFieldWellsProperty(histogramAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramFieldWellsProperty, ) : CdkObject(cdkObject), HistogramFieldWellsProperty { /** * The field well configuration of a histogram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramfieldwells.html#cfn-quicksight-dashboard-histogramfieldwells-histogramaggregatedfieldwells) */ override fun histogramAggregatedFieldWells(): Any? = unwrap(this).getHistogramAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): HistogramFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramFieldWellsProperty): HistogramFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? HistogramFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: HistogramFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramFieldWellsProperty } } /** * A histogram. * * For more information, see [Using * histograms](https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) in the * *Amazon QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramvisual.html) */ public interface HistogramVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramvisual.html#cfn-quicksight-dashboard-histogramvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration for a `HistogramVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramvisual.html#cfn-quicksight-dashboard-histogramvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramvisual.html#cfn-quicksight-dashboard-histogramvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramvisual.html#cfn-quicksight-dashboard-histogramvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramvisual.html#cfn-quicksight-dashboard-histogramvisual-visualid) */ public fun visualId(): String /** * A builder for [HistogramVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration for a `HistogramVisual` . */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration for a `HistogramVisual` . */ public fun chartConfiguration(chartConfiguration: HistogramConfigurationProperty) /** * @param chartConfiguration The configuration for a `HistogramVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b483a1dcc13d5f5800dd9a55588315cb126e2a04e5bf86969d6cb561cca1a5d8") public fun chartConfiguration(chartConfiguration: HistogramConfigurationProperty.Builder.() -> Unit) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("53063163e0cef0c55a8d32394051c4200f5951dd7889cb0fd3de8e6f57b8ec24") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8b2d1ceca7092c197a467f948b881ef06f984206cecd92da078ae7d428ca0d2b") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration for a `HistogramVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration for a `HistogramVisual` . */ override fun chartConfiguration(chartConfiguration: HistogramConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(HistogramConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration for a `HistogramVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b483a1dcc13d5f5800dd9a55588315cb126e2a04e5bf86969d6cb561cca1a5d8") override fun chartConfiguration(chartConfiguration: HistogramConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(HistogramConfigurationProperty(chartConfiguration)) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("53063163e0cef0c55a8d32394051c4200f5951dd7889cb0fd3de8e6f57b8ec24") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8b2d1ceca7092c197a467f948b881ef06f984206cecd92da078ae7d428ca0d2b") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramVisualProperty, ) : CdkObject(cdkObject), HistogramVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramvisual.html#cfn-quicksight-dashboard-histogramvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration for a `HistogramVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramvisual.html#cfn-quicksight-dashboard-histogramvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramvisual.html#cfn-quicksight-dashboard-histogramvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramvisual.html#cfn-quicksight-dashboard-histogramvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-histogramvisual.html#cfn-quicksight-dashboard-histogramvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): HistogramVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramVisualProperty): HistogramVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? HistogramVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: HistogramVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.HistogramVisualProperty } } /** * The `InnerFilter` defines the subset of data to be used with the `NestedFilter` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * InnerFilterProperty innerFilterProperty = InnerFilterProperty.builder() * .categoryInnerFilter(CategoryInnerFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .configuration(CategoryFilterConfigurationProperty.builder() * .customFilterConfiguration(CustomFilterConfigurationProperty.builder() * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .categoryValue("categoryValue") * .parameterName("parameterName") * .selectAllOptions("selectAllOptions") * .build()) * .customFilterListConfiguration(CustomFilterListConfigurationProperty.builder() * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .categoryValues(List.of("categoryValues")) * .selectAllOptions("selectAllOptions") * .build()) * .filterListConfiguration(FilterListConfigurationProperty.builder() * .matchOperator("matchOperator") * // the properties below are optional * .categoryValues(List.of("categoryValues")) * .nullOption("nullOption") * .selectAllOptions("selectAllOptions") * .build()) * .build()) * // the properties below are optional * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() * .controlOptions(DefaultFilterControlOptionsProperty.builder() * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build()) * .title("title") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-innerfilter.html) */ public interface InnerFilterProperty { /** * A `CategoryInnerFilter` filters text values for the `NestedFilter` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-innerfilter.html#cfn-quicksight-dashboard-innerfilter-categoryinnerfilter) */ public fun categoryInnerFilter(): Any? = unwrap(this).getCategoryInnerFilter() /** * A builder for [InnerFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryInnerFilter A `CategoryInnerFilter` filters text values for the * `NestedFilter` . */ public fun categoryInnerFilter(categoryInnerFilter: IResolvable) /** * @param categoryInnerFilter A `CategoryInnerFilter` filters text values for the * `NestedFilter` . */ public fun categoryInnerFilter(categoryInnerFilter: CategoryInnerFilterProperty) /** * @param categoryInnerFilter A `CategoryInnerFilter` filters text values for the * `NestedFilter` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e0283ecaf23fe7710901c1dc37a41ef4b50d696a37870c210fdc59fe71d65a99") public fun categoryInnerFilter(categoryInnerFilter: CategoryInnerFilterProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.InnerFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.InnerFilterProperty.builder() /** * @param categoryInnerFilter A `CategoryInnerFilter` filters text values for the * `NestedFilter` . */ override fun categoryInnerFilter(categoryInnerFilter: IResolvable) { cdkBuilder.categoryInnerFilter(categoryInnerFilter.let(IResolvable.Companion::unwrap)) } /** * @param categoryInnerFilter A `CategoryInnerFilter` filters text values for the * `NestedFilter` . */ override fun categoryInnerFilter(categoryInnerFilter: CategoryInnerFilterProperty) { cdkBuilder.categoryInnerFilter(categoryInnerFilter.let(CategoryInnerFilterProperty.Companion::unwrap)) } /** * @param categoryInnerFilter A `CategoryInnerFilter` filters text values for the * `NestedFilter` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e0283ecaf23fe7710901c1dc37a41ef4b50d696a37870c210fdc59fe71d65a99") override fun categoryInnerFilter(categoryInnerFilter: CategoryInnerFilterProperty.Builder.() -> Unit): Unit = categoryInnerFilter(CategoryInnerFilterProperty(categoryInnerFilter)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.InnerFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.InnerFilterProperty, ) : CdkObject(cdkObject), InnerFilterProperty { /** * A `CategoryInnerFilter` filters text values for the `NestedFilter` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-innerfilter.html#cfn-quicksight-dashboard-innerfilter-categoryinnerfilter) */ override fun categoryInnerFilter(): Any? = unwrap(this).getCategoryInnerFilter() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): InnerFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.InnerFilterProperty): InnerFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? InnerFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: InnerFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.InnerFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.InnerFilterProperty } } /** * The configuration of an insight visual. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightconfiguration.html) */ public interface InsightConfigurationProperty { /** * The computations configurations of the insight visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightconfiguration.html#cfn-quicksight-dashboard-insightconfiguration-computations) */ public fun computations(): Any? = unwrap(this).getComputations() /** * The custom narrative of the insight visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightconfiguration.html#cfn-quicksight-dashboard-insightconfiguration-customnarrative) */ public fun customNarrative(): Any? = unwrap(this).getCustomNarrative() /** * A builder for [InsightConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param computations The computations configurations of the insight visual. */ public fun computations(computations: IResolvable) /** * @param computations The computations configurations of the insight visual. */ public fun computations(computations: List) /** * @param computations The computations configurations of the insight visual. */ public fun computations(vararg computations: Any) /** * @param customNarrative The custom narrative of the insight visual. */ public fun customNarrative(customNarrative: IResolvable) /** * @param customNarrative The custom narrative of the insight visual. */ public fun customNarrative(customNarrative: CustomNarrativeOptionsProperty) /** * @param customNarrative The custom narrative of the insight visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5dd5db3a1b54f7d54340e3b7031e9e9fd83bb5d643cf6a033e41a0a42500f90b") public fun customNarrative(customNarrative: CustomNarrativeOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.InsightConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.InsightConfigurationProperty.builder() /** * @param computations The computations configurations of the insight visual. */ override fun computations(computations: IResolvable) { cdkBuilder.computations(computations.let(IResolvable.Companion::unwrap)) } /** * @param computations The computations configurations of the insight visual. */ override fun computations(computations: List) { cdkBuilder.computations(computations.map{CdkObjectWrappers.unwrap(it)}) } /** * @param computations The computations configurations of the insight visual. */ override fun computations(vararg computations: Any): Unit = computations(computations.toList()) /** * @param customNarrative The custom narrative of the insight visual. */ override fun customNarrative(customNarrative: IResolvable) { cdkBuilder.customNarrative(customNarrative.let(IResolvable.Companion::unwrap)) } /** * @param customNarrative The custom narrative of the insight visual. */ override fun customNarrative(customNarrative: CustomNarrativeOptionsProperty) { cdkBuilder.customNarrative(customNarrative.let(CustomNarrativeOptionsProperty.Companion::unwrap)) } /** * @param customNarrative The custom narrative of the insight visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5dd5db3a1b54f7d54340e3b7031e9e9fd83bb5d643cf6a033e41a0a42500f90b") override fun customNarrative(customNarrative: CustomNarrativeOptionsProperty.Builder.() -> Unit): Unit = customNarrative(CustomNarrativeOptionsProperty(customNarrative)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.InsightConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.InsightConfigurationProperty, ) : CdkObject(cdkObject), InsightConfigurationProperty { /** * The computations configurations of the insight visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightconfiguration.html#cfn-quicksight-dashboard-insightconfiguration-computations) */ override fun computations(): Any? = unwrap(this).getComputations() /** * The custom narrative of the insight visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightconfiguration.html#cfn-quicksight-dashboard-insightconfiguration-customnarrative) */ override fun customNarrative(): Any? = unwrap(this).getCustomNarrative() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): InsightConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.InsightConfigurationProperty): InsightConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? InsightConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: InsightConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.InsightConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.InsightConfigurationProperty } } /** * An insight visual. * * For more information, see [Working with * insights](https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) in the * *Amazon QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html) */ public interface InsightVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html#cfn-quicksight-dashboard-insightvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The dataset that is used in the insight visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html#cfn-quicksight-dashboard-insightvisual-datasetidentifier) */ public fun dataSetIdentifier(): String /** * The configuration of an insight visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html#cfn-quicksight-dashboard-insightvisual-insightconfiguration) */ public fun insightConfiguration(): Any? = unwrap(this).getInsightConfiguration() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html#cfn-quicksight-dashboard-insightvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html#cfn-quicksight-dashboard-insightvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html#cfn-quicksight-dashboard-insightvisual-visualid) */ public fun visualId(): String /** * A builder for [InsightVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param dataSetIdentifier The dataset that is used in the insight visual. */ public fun dataSetIdentifier(dataSetIdentifier: String) /** * @param insightConfiguration The configuration of an insight visual. */ public fun insightConfiguration(insightConfiguration: IResolvable) /** * @param insightConfiguration The configuration of an insight visual. */ public fun insightConfiguration(insightConfiguration: InsightConfigurationProperty) /** * @param insightConfiguration The configuration of an insight visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("caca809be2a2237999de265d53c14ab55187a8b11160fa3b45698a8c750e39ee") public fun insightConfiguration(insightConfiguration: InsightConfigurationProperty.Builder.() -> Unit) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cce209737e3f3a2b38f93314f8c4042a5da89f45487f35f7ac9c1ca076b158a8") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9c1a0e2cce2e858ddf79b640ce3310ca0768fd6914139dd492798fed726a99bb") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.InsightVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.InsightVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param dataSetIdentifier The dataset that is used in the insight visual. */ override fun dataSetIdentifier(dataSetIdentifier: String) { cdkBuilder.dataSetIdentifier(dataSetIdentifier) } /** * @param insightConfiguration The configuration of an insight visual. */ override fun insightConfiguration(insightConfiguration: IResolvable) { cdkBuilder.insightConfiguration(insightConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param insightConfiguration The configuration of an insight visual. */ override fun insightConfiguration(insightConfiguration: InsightConfigurationProperty) { cdkBuilder.insightConfiguration(insightConfiguration.let(InsightConfigurationProperty.Companion::unwrap)) } /** * @param insightConfiguration The configuration of an insight visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("caca809be2a2237999de265d53c14ab55187a8b11160fa3b45698a8c750e39ee") override fun insightConfiguration(insightConfiguration: InsightConfigurationProperty.Builder.() -> Unit): Unit = insightConfiguration(InsightConfigurationProperty(insightConfiguration)) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cce209737e3f3a2b38f93314f8c4042a5da89f45487f35f7ac9c1ca076b158a8") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9c1a0e2cce2e858ddf79b640ce3310ca0768fd6914139dd492798fed726a99bb") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.InsightVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.InsightVisualProperty, ) : CdkObject(cdkObject), InsightVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html#cfn-quicksight-dashboard-insightvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The dataset that is used in the insight visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html#cfn-quicksight-dashboard-insightvisual-datasetidentifier) */ override fun dataSetIdentifier(): String = unwrap(this).getDataSetIdentifier() /** * The configuration of an insight visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html#cfn-quicksight-dashboard-insightvisual-insightconfiguration) */ override fun insightConfiguration(): Any? = unwrap(this).getInsightConfiguration() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html#cfn-quicksight-dashboard-insightvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html#cfn-quicksight-dashboard-insightvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-insightvisual.html#cfn-quicksight-dashboard-insightvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): InsightVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.InsightVisualProperty): InsightVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? InsightVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: InsightVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.InsightVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.InsightVisualProperty } } /** * The default values of the `IntegerParameterDeclaration` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * IntegerDefaultValuesProperty integerDefaultValuesProperty = * IntegerDefaultValuesProperty.builder() * .dynamicValue(DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .staticValues(List.of(123)) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerdefaultvalues.html) */ public interface IntegerDefaultValuesProperty { /** * The dynamic value of the `IntegerDefaultValues` . * * Different defaults are displayed according to users, groups, and values mapping. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerdefaultvalues.html#cfn-quicksight-dashboard-integerdefaultvalues-dynamicvalue) */ public fun dynamicValue(): Any? = unwrap(this).getDynamicValue() /** * The static values of the `IntegerDefaultValues` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerdefaultvalues.html#cfn-quicksight-dashboard-integerdefaultvalues-staticvalues) */ public fun staticValues(): Any? = unwrap(this).getStaticValues() /** * A builder for [IntegerDefaultValuesProperty] */ @CdkDslMarker public interface Builder { /** * @param dynamicValue The dynamic value of the `IntegerDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ public fun dynamicValue(dynamicValue: IResolvable) /** * @param dynamicValue The dynamic value of the `IntegerDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ public fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) /** * @param dynamicValue The dynamic value of the `IntegerDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("965be281aebd69609cdc916c4f1bbbc2a17b322d0f49c945e9292ffebcab57aa") public fun dynamicValue(dynamicValue: DynamicDefaultValueProperty.Builder.() -> Unit) /** * @param staticValues The static values of the `IntegerDefaultValues` . */ public fun staticValues(staticValues: IResolvable) /** * @param staticValues The static values of the `IntegerDefaultValues` . */ public fun staticValues(staticValues: List) /** * @param staticValues The static values of the `IntegerDefaultValues` . */ public fun staticValues(vararg staticValues: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerDefaultValuesProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerDefaultValuesProperty.builder() /** * @param dynamicValue The dynamic value of the `IntegerDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** * @param dynamicValue The dynamic value of the `IntegerDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** * @param dynamicValue The dynamic value of the `IntegerDefaultValues` . * Different defaults are displayed according to users, groups, and values mapping. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("965be281aebd69609cdc916c4f1bbbc2a17b322d0f49c945e9292ffebcab57aa") override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty.Builder.() -> Unit): Unit = dynamicValue(DynamicDefaultValueProperty(dynamicValue)) /** * @param staticValues The static values of the `IntegerDefaultValues` . */ override fun staticValues(staticValues: IResolvable) { cdkBuilder.staticValues(staticValues.let(IResolvable.Companion::unwrap)) } /** * @param staticValues The static values of the `IntegerDefaultValues` . */ override fun staticValues(staticValues: List) { cdkBuilder.staticValues(staticValues) } /** * @param staticValues The static values of the `IntegerDefaultValues` . */ override fun staticValues(vararg staticValues: Number): Unit = staticValues(staticValues.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerDefaultValuesProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerDefaultValuesProperty, ) : CdkObject(cdkObject), IntegerDefaultValuesProperty { /** * The dynamic value of the `IntegerDefaultValues` . * * Different defaults are displayed according to users, groups, and values mapping. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerdefaultvalues.html#cfn-quicksight-dashboard-integerdefaultvalues-dynamicvalue) */ override fun dynamicValue(): Any? = unwrap(this).getDynamicValue() /** * The static values of the `IntegerDefaultValues` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerdefaultvalues.html#cfn-quicksight-dashboard-integerdefaultvalues-staticvalues) */ override fun staticValues(): Any? = unwrap(this).getStaticValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): IntegerDefaultValuesProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerDefaultValuesProperty): IntegerDefaultValuesProperty = CdkObjectWrappers.wrap(cdkObject) as? IntegerDefaultValuesProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: IntegerDefaultValuesProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerDefaultValuesProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerDefaultValuesProperty } } /** * A parameter declaration for the `Integer` data type. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * IntegerParameterDeclarationProperty integerParameterDeclarationProperty = * IntegerParameterDeclarationProperty.builder() * .name("name") * .parameterValueType("parameterValueType") * // the properties below are optional * .defaultValues(IntegerDefaultValuesProperty.builder() * .dynamicValue(DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .staticValues(List.of(123)) * .build()) * .mappedDataSetParameters(List.of(MappedDataSetParameterProperty.builder() * .dataSetIdentifier("dataSetIdentifier") * .dataSetParameterName("dataSetParameterName") * .build())) * .valueWhenUnset(IntegerValueWhenUnsetConfigurationProperty.builder() * .customValue(123) * .valueWhenUnsetOption("valueWhenUnsetOption") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameterdeclaration.html) */ public interface IntegerParameterDeclarationProperty { /** * The default values of a parameter. * * If the parameter is a single-value parameter, a maximum of one default value can be provided. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameterdeclaration.html#cfn-quicksight-dashboard-integerparameterdeclaration-defaultvalues) */ public fun defaultValues(): Any? = unwrap(this).getDefaultValues() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameterdeclaration.html#cfn-quicksight-dashboard-integerparameterdeclaration-mappeddatasetparameters) */ public fun mappedDataSetParameters(): Any? = unwrap(this).getMappedDataSetParameters() /** * The name of the parameter that is being declared. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameterdeclaration.html#cfn-quicksight-dashboard-integerparameterdeclaration-name) */ public fun name(): String /** * The value type determines whether the parameter is a single-value or multi-value parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameterdeclaration.html#cfn-quicksight-dashboard-integerparameterdeclaration-parametervaluetype) */ public fun parameterValueType(): String /** * A parameter declaration for the `Integer` data type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameterdeclaration.html#cfn-quicksight-dashboard-integerparameterdeclaration-valuewhenunset) */ public fun valueWhenUnset(): Any? = unwrap(this).getValueWhenUnset() /** * A builder for [IntegerParameterDeclarationProperty] */ @CdkDslMarker public interface Builder { /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ public fun defaultValues(defaultValues: IResolvable) /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ public fun defaultValues(defaultValues: IntegerDefaultValuesProperty) /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33979f7f4ee7add8395ba15f92661d0b65b52773eb7174e9a8b4e6fbe02a0806") public fun defaultValues(defaultValues: IntegerDefaultValuesProperty.Builder.() -> Unit) /** * @param mappedDataSetParameters the value to be set. */ public fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) /** * @param mappedDataSetParameters the value to be set. */ public fun mappedDataSetParameters(mappedDataSetParameters: List) /** * @param mappedDataSetParameters the value to be set. */ public fun mappedDataSetParameters(vararg mappedDataSetParameters: Any) /** * @param name The name of the parameter that is being declared. */ public fun name(name: String) /** * @param parameterValueType The value type determines whether the parameter is a single-value * or multi-value parameter. */ public fun parameterValueType(parameterValueType: String) /** * @param valueWhenUnset A parameter declaration for the `Integer` data type. */ public fun valueWhenUnset(valueWhenUnset: IResolvable) /** * @param valueWhenUnset A parameter declaration for the `Integer` data type. */ public fun valueWhenUnset(valueWhenUnset: IntegerValueWhenUnsetConfigurationProperty) /** * @param valueWhenUnset A parameter declaration for the `Integer` data type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ab7a1b2652fcd548dce8d4736a37b13523b9f98ac968702fe5b554351d8ea6dc") public fun valueWhenUnset(valueWhenUnset: IntegerValueWhenUnsetConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterDeclarationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterDeclarationProperty.builder() /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ override fun defaultValues(defaultValues: IResolvable) { cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ override fun defaultValues(defaultValues: IntegerDefaultValuesProperty) { cdkBuilder.defaultValues(defaultValues.let(IntegerDefaultValuesProperty.Companion::unwrap)) } /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33979f7f4ee7add8395ba15f92661d0b65b52773eb7174e9a8b4e6fbe02a0806") override fun defaultValues(defaultValues: IntegerDefaultValuesProperty.Builder.() -> Unit): Unit = defaultValues(IntegerDefaultValuesProperty(defaultValues)) /** * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: List) { cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.map{CdkObjectWrappers.unwrap(it)}) } /** * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(vararg mappedDataSetParameters: Any): Unit = mappedDataSetParameters(mappedDataSetParameters.toList()) /** * @param name The name of the parameter that is being declared. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param parameterValueType The value type determines whether the parameter is a single-value * or multi-value parameter. */ override fun parameterValueType(parameterValueType: String) { cdkBuilder.parameterValueType(parameterValueType) } /** * @param valueWhenUnset A parameter declaration for the `Integer` data type. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** * @param valueWhenUnset A parameter declaration for the `Integer` data type. */ override fun valueWhenUnset(valueWhenUnset: IntegerValueWhenUnsetConfigurationProperty) { cdkBuilder.valueWhenUnset(valueWhenUnset.let(IntegerValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** * @param valueWhenUnset A parameter declaration for the `Integer` data type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ab7a1b2652fcd548dce8d4736a37b13523b9f98ac968702fe5b554351d8ea6dc") override fun valueWhenUnset(valueWhenUnset: IntegerValueWhenUnsetConfigurationProperty.Builder.() -> Unit): Unit = valueWhenUnset(IntegerValueWhenUnsetConfigurationProperty(valueWhenUnset)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterDeclarationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterDeclarationProperty, ) : CdkObject(cdkObject), IntegerParameterDeclarationProperty { /** * The default values of a parameter. * * If the parameter is a single-value parameter, a maximum of one default value can be * provided. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameterdeclaration.html#cfn-quicksight-dashboard-integerparameterdeclaration-defaultvalues) */ override fun defaultValues(): Any? = unwrap(this).getDefaultValues() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameterdeclaration.html#cfn-quicksight-dashboard-integerparameterdeclaration-mappeddatasetparameters) */ override fun mappedDataSetParameters(): Any? = unwrap(this).getMappedDataSetParameters() /** * The name of the parameter that is being declared. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameterdeclaration.html#cfn-quicksight-dashboard-integerparameterdeclaration-name) */ override fun name(): String = unwrap(this).getName() /** * The value type determines whether the parameter is a single-value or multi-value parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameterdeclaration.html#cfn-quicksight-dashboard-integerparameterdeclaration-parametervaluetype) */ override fun parameterValueType(): String = unwrap(this).getParameterValueType() /** * A parameter declaration for the `Integer` data type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameterdeclaration.html#cfn-quicksight-dashboard-integerparameterdeclaration-valuewhenunset) */ override fun valueWhenUnset(): Any? = unwrap(this).getValueWhenUnset() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): IntegerParameterDeclarationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterDeclarationProperty): IntegerParameterDeclarationProperty = CdkObjectWrappers.wrap(cdkObject) as? IntegerParameterDeclarationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: IntegerParameterDeclarationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterDeclarationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterDeclarationProperty } } /** * An integer parameter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * IntegerParameterProperty integerParameterProperty = IntegerParameterProperty.builder() * .name("name") * .values(List.of(123)) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameter.html) */ public interface IntegerParameterProperty { /** * The name of the integer parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameter.html#cfn-quicksight-dashboard-integerparameter-name) */ public fun name(): String /** * The values for the integer parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameter.html#cfn-quicksight-dashboard-integerparameter-values) */ public fun values(): Any /** * A builder for [IntegerParameterProperty] */ @CdkDslMarker public interface Builder { /** * @param name The name of the integer parameter. */ public fun name(name: String) /** * @param values The values for the integer parameter. */ public fun values(values: IResolvable) /** * @param values The values for the integer parameter. */ public fun values(values: List) /** * @param values The values for the integer parameter. */ public fun values(vararg values: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterProperty.builder() /** * @param name The name of the integer parameter. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param values The values for the integer parameter. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The values for the integer parameter. */ override fun values(values: List) { cdkBuilder.values(values) } /** * @param values The values for the integer parameter. */ override fun values(vararg values: Number): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterProperty, ) : CdkObject(cdkObject), IntegerParameterProperty { /** * The name of the integer parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameter.html#cfn-quicksight-dashboard-integerparameter-name) */ override fun name(): String = unwrap(this).getName() /** * The values for the integer parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameter.html#cfn-quicksight-dashboard-integerparameter-values) */ override fun values(): Any = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): IntegerParameterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterProperty): IntegerParameterProperty = CdkObjectWrappers.wrap(cdkObject) as? IntegerParameterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: IntegerParameterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerParameterProperty } } /** * A parameter declaration for the `Integer` data type. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * IntegerValueWhenUnsetConfigurationProperty integerValueWhenUnsetConfigurationProperty = * IntegerValueWhenUnsetConfigurationProperty.builder() * .customValue(123) * .valueWhenUnsetOption("valueWhenUnsetOption") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integervaluewhenunsetconfiguration.html) */ public interface IntegerValueWhenUnsetConfigurationProperty { /** * A custom value that's used when the value of a parameter isn't set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integervaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-integervaluewhenunsetconfiguration-customvalue) */ public fun customValue(): Number? = unwrap(this).getCustomValue() /** * The built-in options for default values. The value can be one of the following:. * * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integervaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-integervaluewhenunsetconfiguration-valuewhenunsetoption) */ public fun valueWhenUnsetOption(): String? = unwrap(this).getValueWhenUnsetOption() /** * A builder for [IntegerValueWhenUnsetConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param customValue A custom value that's used when the value of a parameter isn't set. */ public fun customValue(customValue: Number) /** * @param valueWhenUnsetOption The built-in options for default values. The value can be one * of the following:. * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. */ public fun valueWhenUnsetOption(valueWhenUnsetOption: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerValueWhenUnsetConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerValueWhenUnsetConfigurationProperty.builder() /** * @param customValue A custom value that's used when the value of a parameter isn't set. */ override fun customValue(customValue: Number) { cdkBuilder.customValue(customValue) } /** * @param valueWhenUnsetOption The built-in options for default values. The value can be one * of the following:. * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. */ override fun valueWhenUnsetOption(valueWhenUnsetOption: String) { cdkBuilder.valueWhenUnsetOption(valueWhenUnsetOption) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerValueWhenUnsetConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerValueWhenUnsetConfigurationProperty, ) : CdkObject(cdkObject), IntegerValueWhenUnsetConfigurationProperty { /** * A custom value that's used when the value of a parameter isn't set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integervaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-integervaluewhenunsetconfiguration-customvalue) */ override fun customValue(): Number? = unwrap(this).getCustomValue() /** * The built-in options for default values. The value can be one of the following:. * * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integervaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-integervaluewhenunsetconfiguration-valuewhenunsetoption) */ override fun valueWhenUnsetOption(): String? = unwrap(this).getValueWhenUnsetOption() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): IntegerValueWhenUnsetConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerValueWhenUnsetConfigurationProperty): IntegerValueWhenUnsetConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? IntegerValueWhenUnsetConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: IntegerValueWhenUnsetConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerValueWhenUnsetConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.IntegerValueWhenUnsetConfigurationProperty } } /** * The limit configuration of the visual display for an axis. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ItemsLimitConfigurationProperty itemsLimitConfigurationProperty = * ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-itemslimitconfiguration.html) */ public interface ItemsLimitConfigurationProperty { /** * The limit on how many items of a field are showed in the chart. * * For example, the number of slices that are displayed in a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-itemslimitconfiguration.html#cfn-quicksight-dashboard-itemslimitconfiguration-itemslimit) */ public fun itemsLimit(): Number? = unwrap(this).getItemsLimit() /** * The `Show other` of an axis in the chart. Choose one of the following options:. * * * `INCLUDE` * * `EXCLUDE` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-itemslimitconfiguration.html#cfn-quicksight-dashboard-itemslimitconfiguration-othercategories) */ public fun otherCategories(): String? = unwrap(this).getOtherCategories() /** * A builder for [ItemsLimitConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param itemsLimit The limit on how many items of a field are showed in the chart. * For example, the number of slices that are displayed in a pie chart. */ public fun itemsLimit(itemsLimit: Number) /** * @param otherCategories The `Show other` of an axis in the chart. Choose one of the * following options:. * * `INCLUDE` * * `EXCLUDE` */ public fun otherCategories(otherCategories: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ItemsLimitConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ItemsLimitConfigurationProperty.builder() /** * @param itemsLimit The limit on how many items of a field are showed in the chart. * For example, the number of slices that are displayed in a pie chart. */ override fun itemsLimit(itemsLimit: Number) { cdkBuilder.itemsLimit(itemsLimit) } /** * @param otherCategories The `Show other` of an axis in the chart. Choose one of the * following options:. * * `INCLUDE` * * `EXCLUDE` */ override fun otherCategories(otherCategories: String) { cdkBuilder.otherCategories(otherCategories) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ItemsLimitConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ItemsLimitConfigurationProperty, ) : CdkObject(cdkObject), ItemsLimitConfigurationProperty { /** * The limit on how many items of a field are showed in the chart. * * For example, the number of slices that are displayed in a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-itemslimitconfiguration.html#cfn-quicksight-dashboard-itemslimitconfiguration-itemslimit) */ override fun itemsLimit(): Number? = unwrap(this).getItemsLimit() /** * The `Show other` of an axis in the chart. Choose one of the following options:. * * * `INCLUDE` * * `EXCLUDE` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-itemslimitconfiguration.html#cfn-quicksight-dashboard-itemslimitconfiguration-othercategories) */ override fun otherCategories(): String? = unwrap(this).getOtherCategories() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ItemsLimitConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ItemsLimitConfigurationProperty): ItemsLimitConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ItemsLimitConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ItemsLimitConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ItemsLimitConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ItemsLimitConfigurationProperty } } /** * The conditional formatting for the actual value of a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * KPIActualValueConditionalFormattingProperty kPIActualValueConditionalFormattingProperty = * KPIActualValueConditionalFormattingProperty.builder() * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiactualvalueconditionalformatting.html) */ public interface KPIActualValueConditionalFormattingProperty { /** * The conditional formatting of the actual value's icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiactualvalueconditionalformatting.html#cfn-quicksight-dashboard-kpiactualvalueconditionalformatting-icon) */ public fun icon(): Any? = unwrap(this).getIcon() /** * The conditional formatting of the actual value's text color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiactualvalueconditionalformatting.html#cfn-quicksight-dashboard-kpiactualvalueconditionalformatting-textcolor) */ public fun textColor(): Any? = unwrap(this).getTextColor() /** * A builder for [KPIActualValueConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param icon The conditional formatting of the actual value's icon. */ public fun icon(icon: IResolvable) /** * @param icon The conditional formatting of the actual value's icon. */ public fun icon(icon: ConditionalFormattingIconProperty) /** * @param icon The conditional formatting of the actual value's icon. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1aa06407e219e547130d844c804cdd59cf8f0e22190b212c450bbcae19b60de8") public fun icon(icon: ConditionalFormattingIconProperty.Builder.() -> Unit) /** * @param textColor The conditional formatting of the actual value's text color. */ public fun textColor(textColor: IResolvable) /** * @param textColor The conditional formatting of the actual value's text color. */ public fun textColor(textColor: ConditionalFormattingColorProperty) /** * @param textColor The conditional formatting of the actual value's text color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("82fc164cdbe3b4a901662be62d8fb379c12e85644896b7df42e3071a29fe29a8") public fun textColor(textColor: ConditionalFormattingColorProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIActualValueConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPIActualValueConditionalFormattingProperty.builder() /** * @param icon The conditional formatting of the actual value's icon. */ override fun icon(icon: IResolvable) { cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the actual value's icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** * @param icon The conditional formatting of the actual value's icon. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1aa06407e219e547130d844c804cdd59cf8f0e22190b212c450bbcae19b60de8") override fun icon(icon: ConditionalFormattingIconProperty.Builder.() -> Unit): Unit = icon(ConditionalFormattingIconProperty(icon)) /** * @param textColor The conditional formatting of the actual value's text color. */ override fun textColor(textColor: IResolvable) { cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the actual value's text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** * @param textColor The conditional formatting of the actual value's text color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("82fc164cdbe3b4a901662be62d8fb379c12e85644896b7df42e3071a29fe29a8") override fun textColor(textColor: ConditionalFormattingColorProperty.Builder.() -> Unit): Unit = textColor(ConditionalFormattingColorProperty(textColor)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIActualValueConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIActualValueConditionalFormattingProperty, ) : CdkObject(cdkObject), KPIActualValueConditionalFormattingProperty { /** * The conditional formatting of the actual value's icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiactualvalueconditionalformatting.html#cfn-quicksight-dashboard-kpiactualvalueconditionalformatting-icon) */ override fun icon(): Any? = unwrap(this).getIcon() /** * The conditional formatting of the actual value's text color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiactualvalueconditionalformatting.html#cfn-quicksight-dashboard-kpiactualvalueconditionalformatting-textcolor) */ override fun textColor(): Any? = unwrap(this).getTextColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPIActualValueConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIActualValueConditionalFormattingProperty): KPIActualValueConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? KPIActualValueConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPIActualValueConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIActualValueConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPIActualValueConditionalFormattingProperty } } /** * The conditional formatting for the comparison value of a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * KPIComparisonValueConditionalFormattingProperty kPIComparisonValueConditionalFormattingProperty * = KPIComparisonValueConditionalFormattingProperty.builder() * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpicomparisonvalueconditionalformatting.html) */ public interface KPIComparisonValueConditionalFormattingProperty { /** * The conditional formatting of the comparison value's icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpicomparisonvalueconditionalformatting.html#cfn-quicksight-dashboard-kpicomparisonvalueconditionalformatting-icon) */ public fun icon(): Any? = unwrap(this).getIcon() /** * The conditional formatting of the comparison value's text color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpicomparisonvalueconditionalformatting.html#cfn-quicksight-dashboard-kpicomparisonvalueconditionalformatting-textcolor) */ public fun textColor(): Any? = unwrap(this).getTextColor() /** * A builder for [KPIComparisonValueConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param icon The conditional formatting of the comparison value's icon. */ public fun icon(icon: IResolvable) /** * @param icon The conditional formatting of the comparison value's icon. */ public fun icon(icon: ConditionalFormattingIconProperty) /** * @param icon The conditional formatting of the comparison value's icon. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("070840009d1edfdb2f98c09e809deeb3bb3aa90db7d2924c7a998541d6109885") public fun icon(icon: ConditionalFormattingIconProperty.Builder.() -> Unit) /** * @param textColor The conditional formatting of the comparison value's text color. */ public fun textColor(textColor: IResolvable) /** * @param textColor The conditional formatting of the comparison value's text color. */ public fun textColor(textColor: ConditionalFormattingColorProperty) /** * @param textColor The conditional formatting of the comparison value's text color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("463585691293594049fb9b2f86129b0f7a9e314646bccb0e4acd4b31f8a7cdd2") public fun textColor(textColor: ConditionalFormattingColorProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIComparisonValueConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPIComparisonValueConditionalFormattingProperty.builder() /** * @param icon The conditional formatting of the comparison value's icon. */ override fun icon(icon: IResolvable) { cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the comparison value's icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** * @param icon The conditional formatting of the comparison value's icon. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("070840009d1edfdb2f98c09e809deeb3bb3aa90db7d2924c7a998541d6109885") override fun icon(icon: ConditionalFormattingIconProperty.Builder.() -> Unit): Unit = icon(ConditionalFormattingIconProperty(icon)) /** * @param textColor The conditional formatting of the comparison value's text color. */ override fun textColor(textColor: IResolvable) { cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the comparison value's text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** * @param textColor The conditional formatting of the comparison value's text color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("463585691293594049fb9b2f86129b0f7a9e314646bccb0e4acd4b31f8a7cdd2") override fun textColor(textColor: ConditionalFormattingColorProperty.Builder.() -> Unit): Unit = textColor(ConditionalFormattingColorProperty(textColor)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIComparisonValueConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIComparisonValueConditionalFormattingProperty, ) : CdkObject(cdkObject), KPIComparisonValueConditionalFormattingProperty { /** * The conditional formatting of the comparison value's icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpicomparisonvalueconditionalformatting.html#cfn-quicksight-dashboard-kpicomparisonvalueconditionalformatting-icon) */ override fun icon(): Any? = unwrap(this).getIcon() /** * The conditional formatting of the comparison value's text color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpicomparisonvalueconditionalformatting.html#cfn-quicksight-dashboard-kpicomparisonvalueconditionalformatting-textcolor) */ override fun textColor(): Any? = unwrap(this).getTextColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPIComparisonValueConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIComparisonValueConditionalFormattingProperty): KPIComparisonValueConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? KPIComparisonValueConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPIComparisonValueConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIComparisonValueConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPIComparisonValueConditionalFormattingProperty } } /** * The conditional formatting options of a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * KPIConditionalFormattingOptionProperty kPIConditionalFormattingOptionProperty = * KPIConditionalFormattingOptionProperty.builder() * .actualValue(KPIActualValueConditionalFormattingProperty.builder() * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .comparisonValue(KPIComparisonValueConditionalFormattingProperty.builder() * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .primaryValue(KPIPrimaryValueConditionalFormattingProperty.builder() * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .progressBar(KPIProgressBarConditionalFormattingProperty.builder() * .foregroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconditionalformattingoption.html) */ public interface KPIConditionalFormattingOptionProperty { /** * The conditional formatting for the actual value of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconditionalformattingoption.html#cfn-quicksight-dashboard-kpiconditionalformattingoption-actualvalue) */ public fun actualValue(): Any? = unwrap(this).getActualValue() /** * The conditional formatting for the comparison value of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconditionalformattingoption.html#cfn-quicksight-dashboard-kpiconditionalformattingoption-comparisonvalue) */ public fun comparisonValue(): Any? = unwrap(this).getComparisonValue() /** * The conditional formatting for the primary value of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconditionalformattingoption.html#cfn-quicksight-dashboard-kpiconditionalformattingoption-primaryvalue) */ public fun primaryValue(): Any? = unwrap(this).getPrimaryValue() /** * The conditional formatting for the progress bar of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconditionalformattingoption.html#cfn-quicksight-dashboard-kpiconditionalformattingoption-progressbar) */ public fun progressBar(): Any? = unwrap(this).getProgressBar() /** * A builder for [KPIConditionalFormattingOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param actualValue The conditional formatting for the actual value of a KPI visual. */ public fun actualValue(actualValue: IResolvable) /** * @param actualValue The conditional formatting for the actual value of a KPI visual. */ public fun actualValue(actualValue: KPIActualValueConditionalFormattingProperty) /** * @param actualValue The conditional formatting for the actual value of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ede325dfd3a69b2fc3f267490946b07a437f85e5f2310f97763232da82caa6e6") public fun actualValue(actualValue: KPIActualValueConditionalFormattingProperty.Builder.() -> Unit) /** * @param comparisonValue The conditional formatting for the comparison value of a KPI visual. */ public fun comparisonValue(comparisonValue: IResolvable) /** * @param comparisonValue The conditional formatting for the comparison value of a KPI visual. */ public fun comparisonValue(comparisonValue: KPIComparisonValueConditionalFormattingProperty) /** * @param comparisonValue The conditional formatting for the comparison value of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("68e2cee9d251e99dbdaabfb83ac4387fd4d1f98be965ab4c6a2c967619af865b") public fun comparisonValue(comparisonValue: KPIComparisonValueConditionalFormattingProperty.Builder.() -> Unit) /** * @param primaryValue The conditional formatting for the primary value of a KPI visual. */ public fun primaryValue(primaryValue: IResolvable) /** * @param primaryValue The conditional formatting for the primary value of a KPI visual. */ public fun primaryValue(primaryValue: KPIPrimaryValueConditionalFormattingProperty) /** * @param primaryValue The conditional formatting for the primary value of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("37e4f24f245dfb619d5592fff2ac91ff10e7389455cc1e4ca4feba434acb2ff8") public fun primaryValue(primaryValue: KPIPrimaryValueConditionalFormattingProperty.Builder.() -> Unit) /** * @param progressBar The conditional formatting for the progress bar of a KPI visual. */ public fun progressBar(progressBar: IResolvable) /** * @param progressBar The conditional formatting for the progress bar of a KPI visual. */ public fun progressBar(progressBar: KPIProgressBarConditionalFormattingProperty) /** * @param progressBar The conditional formatting for the progress bar of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("255df859a63df5c03a2a0e15a66d95f508691ada66bb80947eea4095cf1d4aee") public fun progressBar(progressBar: KPIProgressBarConditionalFormattingProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingOptionProperty.builder() /** * @param actualValue The conditional formatting for the actual value of a KPI visual. */ override fun actualValue(actualValue: IResolvable) { cdkBuilder.actualValue(actualValue.let(IResolvable.Companion::unwrap)) } /** * @param actualValue The conditional formatting for the actual value of a KPI visual. */ override fun actualValue(actualValue: KPIActualValueConditionalFormattingProperty) { cdkBuilder.actualValue(actualValue.let(KPIActualValueConditionalFormattingProperty.Companion::unwrap)) } /** * @param actualValue The conditional formatting for the actual value of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ede325dfd3a69b2fc3f267490946b07a437f85e5f2310f97763232da82caa6e6") override fun actualValue(actualValue: KPIActualValueConditionalFormattingProperty.Builder.() -> Unit): Unit = actualValue(KPIActualValueConditionalFormattingProperty(actualValue)) /** * @param comparisonValue The conditional formatting for the comparison value of a KPI visual. */ override fun comparisonValue(comparisonValue: IResolvable) { cdkBuilder.comparisonValue(comparisonValue.let(IResolvable.Companion::unwrap)) } /** * @param comparisonValue The conditional formatting for the comparison value of a KPI visual. */ override fun comparisonValue(comparisonValue: KPIComparisonValueConditionalFormattingProperty) { cdkBuilder.comparisonValue(comparisonValue.let(KPIComparisonValueConditionalFormattingProperty.Companion::unwrap)) } /** * @param comparisonValue The conditional formatting for the comparison value of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("68e2cee9d251e99dbdaabfb83ac4387fd4d1f98be965ab4c6a2c967619af865b") override fun comparisonValue(comparisonValue: KPIComparisonValueConditionalFormattingProperty.Builder.() -> Unit): Unit = comparisonValue(KPIComparisonValueConditionalFormattingProperty(comparisonValue)) /** * @param primaryValue The conditional formatting for the primary value of a KPI visual. */ override fun primaryValue(primaryValue: IResolvable) { cdkBuilder.primaryValue(primaryValue.let(IResolvable.Companion::unwrap)) } /** * @param primaryValue The conditional formatting for the primary value of a KPI visual. */ override fun primaryValue(primaryValue: KPIPrimaryValueConditionalFormattingProperty) { cdkBuilder.primaryValue(primaryValue.let(KPIPrimaryValueConditionalFormattingProperty.Companion::unwrap)) } /** * @param primaryValue The conditional formatting for the primary value of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("37e4f24f245dfb619d5592fff2ac91ff10e7389455cc1e4ca4feba434acb2ff8") override fun primaryValue(primaryValue: KPIPrimaryValueConditionalFormattingProperty.Builder.() -> Unit): Unit = primaryValue(KPIPrimaryValueConditionalFormattingProperty(primaryValue)) /** * @param progressBar The conditional formatting for the progress bar of a KPI visual. */ override fun progressBar(progressBar: IResolvable) { cdkBuilder.progressBar(progressBar.let(IResolvable.Companion::unwrap)) } /** * @param progressBar The conditional formatting for the progress bar of a KPI visual. */ override fun progressBar(progressBar: KPIProgressBarConditionalFormattingProperty) { cdkBuilder.progressBar(progressBar.let(KPIProgressBarConditionalFormattingProperty.Companion::unwrap)) } /** * @param progressBar The conditional formatting for the progress bar of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("255df859a63df5c03a2a0e15a66d95f508691ada66bb80947eea4095cf1d4aee") override fun progressBar(progressBar: KPIProgressBarConditionalFormattingProperty.Builder.() -> Unit): Unit = progressBar(KPIProgressBarConditionalFormattingProperty(progressBar)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingOptionProperty, ) : CdkObject(cdkObject), KPIConditionalFormattingOptionProperty { /** * The conditional formatting for the actual value of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconditionalformattingoption.html#cfn-quicksight-dashboard-kpiconditionalformattingoption-actualvalue) */ override fun actualValue(): Any? = unwrap(this).getActualValue() /** * The conditional formatting for the comparison value of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconditionalformattingoption.html#cfn-quicksight-dashboard-kpiconditionalformattingoption-comparisonvalue) */ override fun comparisonValue(): Any? = unwrap(this).getComparisonValue() /** * The conditional formatting for the primary value of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconditionalformattingoption.html#cfn-quicksight-dashboard-kpiconditionalformattingoption-primaryvalue) */ override fun primaryValue(): Any? = unwrap(this).getPrimaryValue() /** * The conditional formatting for the progress bar of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconditionalformattingoption.html#cfn-quicksight-dashboard-kpiconditionalformattingoption-progressbar) */ override fun progressBar(): Any? = unwrap(this).getProgressBar() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPIConditionalFormattingOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingOptionProperty): KPIConditionalFormattingOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? KPIConditionalFormattingOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPIConditionalFormattingOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingOptionProperty } } /** * The conditional formatting of a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * KPIConditionalFormattingProperty kPIConditionalFormattingProperty = * KPIConditionalFormattingProperty.builder() * .conditionalFormattingOptions(List.of(KPIConditionalFormattingOptionProperty.builder() * .actualValue(KPIActualValueConditionalFormattingProperty.builder() * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .comparisonValue(KPIComparisonValueConditionalFormattingProperty.builder() * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .primaryValue(KPIPrimaryValueConditionalFormattingProperty.builder() * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .progressBar(KPIProgressBarConditionalFormattingProperty.builder() * .foregroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconditionalformatting.html) */ public interface KPIConditionalFormattingProperty { /** * The conditional formatting options of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconditionalformatting.html#cfn-quicksight-dashboard-kpiconditionalformatting-conditionalformattingoptions) */ public fun conditionalFormattingOptions(): Any? = unwrap(this).getConditionalFormattingOptions() /** * A builder for [KPIConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param conditionalFormattingOptions The conditional formatting options of a KPI visual. */ public fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) /** * @param conditionalFormattingOptions The conditional formatting options of a KPI visual. */ public fun conditionalFormattingOptions(conditionalFormattingOptions: List) /** * @param conditionalFormattingOptions The conditional formatting options of a KPI visual. */ public fun conditionalFormattingOptions(vararg conditionalFormattingOptions: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingProperty.builder() /** * @param conditionalFormattingOptions The conditional formatting options of a KPI visual. */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormattingOptions The conditional formatting options of a KPI visual. */ override fun conditionalFormattingOptions(conditionalFormattingOptions: List) { cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param conditionalFormattingOptions The conditional formatting options of a KPI visual. */ override fun conditionalFormattingOptions(vararg conditionalFormattingOptions: Any): Unit = conditionalFormattingOptions(conditionalFormattingOptions.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingProperty, ) : CdkObject(cdkObject), KPIConditionalFormattingProperty { /** * The conditional formatting options of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconditionalformatting.html#cfn-quicksight-dashboard-kpiconditionalformatting-conditionalformattingoptions) */ override fun conditionalFormattingOptions(): Any? = unwrap(this).getConditionalFormattingOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPIConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingProperty): KPIConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? KPIConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPIConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConditionalFormattingProperty } } /** * The configuration of a KPI visual. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconfiguration.html) */ public interface KPIConfigurationProperty { /** * The field well configuration of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconfiguration.html#cfn-quicksight-dashboard-kpiconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The options that determine the presentation of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconfiguration.html#cfn-quicksight-dashboard-kpiconfiguration-kpioptions) */ public fun kpiOptions(): Any? = unwrap(this).getKpiOptions() /** * The sort configuration of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconfiguration.html#cfn-quicksight-dashboard-kpiconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * A builder for [KPIConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldWells The field well configuration of a KPI visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field well configuration of a KPI visual. */ public fun fieldWells(fieldWells: KPIFieldWellsProperty) /** * @param fieldWells The field well configuration of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b2c26ee593b8dacb799a217a183e2a87476f5083c950e4e100e0806f9e633fd5") public fun fieldWells(fieldWells: KPIFieldWellsProperty.Builder.() -> Unit) /** * @param kpiOptions The options that determine the presentation of a KPI visual. */ public fun kpiOptions(kpiOptions: IResolvable) /** * @param kpiOptions The options that determine the presentation of a KPI visual. */ public fun kpiOptions(kpiOptions: KPIOptionsProperty) /** * @param kpiOptions The options that determine the presentation of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("04bf8dbdee2add60137b5c68afda012c413cee33b6a5fb9d6a264f260e9be865") public fun kpiOptions(kpiOptions: KPIOptionsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration of a KPI visual. */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a KPI visual. */ public fun sortConfiguration(sortConfiguration: KPISortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b879bbe463ffa70d8c85456b7de7757eeeb05abc52e3acc2208729b1a4cc64a3") public fun sortConfiguration(sortConfiguration: KPISortConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConfigurationProperty.builder() /** * @param fieldWells The field well configuration of a KPI visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a KPI visual. */ override fun fieldWells(fieldWells: KPIFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(KPIFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b2c26ee593b8dacb799a217a183e2a87476f5083c950e4e100e0806f9e633fd5") override fun fieldWells(fieldWells: KPIFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(KPIFieldWellsProperty(fieldWells)) /** * @param kpiOptions The options that determine the presentation of a KPI visual. */ override fun kpiOptions(kpiOptions: IResolvable) { cdkBuilder.kpiOptions(kpiOptions.let(IResolvable.Companion::unwrap)) } /** * @param kpiOptions The options that determine the presentation of a KPI visual. */ override fun kpiOptions(kpiOptions: KPIOptionsProperty) { cdkBuilder.kpiOptions(kpiOptions.let(KPIOptionsProperty.Companion::unwrap)) } /** * @param kpiOptions The options that determine the presentation of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("04bf8dbdee2add60137b5c68afda012c413cee33b6a5fb9d6a264f260e9be865") override fun kpiOptions(kpiOptions: KPIOptionsProperty.Builder.() -> Unit): Unit = kpiOptions(KPIOptionsProperty(kpiOptions)) /** * @param sortConfiguration The sort configuration of a KPI visual. */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a KPI visual. */ override fun sortConfiguration(sortConfiguration: KPISortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(KPISortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b879bbe463ffa70d8c85456b7de7757eeeb05abc52e3acc2208729b1a4cc64a3") override fun sortConfiguration(sortConfiguration: KPISortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(KPISortConfigurationProperty(sortConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConfigurationProperty, ) : CdkObject(cdkObject), KPIConfigurationProperty { /** * The field well configuration of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconfiguration.html#cfn-quicksight-dashboard-kpiconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The options that determine the presentation of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconfiguration.html#cfn-quicksight-dashboard-kpiconfiguration-kpioptions) */ override fun kpiOptions(): Any? = unwrap(this).getKpiOptions() /** * The sort configuration of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiconfiguration.html#cfn-quicksight-dashboard-kpiconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPIConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConfigurationProperty): KPIConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? KPIConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPIConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConfigurationProperty } } /** * The field well configuration of a KPI visual. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpifieldwells.html) */ public interface KPIFieldWellsProperty { /** * The target value field wells of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpifieldwells.html#cfn-quicksight-dashboard-kpifieldwells-targetvalues) */ public fun targetValues(): Any? = unwrap(this).getTargetValues() /** * The trend group field wells of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpifieldwells.html#cfn-quicksight-dashboard-kpifieldwells-trendgroups) */ public fun trendGroups(): Any? = unwrap(this).getTrendGroups() /** * The value field wells of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpifieldwells.html#cfn-quicksight-dashboard-kpifieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [KPIFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param targetValues The target value field wells of a KPI visual. */ public fun targetValues(targetValues: IResolvable) /** * @param targetValues The target value field wells of a KPI visual. */ public fun targetValues(targetValues: List) /** * @param targetValues The target value field wells of a KPI visual. */ public fun targetValues(vararg targetValues: Any) /** * @param trendGroups The trend group field wells of a KPI visual. */ public fun trendGroups(trendGroups: IResolvable) /** * @param trendGroups The trend group field wells of a KPI visual. */ public fun trendGroups(trendGroups: List) /** * @param trendGroups The trend group field wells of a KPI visual. */ public fun trendGroups(vararg trendGroups: Any) /** * @param values The value field wells of a KPI visual. */ public fun values(values: IResolvable) /** * @param values The value field wells of a KPI visual. */ public fun values(values: List) /** * @param values The value field wells of a KPI visual. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPIFieldWellsProperty.builder() /** * @param targetValues The target value field wells of a KPI visual. */ override fun targetValues(targetValues: IResolvable) { cdkBuilder.targetValues(targetValues.let(IResolvable.Companion::unwrap)) } /** * @param targetValues The target value field wells of a KPI visual. */ override fun targetValues(targetValues: List) { cdkBuilder.targetValues(targetValues.map{CdkObjectWrappers.unwrap(it)}) } /** * @param targetValues The target value field wells of a KPI visual. */ override fun targetValues(vararg targetValues: Any): Unit = targetValues(targetValues.toList()) /** * @param trendGroups The trend group field wells of a KPI visual. */ override fun trendGroups(trendGroups: IResolvable) { cdkBuilder.trendGroups(trendGroups.let(IResolvable.Companion::unwrap)) } /** * @param trendGroups The trend group field wells of a KPI visual. */ override fun trendGroups(trendGroups: List) { cdkBuilder.trendGroups(trendGroups.map{CdkObjectWrappers.unwrap(it)}) } /** * @param trendGroups The trend group field wells of a KPI visual. */ override fun trendGroups(vararg trendGroups: Any): Unit = trendGroups(trendGroups.toList()) /** * @param values The value field wells of a KPI visual. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The value field wells of a KPI visual. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The value field wells of a KPI visual. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIFieldWellsProperty, ) : CdkObject(cdkObject), KPIFieldWellsProperty { /** * The target value field wells of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpifieldwells.html#cfn-quicksight-dashboard-kpifieldwells-targetvalues) */ override fun targetValues(): Any? = unwrap(this).getTargetValues() /** * The trend group field wells of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpifieldwells.html#cfn-quicksight-dashboard-kpifieldwells-trendgroups) */ override fun trendGroups(): Any? = unwrap(this).getTrendGroups() /** * The value field wells of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpifieldwells.html#cfn-quicksight-dashboard-kpifieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPIFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIFieldWellsProperty): KPIFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? KPIFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPIFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPIFieldWellsProperty } } /** * The options that determine the presentation of a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * KPIOptionsProperty kPIOptionsProperty = KPIOptionsProperty.builder() * .comparison(ComparisonConfigurationProperty.builder() * .comparisonFormat(ComparisonFormatConfigurationProperty.builder() * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .comparisonMethod("comparisonMethod") * .build()) * .primaryValueDisplayType("primaryValueDisplayType") * .primaryValueFontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .progressBar(ProgressBarOptionsProperty.builder() * .visibility("visibility") * .build()) * .secondaryValue(SecondaryValueOptionsProperty.builder() * .visibility("visibility") * .build()) * .secondaryValueFontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .sparkline(KPISparklineOptionsProperty.builder() * .type("type") * // the properties below are optional * .color("color") * .tooltipVisibility("tooltipVisibility") * .visibility("visibility") * .build()) * .trendArrows(TrendArrowOptionsProperty.builder() * .visibility("visibility") * .build()) * .visualLayoutOptions(KPIVisualLayoutOptionsProperty.builder() * .standardLayout(KPIVisualStandardLayoutProperty.builder() * .type("type") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html) */ public interface KPIOptionsProperty { /** * The comparison configuration of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-comparison) */ public fun comparison(): Any? = unwrap(this).getComparison() /** * The options that determine the primary value display type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-primaryvaluedisplaytype) */ public fun primaryValueDisplayType(): String? = unwrap(this).getPrimaryValueDisplayType() /** * The options that determine the primary value font configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-primaryvaluefontconfiguration) */ public fun primaryValueFontConfiguration(): Any? = unwrap(this).getPrimaryValueFontConfiguration() /** * The options that determine the presentation of the progress bar of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-progressbar) */ public fun progressBar(): Any? = unwrap(this).getProgressBar() /** * The options that determine the presentation of the secondary value of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-secondaryvalue) */ public fun secondaryValue(): Any? = unwrap(this).getSecondaryValue() /** * The options that determine the secondary value font configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-secondaryvaluefontconfiguration) */ public fun secondaryValueFontConfiguration(): Any? = unwrap(this).getSecondaryValueFontConfiguration() /** * The options that determine the visibility, color, type, and tooltip visibility of the * sparkline of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-sparkline) */ public fun sparkline(): Any? = unwrap(this).getSparkline() /** * The options that determine the presentation of trend arrows in a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-trendarrows) */ public fun trendArrows(): Any? = unwrap(this).getTrendArrows() /** * The options that determine the layout a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-visuallayoutoptions) */ public fun visualLayoutOptions(): Any? = unwrap(this).getVisualLayoutOptions() /** * A builder for [KPIOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param comparison The comparison configuration of a KPI visual. */ public fun comparison(comparison: IResolvable) /** * @param comparison The comparison configuration of a KPI visual. */ public fun comparison(comparison: ComparisonConfigurationProperty) /** * @param comparison The comparison configuration of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7f9c569d14424f04348bd2f5c0bcead0cc39a737ed0eace0c59786603f5fd90c") public fun comparison(comparison: ComparisonConfigurationProperty.Builder.() -> Unit) /** * @param primaryValueDisplayType The options that determine the primary value display type. */ public fun primaryValueDisplayType(primaryValueDisplayType: String) /** * @param primaryValueFontConfiguration The options that determine the primary value font * configuration. */ public fun primaryValueFontConfiguration(primaryValueFontConfiguration: IResolvable) /** * @param primaryValueFontConfiguration The options that determine the primary value font * configuration. */ public fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty) /** * @param primaryValueFontConfiguration The options that determine the primary value font * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c0f6e94be282e178f3c3d69f4ba1cf641b19ebf57e13afbdd8e15935c33f330a") public fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty.Builder.() -> Unit) /** * @param progressBar The options that determine the presentation of the progress bar of a KPI * visual. */ public fun progressBar(progressBar: IResolvable) /** * @param progressBar The options that determine the presentation of the progress bar of a KPI * visual. */ public fun progressBar(progressBar: ProgressBarOptionsProperty) /** * @param progressBar The options that determine the presentation of the progress bar of a KPI * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("57f84625f42e4f6b1274edfdf7809c292538920dfc5a1f503cec83d454cc77aa") public fun progressBar(progressBar: ProgressBarOptionsProperty.Builder.() -> Unit) /** * @param secondaryValue The options that determine the presentation of the secondary value of * a KPI visual. */ public fun secondaryValue(secondaryValue: IResolvable) /** * @param secondaryValue The options that determine the presentation of the secondary value of * a KPI visual. */ public fun secondaryValue(secondaryValue: SecondaryValueOptionsProperty) /** * @param secondaryValue The options that determine the presentation of the secondary value of * a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("685b4b2a956d980ff94b155b396cdb9bddb664f38b0cf4d73c4ace0a0ea2833c") public fun secondaryValue(secondaryValue: SecondaryValueOptionsProperty.Builder.() -> Unit) /** * @param secondaryValueFontConfiguration The options that determine the secondary value font * configuration. */ public fun secondaryValueFontConfiguration(secondaryValueFontConfiguration: IResolvable) /** * @param secondaryValueFontConfiguration The options that determine the secondary value font * configuration. */ public fun secondaryValueFontConfiguration(secondaryValueFontConfiguration: FontConfigurationProperty) /** * @param secondaryValueFontConfiguration The options that determine the secondary value font * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("86e063f75e00f252419ea487ca3a80e75d18930ecc0ac34491b0a23dcc2291ba") public fun secondaryValueFontConfiguration(secondaryValueFontConfiguration: FontConfigurationProperty.Builder.() -> Unit) /** * @param sparkline The options that determine the visibility, color, type, and tooltip * visibility of the sparkline of a KPI visual. */ public fun sparkline(sparkline: IResolvable) /** * @param sparkline The options that determine the visibility, color, type, and tooltip * visibility of the sparkline of a KPI visual. */ public fun sparkline(sparkline: KPISparklineOptionsProperty) /** * @param sparkline The options that determine the visibility, color, type, and tooltip * visibility of the sparkline of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("657cd5ea754568b63e0020b2cdac66f15225267b9d548acdb4e0cea5adba1c51") public fun sparkline(sparkline: KPISparklineOptionsProperty.Builder.() -> Unit) /** * @param trendArrows The options that determine the presentation of trend arrows in a KPI * visual. */ public fun trendArrows(trendArrows: IResolvable) /** * @param trendArrows The options that determine the presentation of trend arrows in a KPI * visual. */ public fun trendArrows(trendArrows: TrendArrowOptionsProperty) /** * @param trendArrows The options that determine the presentation of trend arrows in a KPI * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8a2d10671a8924730db91716cc3cc183efbaf92665fa439c12687a7cb7e7b8e9") public fun trendArrows(trendArrows: TrendArrowOptionsProperty.Builder.() -> Unit) /** * @param visualLayoutOptions The options that determine the layout a KPI visual. */ public fun visualLayoutOptions(visualLayoutOptions: IResolvable) /** * @param visualLayoutOptions The options that determine the layout a KPI visual. */ public fun visualLayoutOptions(visualLayoutOptions: KPIVisualLayoutOptionsProperty) /** * @param visualLayoutOptions The options that determine the layout a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("499595f56ca2ac614a223127cf057e6a332082bf69614b2551a1d428990920bd") public fun visualLayoutOptions(visualLayoutOptions: KPIVisualLayoutOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPIOptionsProperty.builder() /** * @param comparison The comparison configuration of a KPI visual. */ override fun comparison(comparison: IResolvable) { cdkBuilder.comparison(comparison.let(IResolvable.Companion::unwrap)) } /** * @param comparison The comparison configuration of a KPI visual. */ override fun comparison(comparison: ComparisonConfigurationProperty) { cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty.Companion::unwrap)) } /** * @param comparison The comparison configuration of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7f9c569d14424f04348bd2f5c0bcead0cc39a737ed0eace0c59786603f5fd90c") override fun comparison(comparison: ComparisonConfigurationProperty.Builder.() -> Unit): Unit = comparison(ComparisonConfigurationProperty(comparison)) /** * @param primaryValueDisplayType The options that determine the primary value display type. */ override fun primaryValueDisplayType(primaryValueDisplayType: String) { cdkBuilder.primaryValueDisplayType(primaryValueDisplayType) } /** * @param primaryValueFontConfiguration The options that determine the primary value font * configuration. */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: IResolvable) { cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param primaryValueFontConfiguration The options that determine the primary value font * configuration. */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty) { cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** * @param primaryValueFontConfiguration The options that determine the primary value font * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c0f6e94be282e178f3c3d69f4ba1cf641b19ebf57e13afbdd8e15935c33f330a") override fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty.Builder.() -> Unit): Unit = primaryValueFontConfiguration(FontConfigurationProperty(primaryValueFontConfiguration)) /** * @param progressBar The options that determine the presentation of the progress bar of a KPI * visual. */ override fun progressBar(progressBar: IResolvable) { cdkBuilder.progressBar(progressBar.let(IResolvable.Companion::unwrap)) } /** * @param progressBar The options that determine the presentation of the progress bar of a KPI * visual. */ override fun progressBar(progressBar: ProgressBarOptionsProperty) { cdkBuilder.progressBar(progressBar.let(ProgressBarOptionsProperty.Companion::unwrap)) } /** * @param progressBar The options that determine the presentation of the progress bar of a KPI * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("57f84625f42e4f6b1274edfdf7809c292538920dfc5a1f503cec83d454cc77aa") override fun progressBar(progressBar: ProgressBarOptionsProperty.Builder.() -> Unit): Unit = progressBar(ProgressBarOptionsProperty(progressBar)) /** * @param secondaryValue The options that determine the presentation of the secondary value of * a KPI visual. */ override fun secondaryValue(secondaryValue: IResolvable) { cdkBuilder.secondaryValue(secondaryValue.let(IResolvable.Companion::unwrap)) } /** * @param secondaryValue The options that determine the presentation of the secondary value of * a KPI visual. */ override fun secondaryValue(secondaryValue: SecondaryValueOptionsProperty) { cdkBuilder.secondaryValue(secondaryValue.let(SecondaryValueOptionsProperty.Companion::unwrap)) } /** * @param secondaryValue The options that determine the presentation of the secondary value of * a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("685b4b2a956d980ff94b155b396cdb9bddb664f38b0cf4d73c4ace0a0ea2833c") override fun secondaryValue(secondaryValue: SecondaryValueOptionsProperty.Builder.() -> Unit): Unit = secondaryValue(SecondaryValueOptionsProperty(secondaryValue)) /** * @param secondaryValueFontConfiguration The options that determine the secondary value font * configuration. */ override fun secondaryValueFontConfiguration(secondaryValueFontConfiguration: IResolvable) { cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param secondaryValueFontConfiguration The options that determine the secondary value font * configuration. */ override fun secondaryValueFontConfiguration(secondaryValueFontConfiguration: FontConfigurationProperty) { cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** * @param secondaryValueFontConfiguration The options that determine the secondary value font * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("86e063f75e00f252419ea487ca3a80e75d18930ecc0ac34491b0a23dcc2291ba") override fun secondaryValueFontConfiguration(secondaryValueFontConfiguration: FontConfigurationProperty.Builder.() -> Unit): Unit = secondaryValueFontConfiguration(FontConfigurationProperty(secondaryValueFontConfiguration)) /** * @param sparkline The options that determine the visibility, color, type, and tooltip * visibility of the sparkline of a KPI visual. */ override fun sparkline(sparkline: IResolvable) { cdkBuilder.sparkline(sparkline.let(IResolvable.Companion::unwrap)) } /** * @param sparkline The options that determine the visibility, color, type, and tooltip * visibility of the sparkline of a KPI visual. */ override fun sparkline(sparkline: KPISparklineOptionsProperty) { cdkBuilder.sparkline(sparkline.let(KPISparklineOptionsProperty.Companion::unwrap)) } /** * @param sparkline The options that determine the visibility, color, type, and tooltip * visibility of the sparkline of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("657cd5ea754568b63e0020b2cdac66f15225267b9d548acdb4e0cea5adba1c51") override fun sparkline(sparkline: KPISparklineOptionsProperty.Builder.() -> Unit): Unit = sparkline(KPISparklineOptionsProperty(sparkline)) /** * @param trendArrows The options that determine the presentation of trend arrows in a KPI * visual. */ override fun trendArrows(trendArrows: IResolvable) { cdkBuilder.trendArrows(trendArrows.let(IResolvable.Companion::unwrap)) } /** * @param trendArrows The options that determine the presentation of trend arrows in a KPI * visual. */ override fun trendArrows(trendArrows: TrendArrowOptionsProperty) { cdkBuilder.trendArrows(trendArrows.let(TrendArrowOptionsProperty.Companion::unwrap)) } /** * @param trendArrows The options that determine the presentation of trend arrows in a KPI * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8a2d10671a8924730db91716cc3cc183efbaf92665fa439c12687a7cb7e7b8e9") override fun trendArrows(trendArrows: TrendArrowOptionsProperty.Builder.() -> Unit): Unit = trendArrows(TrendArrowOptionsProperty(trendArrows)) /** * @param visualLayoutOptions The options that determine the layout a KPI visual. */ override fun visualLayoutOptions(visualLayoutOptions: IResolvable) { cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(IResolvable.Companion::unwrap)) } /** * @param visualLayoutOptions The options that determine the layout a KPI visual. */ override fun visualLayoutOptions(visualLayoutOptions: KPIVisualLayoutOptionsProperty) { cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(KPIVisualLayoutOptionsProperty.Companion::unwrap)) } /** * @param visualLayoutOptions The options that determine the layout a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("499595f56ca2ac614a223127cf057e6a332082bf69614b2551a1d428990920bd") override fun visualLayoutOptions(visualLayoutOptions: KPIVisualLayoutOptionsProperty.Builder.() -> Unit): Unit = visualLayoutOptions(KPIVisualLayoutOptionsProperty(visualLayoutOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIOptionsProperty, ) : CdkObject(cdkObject), KPIOptionsProperty { /** * The comparison configuration of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-comparison) */ override fun comparison(): Any? = unwrap(this).getComparison() /** * The options that determine the primary value display type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-primaryvaluedisplaytype) */ override fun primaryValueDisplayType(): String? = unwrap(this).getPrimaryValueDisplayType() /** * The options that determine the primary value font configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-primaryvaluefontconfiguration) */ override fun primaryValueFontConfiguration(): Any? = unwrap(this).getPrimaryValueFontConfiguration() /** * The options that determine the presentation of the progress bar of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-progressbar) */ override fun progressBar(): Any? = unwrap(this).getProgressBar() /** * The options that determine the presentation of the secondary value of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-secondaryvalue) */ override fun secondaryValue(): Any? = unwrap(this).getSecondaryValue() /** * The options that determine the secondary value font configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-secondaryvaluefontconfiguration) */ override fun secondaryValueFontConfiguration(): Any? = unwrap(this).getSecondaryValueFontConfiguration() /** * The options that determine the visibility, color, type, and tooltip visibility of the * sparkline of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-sparkline) */ override fun sparkline(): Any? = unwrap(this).getSparkline() /** * The options that determine the presentation of trend arrows in a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-trendarrows) */ override fun trendArrows(): Any? = unwrap(this).getTrendArrows() /** * The options that determine the layout a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpioptions.html#cfn-quicksight-dashboard-kpioptions-visuallayoutoptions) */ override fun visualLayoutOptions(): Any? = unwrap(this).getVisualLayoutOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPIOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIOptionsProperty): KPIOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? KPIOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPIOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPIOptionsProperty } } /** * The conditional formatting for the primary value of a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * KPIPrimaryValueConditionalFormattingProperty kPIPrimaryValueConditionalFormattingProperty = * KPIPrimaryValueConditionalFormattingProperty.builder() * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiprimaryvalueconditionalformatting.html) */ public interface KPIPrimaryValueConditionalFormattingProperty { /** * The conditional formatting of the primary value's icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiprimaryvalueconditionalformatting.html#cfn-quicksight-dashboard-kpiprimaryvalueconditionalformatting-icon) */ public fun icon(): Any? = unwrap(this).getIcon() /** * The conditional formatting of the primary value's text color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiprimaryvalueconditionalformatting.html#cfn-quicksight-dashboard-kpiprimaryvalueconditionalformatting-textcolor) */ public fun textColor(): Any? = unwrap(this).getTextColor() /** * A builder for [KPIPrimaryValueConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param icon The conditional formatting of the primary value's icon. */ public fun icon(icon: IResolvable) /** * @param icon The conditional formatting of the primary value's icon. */ public fun icon(icon: ConditionalFormattingIconProperty) /** * @param icon The conditional formatting of the primary value's icon. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c276167dbc0426d143aaa056b40beffdce0ac75d9a4638c2de82a65b6a4641cf") public fun icon(icon: ConditionalFormattingIconProperty.Builder.() -> Unit) /** * @param textColor The conditional formatting of the primary value's text color. */ public fun textColor(textColor: IResolvable) /** * @param textColor The conditional formatting of the primary value's text color. */ public fun textColor(textColor: ConditionalFormattingColorProperty) /** * @param textColor The conditional formatting of the primary value's text color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9a4f66621d939baa5d66bd3adb1c58ed9119c72169689d486cb3eb9aa01fc9fa") public fun textColor(textColor: ConditionalFormattingColorProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIPrimaryValueConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPIPrimaryValueConditionalFormattingProperty.builder() /** * @param icon The conditional formatting of the primary value's icon. */ override fun icon(icon: IResolvable) { cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the primary value's icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** * @param icon The conditional formatting of the primary value's icon. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c276167dbc0426d143aaa056b40beffdce0ac75d9a4638c2de82a65b6a4641cf") override fun icon(icon: ConditionalFormattingIconProperty.Builder.() -> Unit): Unit = icon(ConditionalFormattingIconProperty(icon)) /** * @param textColor The conditional formatting of the primary value's text color. */ override fun textColor(textColor: IResolvable) { cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the primary value's text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** * @param textColor The conditional formatting of the primary value's text color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9a4f66621d939baa5d66bd3adb1c58ed9119c72169689d486cb3eb9aa01fc9fa") override fun textColor(textColor: ConditionalFormattingColorProperty.Builder.() -> Unit): Unit = textColor(ConditionalFormattingColorProperty(textColor)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIPrimaryValueConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIPrimaryValueConditionalFormattingProperty, ) : CdkObject(cdkObject), KPIPrimaryValueConditionalFormattingProperty { /** * The conditional formatting of the primary value's icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiprimaryvalueconditionalformatting.html#cfn-quicksight-dashboard-kpiprimaryvalueconditionalformatting-icon) */ override fun icon(): Any? = unwrap(this).getIcon() /** * The conditional formatting of the primary value's text color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiprimaryvalueconditionalformatting.html#cfn-quicksight-dashboard-kpiprimaryvalueconditionalformatting-textcolor) */ override fun textColor(): Any? = unwrap(this).getTextColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPIPrimaryValueConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIPrimaryValueConditionalFormattingProperty): KPIPrimaryValueConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? KPIPrimaryValueConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPIPrimaryValueConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIPrimaryValueConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPIPrimaryValueConditionalFormattingProperty } } /** * The conditional formatting for the progress bar of a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * KPIProgressBarConditionalFormattingProperty kPIProgressBarConditionalFormattingProperty = * KPIProgressBarConditionalFormattingProperty.builder() * .foregroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiprogressbarconditionalformatting.html) */ public interface KPIProgressBarConditionalFormattingProperty { /** * The conditional formatting of the progress bar's foreground color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiprogressbarconditionalformatting.html#cfn-quicksight-dashboard-kpiprogressbarconditionalformatting-foregroundcolor) */ public fun foregroundColor(): Any? = unwrap(this).getForegroundColor() /** * A builder for [KPIProgressBarConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param foregroundColor The conditional formatting of the progress bar's foreground color. */ public fun foregroundColor(foregroundColor: IResolvable) /** * @param foregroundColor The conditional formatting of the progress bar's foreground color. */ public fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty) /** * @param foregroundColor The conditional formatting of the progress bar's foreground color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4391901caa08bf46c9ea9dba12c86d6d7592ab2ffefbdf8e8e440816e1a450d1") public fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIProgressBarConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPIProgressBarConditionalFormattingProperty.builder() /** * @param foregroundColor The conditional formatting of the progress bar's foreground color. */ override fun foregroundColor(foregroundColor: IResolvable) { cdkBuilder.foregroundColor(foregroundColor.let(IResolvable.Companion::unwrap)) } /** * @param foregroundColor The conditional formatting of the progress bar's foreground color. */ override fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty) { cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** * @param foregroundColor The conditional formatting of the progress bar's foreground color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4391901caa08bf46c9ea9dba12c86d6d7592ab2ffefbdf8e8e440816e1a450d1") override fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty.Builder.() -> Unit): Unit = foregroundColor(ConditionalFormattingColorProperty(foregroundColor)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIProgressBarConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIProgressBarConditionalFormattingProperty, ) : CdkObject(cdkObject), KPIProgressBarConditionalFormattingProperty { /** * The conditional formatting of the progress bar's foreground color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpiprogressbarconditionalformatting.html#cfn-quicksight-dashboard-kpiprogressbarconditionalformatting-foregroundcolor) */ override fun foregroundColor(): Any? = unwrap(this).getForegroundColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPIProgressBarConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIProgressBarConditionalFormattingProperty): KPIProgressBarConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? KPIProgressBarConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPIProgressBarConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIProgressBarConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPIProgressBarConditionalFormattingProperty } } /** * The sort configuration of a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * KPISortConfigurationProperty kPISortConfigurationProperty = * KPISortConfigurationProperty.builder() * .trendGroupSort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpisortconfiguration.html) */ public interface KPISortConfigurationProperty { /** * The sort configuration of the trend group fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpisortconfiguration.html#cfn-quicksight-dashboard-kpisortconfiguration-trendgroupsort) */ public fun trendGroupSort(): Any? = unwrap(this).getTrendGroupSort() /** * A builder for [KPISortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param trendGroupSort The sort configuration of the trend group fields. */ public fun trendGroupSort(trendGroupSort: IResolvable) /** * @param trendGroupSort The sort configuration of the trend group fields. */ public fun trendGroupSort(trendGroupSort: List) /** * @param trendGroupSort The sort configuration of the trend group fields. */ public fun trendGroupSort(vararg trendGroupSort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPISortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPISortConfigurationProperty.builder() /** * @param trendGroupSort The sort configuration of the trend group fields. */ override fun trendGroupSort(trendGroupSort: IResolvable) { cdkBuilder.trendGroupSort(trendGroupSort.let(IResolvable.Companion::unwrap)) } /** * @param trendGroupSort The sort configuration of the trend group fields. */ override fun trendGroupSort(trendGroupSort: List) { cdkBuilder.trendGroupSort(trendGroupSort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param trendGroupSort The sort configuration of the trend group fields. */ override fun trendGroupSort(vararg trendGroupSort: Any): Unit = trendGroupSort(trendGroupSort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPISortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPISortConfigurationProperty, ) : CdkObject(cdkObject), KPISortConfigurationProperty { /** * The sort configuration of the trend group fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpisortconfiguration.html#cfn-quicksight-dashboard-kpisortconfiguration-trendgroupsort) */ override fun trendGroupSort(): Any? = unwrap(this).getTrendGroupSort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPISortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPISortConfigurationProperty): KPISortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? KPISortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPISortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPISortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPISortConfigurationProperty } } /** * The options that determine the visibility, color, type, and tooltip visibility of the sparkline * of a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * KPISparklineOptionsProperty kPISparklineOptionsProperty = KPISparklineOptionsProperty.builder() * .type("type") * // the properties below are optional * .color("color") * .tooltipVisibility("tooltipVisibility") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpisparklineoptions.html) */ public interface KPISparklineOptionsProperty { /** * The color of the sparkline. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpisparklineoptions.html#cfn-quicksight-dashboard-kpisparklineoptions-color) */ public fun color(): String? = unwrap(this).getColor() /** * The tooltip visibility of the sparkline. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpisparklineoptions.html#cfn-quicksight-dashboard-kpisparklineoptions-tooltipvisibility) */ public fun tooltipVisibility(): String? = unwrap(this).getTooltipVisibility() /** * The type of the sparkline. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpisparklineoptions.html#cfn-quicksight-dashboard-kpisparklineoptions-type) */ public fun type(): String /** * The visibility of the sparkline. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpisparklineoptions.html#cfn-quicksight-dashboard-kpisparklineoptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [KPISparklineOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param color The color of the sparkline. */ public fun color(color: String) /** * @param tooltipVisibility The tooltip visibility of the sparkline. */ public fun tooltipVisibility(tooltipVisibility: String) /** * @param type The type of the sparkline. */ public fun type(type: String) /** * @param visibility The visibility of the sparkline. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPISparklineOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPISparklineOptionsProperty.builder() /** * @param color The color of the sparkline. */ override fun color(color: String) { cdkBuilder.color(color) } /** * @param tooltipVisibility The tooltip visibility of the sparkline. */ override fun tooltipVisibility(tooltipVisibility: String) { cdkBuilder.tooltipVisibility(tooltipVisibility) } /** * @param type The type of the sparkline. */ override fun type(type: String) { cdkBuilder.type(type) } /** * @param visibility The visibility of the sparkline. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPISparklineOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPISparklineOptionsProperty, ) : CdkObject(cdkObject), KPISparklineOptionsProperty { /** * The color of the sparkline. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpisparklineoptions.html#cfn-quicksight-dashboard-kpisparklineoptions-color) */ override fun color(): String? = unwrap(this).getColor() /** * The tooltip visibility of the sparkline. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpisparklineoptions.html#cfn-quicksight-dashboard-kpisparklineoptions-tooltipvisibility) */ override fun tooltipVisibility(): String? = unwrap(this).getTooltipVisibility() /** * The type of the sparkline. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpisparklineoptions.html#cfn-quicksight-dashboard-kpisparklineoptions-type) */ override fun type(): String = unwrap(this).getType() /** * The visibility of the sparkline. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpisparklineoptions.html#cfn-quicksight-dashboard-kpisparklineoptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPISparklineOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPISparklineOptionsProperty): KPISparklineOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? KPISparklineOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPISparklineOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPISparklineOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPISparklineOptionsProperty } } /** * The options that determine the layout a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * KPIVisualLayoutOptionsProperty kPIVisualLayoutOptionsProperty = * KPIVisualLayoutOptionsProperty.builder() * .standardLayout(KPIVisualStandardLayoutProperty.builder() * .type("type") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisuallayoutoptions.html) */ public interface KPIVisualLayoutOptionsProperty { /** * The standard layout of the KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisuallayoutoptions.html#cfn-quicksight-dashboard-kpivisuallayoutoptions-standardlayout) */ public fun standardLayout(): Any? = unwrap(this).getStandardLayout() /** * A builder for [KPIVisualLayoutOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param standardLayout The standard layout of the KPI visual. */ public fun standardLayout(standardLayout: IResolvable) /** * @param standardLayout The standard layout of the KPI visual. */ public fun standardLayout(standardLayout: KPIVisualStandardLayoutProperty) /** * @param standardLayout The standard layout of the KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("baffa0aedbbc2f63ffcd2e5f6a9825f50e3e87c1c4ef4b2e26081494cc99f8e9") public fun standardLayout(standardLayout: KPIVisualStandardLayoutProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualLayoutOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualLayoutOptionsProperty.builder() /** * @param standardLayout The standard layout of the KPI visual. */ override fun standardLayout(standardLayout: IResolvable) { cdkBuilder.standardLayout(standardLayout.let(IResolvable.Companion::unwrap)) } /** * @param standardLayout The standard layout of the KPI visual. */ override fun standardLayout(standardLayout: KPIVisualStandardLayoutProperty) { cdkBuilder.standardLayout(standardLayout.let(KPIVisualStandardLayoutProperty.Companion::unwrap)) } /** * @param standardLayout The standard layout of the KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("baffa0aedbbc2f63ffcd2e5f6a9825f50e3e87c1c4ef4b2e26081494cc99f8e9") override fun standardLayout(standardLayout: KPIVisualStandardLayoutProperty.Builder.() -> Unit): Unit = standardLayout(KPIVisualStandardLayoutProperty(standardLayout)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualLayoutOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualLayoutOptionsProperty, ) : CdkObject(cdkObject), KPIVisualLayoutOptionsProperty { /** * The standard layout of the KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisuallayoutoptions.html#cfn-quicksight-dashboard-kpivisuallayoutoptions-standardlayout) */ override fun standardLayout(): Any? = unwrap(this).getStandardLayout() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPIVisualLayoutOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualLayoutOptionsProperty): KPIVisualLayoutOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? KPIVisualLayoutOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPIVisualLayoutOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualLayoutOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualLayoutOptionsProperty } } /** * A key performance indicator (KPI). * * For more information, see [Using * KPIs](https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) in the *Amazon QuickSight User * Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html) */ public interface KPIVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The conditional formatting of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-conditionalformatting) */ public fun conditionalFormatting(): Any? = unwrap(this).getConditionalFormatting() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-visualid) */ public fun visualId(): String /** * A builder for [KPIVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration of a KPI visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration of a KPI visual. */ public fun chartConfiguration(chartConfiguration: KPIConfigurationProperty) /** * @param chartConfiguration The configuration of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bb3d03928667de8e220d22547020a4079b52d70a7dc107df61acacf909100bb7") public fun chartConfiguration(chartConfiguration: KPIConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param conditionalFormatting The conditional formatting of a KPI visual. */ public fun conditionalFormatting(conditionalFormatting: IResolvable) /** * @param conditionalFormatting The conditional formatting of a KPI visual. */ public fun conditionalFormatting(conditionalFormatting: KPIConditionalFormattingProperty) /** * @param conditionalFormatting The conditional formatting of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4b4914c3870790526e8df48089568b5653aae56a70dcfc2655482b20a51d77ac") public fun conditionalFormatting(conditionalFormatting: KPIConditionalFormattingProperty.Builder.() -> Unit) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7988dab7e7f5196487a666724255012b539842196d0b10cd8451946a6eae6831") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("34294855003db80c75945ec95f8adb09cda89d71bca7fe96c35ed682d7f3de1a") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration of a KPI visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a KPI visual. */ override fun chartConfiguration(chartConfiguration: KPIConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(KPIConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bb3d03928667de8e220d22547020a4079b52d70a7dc107df61acacf909100bb7") override fun chartConfiguration(chartConfiguration: KPIConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(KPIConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param conditionalFormatting The conditional formatting of a KPI visual. */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting of a KPI visual. */ override fun conditionalFormatting(conditionalFormatting: KPIConditionalFormattingProperty) { cdkBuilder.conditionalFormatting(conditionalFormatting.let(KPIConditionalFormattingProperty.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting of a KPI visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4b4914c3870790526e8df48089568b5653aae56a70dcfc2655482b20a51d77ac") override fun conditionalFormatting(conditionalFormatting: KPIConditionalFormattingProperty.Builder.() -> Unit): Unit = conditionalFormatting(KPIConditionalFormattingProperty(conditionalFormatting)) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7988dab7e7f5196487a666724255012b539842196d0b10cd8451946a6eae6831") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("34294855003db80c75945ec95f8adb09cda89d71bca7fe96c35ed682d7f3de1a") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualProperty, ) : CdkObject(cdkObject), KPIVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The conditional formatting of a KPI visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-conditionalformatting) */ override fun conditionalFormatting(): Any? = unwrap(this).getConditionalFormatting() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisual.html#cfn-quicksight-dashboard-kpivisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPIVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualProperty): KPIVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? KPIVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPIVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualProperty } } /** * The standard layout of the KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * KPIVisualStandardLayoutProperty kPIVisualStandardLayoutProperty = * KPIVisualStandardLayoutProperty.builder() * .type("type") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisualstandardlayout.html) */ public interface KPIVisualStandardLayoutProperty { /** * The standard layout type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisualstandardlayout.html#cfn-quicksight-dashboard-kpivisualstandardlayout-type) */ public fun type(): String /** * A builder for [KPIVisualStandardLayoutProperty] */ @CdkDslMarker public interface Builder { /** * @param type The standard layout type. */ public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualStandardLayoutProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualStandardLayoutProperty.builder() /** * @param type The standard layout type. */ override fun type(type: String) { cdkBuilder.type(type) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualStandardLayoutProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualStandardLayoutProperty, ) : CdkObject(cdkObject), KPIVisualStandardLayoutProperty { /** * The standard layout type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisualstandardlayout.html#cfn-quicksight-dashboard-kpivisualstandardlayout-type) */ override fun type(): String = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): KPIVisualStandardLayoutProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualStandardLayoutProperty): KPIVisualStandardLayoutProperty = CdkObjectWrappers.wrap(cdkObject) as? KPIVisualStandardLayoutProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: KPIVisualStandardLayoutProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualStandardLayoutProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.KPIVisualStandardLayoutProperty } } /** * The share label options for the labels. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LabelOptionsProperty labelOptionsProperty = LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-labeloptions.html) */ public interface LabelOptionsProperty { /** * The text for the label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-labeloptions.html#cfn-quicksight-dashboard-labeloptions-customlabel) */ public fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The font configuration of the label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-labeloptions.html#cfn-quicksight-dashboard-labeloptions-fontconfiguration) */ public fun fontConfiguration(): Any? = unwrap(this).getFontConfiguration() /** * Determines whether or not the label is visible. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-labeloptions.html#cfn-quicksight-dashboard-labeloptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [LabelOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param customLabel The text for the label. */ public fun customLabel(customLabel: String) /** * @param fontConfiguration The font configuration of the label. */ public fun fontConfiguration(fontConfiguration: IResolvable) /** * @param fontConfiguration The font configuration of the label. */ public fun fontConfiguration(fontConfiguration: FontConfigurationProperty) /** * @param fontConfiguration The font configuration of the label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cc7d5910f86f243d3462c0dbecd8f81e226ddec2fe38b16ef7ddbe75080ededf") public fun fontConfiguration(fontConfiguration: FontConfigurationProperty.Builder.() -> Unit) /** * @param visibility Determines whether or not the label is visible. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LabelOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LabelOptionsProperty.builder() /** * @param customLabel The text for the label. */ override fun customLabel(customLabel: String) { cdkBuilder.customLabel(customLabel) } /** * @param fontConfiguration The font configuration of the label. */ override fun fontConfiguration(fontConfiguration: IResolvable) { cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the label. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cc7d5910f86f243d3462c0dbecd8f81e226ddec2fe38b16ef7ddbe75080ededf") override fun fontConfiguration(fontConfiguration: FontConfigurationProperty.Builder.() -> Unit): Unit = fontConfiguration(FontConfigurationProperty(fontConfiguration)) /** * @param visibility Determines whether or not the label is visible. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LabelOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LabelOptionsProperty, ) : CdkObject(cdkObject), LabelOptionsProperty { /** * The text for the label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-labeloptions.html#cfn-quicksight-dashboard-labeloptions-customlabel) */ override fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The font configuration of the label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-labeloptions.html#cfn-quicksight-dashboard-labeloptions-fontconfiguration) */ override fun fontConfiguration(): Any? = unwrap(this).getFontConfiguration() /** * Determines whether or not the label is visible. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-labeloptions.html#cfn-quicksight-dashboard-labeloptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LabelOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LabelOptionsProperty): LabelOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? LabelOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LabelOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LabelOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LabelOptionsProperty } } /** * The configuration that determines what the type of layout will be used on a sheet. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LayoutConfigurationProperty layoutConfigurationProperty = LayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * // the properties below are optional * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build()) * .gridLayout(GridLayoutConfigurationProperty.builder() * .elements(List.of(GridLayoutElementProperty.builder() * .columnSpan(123) * .elementId("elementId") * .elementType("elementType") * .rowSpan(123) * // the properties below are optional * .columnIndex(123) * .rowIndex(123) * .build())) * // the properties below are optional * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() * .resizeOption("resizeOption") * // the properties below are optional * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build()) * .sectionBasedLayout(SectionBasedLayoutConfigurationProperty.builder() * .bodySections(List.of(BodySectionConfigurationProperty.builder() * .content(BodySectionContentProperty.builder() * .layout(SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build()) * .build()) * .sectionId("sectionId") * // the properties below are optional * .pageBreakConfiguration(SectionPageBreakConfigurationProperty.builder() * .after(SectionAfterPageBreakProperty.builder() * .status("status") * .build()) * .build()) * .style(SectionStyleProperty.builder() * .height("height") * .padding(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .build()) * .build())) * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() * .paperMargin(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .paperOrientation("paperOrientation") * .paperSize("paperSize") * .build()) * .build()) * .footerSections(List.of(HeaderFooterSectionConfigurationProperty.builder() * .layout(SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build()) * .sectionId("sectionId") * // the properties below are optional * .style(SectionStyleProperty.builder() * .height("height") * .padding(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .build()) * .build())) * .headerSections(List.of(HeaderFooterSectionConfigurationProperty.builder() * .layout(SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build()) * .sectionId("sectionId") * // the properties below are optional * .style(SectionStyleProperty.builder() * .height("height") * .padding(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .build()) * .build())) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-layoutconfiguration.html) */ public interface LayoutConfigurationProperty { /** * A free-form is optimized for a fixed width and has more control over the exact placement of * layout elements. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-layoutconfiguration.html#cfn-quicksight-dashboard-layoutconfiguration-freeformlayout) */ public fun freeFormLayout(): Any? = unwrap(this).getFreeFormLayout() /** * A type of layout that can be used on a sheet. * * In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are * displayed as designed, with options to fit to screen or view at actual size. A grid layout can * be configured to behave in one of two ways when the viewport is resized: `FIXED` or `RESPONSIVE` * . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-layoutconfiguration.html#cfn-quicksight-dashboard-layoutconfiguration-gridlayout) */ public fun gridLayout(): Any? = unwrap(this).getGridLayout() /** * A section based layout organizes visuals into multiple sections and has customized header, * footer and page break. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-layoutconfiguration.html#cfn-quicksight-dashboard-layoutconfiguration-sectionbasedlayout) */ public fun sectionBasedLayout(): Any? = unwrap(this).getSectionBasedLayout() /** * A builder for [LayoutConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param freeFormLayout A free-form is optimized for a fixed width and has more control over * the exact placement of layout elements. */ public fun freeFormLayout(freeFormLayout: IResolvable) /** * @param freeFormLayout A free-form is optimized for a fixed width and has more control over * the exact placement of layout elements. */ public fun freeFormLayout(freeFormLayout: FreeFormLayoutConfigurationProperty) /** * @param freeFormLayout A free-form is optimized for a fixed width and has more control over * the exact placement of layout elements. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0fdb65e221b3d57d688578d6130b39b496c3e78b70b2923525fb0b95bdc7610b") public fun freeFormLayout(freeFormLayout: FreeFormLayoutConfigurationProperty.Builder.() -> Unit) /** * @param gridLayout A type of layout that can be used on a sheet. * In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards * are displayed as designed, with options to fit to screen or view at actual size. A grid layout * can be configured to behave in one of two ways when the viewport is resized: `FIXED` or * `RESPONSIVE` . */ public fun gridLayout(gridLayout: IResolvable) /** * @param gridLayout A type of layout that can be used on a sheet. * In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards * are displayed as designed, with options to fit to screen or view at actual size. A grid layout * can be configured to behave in one of two ways when the viewport is resized: `FIXED` or * `RESPONSIVE` . */ public fun gridLayout(gridLayout: GridLayoutConfigurationProperty) /** * @param gridLayout A type of layout that can be used on a sheet. * In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards * are displayed as designed, with options to fit to screen or view at actual size. A grid layout * can be configured to behave in one of two ways when the viewport is resized: `FIXED` or * `RESPONSIVE` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2ee472b20ba4a34f6fc4fb9aafc64544838b0cdea5a39ec1b74bea0826bc0947") public fun gridLayout(gridLayout: GridLayoutConfigurationProperty.Builder.() -> Unit) /** * @param sectionBasedLayout A section based layout organizes visuals into multiple sections * and has customized header, footer and page break. */ public fun sectionBasedLayout(sectionBasedLayout: IResolvable) /** * @param sectionBasedLayout A section based layout organizes visuals into multiple sections * and has customized header, footer and page break. */ public fun sectionBasedLayout(sectionBasedLayout: SectionBasedLayoutConfigurationProperty) /** * @param sectionBasedLayout A section based layout organizes visuals into multiple sections * and has customized header, footer and page break. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c9806cbad072873272e7ce7cf840af987ad2ad9ec651d6b14b4421560a95a402") public fun sectionBasedLayout(sectionBasedLayout: SectionBasedLayoutConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutConfigurationProperty.builder() /** * @param freeFormLayout A free-form is optimized for a fixed width and has more control over * the exact placement of layout elements. */ override fun freeFormLayout(freeFormLayout: IResolvable) { cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable.Companion::unwrap)) } /** * @param freeFormLayout A free-form is optimized for a fixed width and has more control over * the exact placement of layout elements. */ override fun freeFormLayout(freeFormLayout: FreeFormLayoutConfigurationProperty) { cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormLayoutConfigurationProperty.Companion::unwrap)) } /** * @param freeFormLayout A free-form is optimized for a fixed width and has more control over * the exact placement of layout elements. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0fdb65e221b3d57d688578d6130b39b496c3e78b70b2923525fb0b95bdc7610b") override fun freeFormLayout(freeFormLayout: FreeFormLayoutConfigurationProperty.Builder.() -> Unit): Unit = freeFormLayout(FreeFormLayoutConfigurationProperty(freeFormLayout)) /** * @param gridLayout A type of layout that can be used on a sheet. * In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards * are displayed as designed, with options to fit to screen or view at actual size. A grid layout * can be configured to behave in one of two ways when the viewport is resized: `FIXED` or * `RESPONSIVE` . */ override fun gridLayout(gridLayout: IResolvable) { cdkBuilder.gridLayout(gridLayout.let(IResolvable.Companion::unwrap)) } /** * @param gridLayout A type of layout that can be used on a sheet. * In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards * are displayed as designed, with options to fit to screen or view at actual size. A grid layout * can be configured to behave in one of two ways when the viewport is resized: `FIXED` or * `RESPONSIVE` . */ override fun gridLayout(gridLayout: GridLayoutConfigurationProperty) { cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty.Companion::unwrap)) } /** * @param gridLayout A type of layout that can be used on a sheet. * In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards * are displayed as designed, with options to fit to screen or view at actual size. A grid layout * can be configured to behave in one of two ways when the viewport is resized: `FIXED` or * `RESPONSIVE` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2ee472b20ba4a34f6fc4fb9aafc64544838b0cdea5a39ec1b74bea0826bc0947") override fun gridLayout(gridLayout: GridLayoutConfigurationProperty.Builder.() -> Unit): Unit = gridLayout(GridLayoutConfigurationProperty(gridLayout)) /** * @param sectionBasedLayout A section based layout organizes visuals into multiple sections * and has customized header, footer and page break. */ override fun sectionBasedLayout(sectionBasedLayout: IResolvable) { cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(IResolvable.Companion::unwrap)) } /** * @param sectionBasedLayout A section based layout organizes visuals into multiple sections * and has customized header, footer and page break. */ override fun sectionBasedLayout(sectionBasedLayout: SectionBasedLayoutConfigurationProperty) { cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(SectionBasedLayoutConfigurationProperty.Companion::unwrap)) } /** * @param sectionBasedLayout A section based layout organizes visuals into multiple sections * and has customized header, footer and page break. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c9806cbad072873272e7ce7cf840af987ad2ad9ec651d6b14b4421560a95a402") override fun sectionBasedLayout(sectionBasedLayout: SectionBasedLayoutConfigurationProperty.Builder.() -> Unit): Unit = sectionBasedLayout(SectionBasedLayoutConfigurationProperty(sectionBasedLayout)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutConfigurationProperty, ) : CdkObject(cdkObject), LayoutConfigurationProperty { /** * A free-form is optimized for a fixed width and has more control over the exact placement of * layout elements. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-layoutconfiguration.html#cfn-quicksight-dashboard-layoutconfiguration-freeformlayout) */ override fun freeFormLayout(): Any? = unwrap(this).getFreeFormLayout() /** * A type of layout that can be used on a sheet. * * In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards * are displayed as designed, with options to fit to screen or view at actual size. A grid layout * can be configured to behave in one of two ways when the viewport is resized: `FIXED` or * `RESPONSIVE` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-layoutconfiguration.html#cfn-quicksight-dashboard-layoutconfiguration-gridlayout) */ override fun gridLayout(): Any? = unwrap(this).getGridLayout() /** * A section based layout organizes visuals into multiple sections and has customized header, * footer and page break. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-layoutconfiguration.html#cfn-quicksight-dashboard-layoutconfiguration-sectionbasedlayout) */ override fun sectionBasedLayout(): Any? = unwrap(this).getSectionBasedLayout() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutConfigurationProperty): LayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? LayoutConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LayoutConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutConfigurationProperty } } /** * A `Layout` defines the placement of elements within a sheet. * * For more information, see [Types of * layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon * QuickSight User Guide* . * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LayoutProperty layoutProperty = LayoutProperty.builder() * .configuration(LayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * // the properties below are optional * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build()) * .gridLayout(GridLayoutConfigurationProperty.builder() * .elements(List.of(GridLayoutElementProperty.builder() * .columnSpan(123) * .elementId("elementId") * .elementType("elementType") * .rowSpan(123) * // the properties below are optional * .columnIndex(123) * .rowIndex(123) * .build())) * // the properties below are optional * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() * .resizeOption("resizeOption") * // the properties below are optional * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build()) * .sectionBasedLayout(SectionBasedLayoutConfigurationProperty.builder() * .bodySections(List.of(BodySectionConfigurationProperty.builder() * .content(BodySectionContentProperty.builder() * .layout(SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build()) * .build()) * .sectionId("sectionId") * // the properties below are optional * .pageBreakConfiguration(SectionPageBreakConfigurationProperty.builder() * .after(SectionAfterPageBreakProperty.builder() * .status("status") * .build()) * .build()) * .style(SectionStyleProperty.builder() * .height("height") * .padding(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .build()) * .build())) * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() * .paperMargin(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .paperOrientation("paperOrientation") * .paperSize("paperSize") * .build()) * .build()) * .footerSections(List.of(HeaderFooterSectionConfigurationProperty.builder() * .layout(SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build()) * .sectionId("sectionId") * // the properties below are optional * .style(SectionStyleProperty.builder() * .height("height") * .padding(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .build()) * .build())) * .headerSections(List.of(HeaderFooterSectionConfigurationProperty.builder() * .layout(SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build()) * .sectionId("sectionId") * // the properties below are optional * .style(SectionStyleProperty.builder() * .height("height") * .padding(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .build()) * .build())) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-layout.html) */ public interface LayoutProperty { /** * The configuration that determines what the type of layout for a sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-layout.html#cfn-quicksight-dashboard-layout-configuration) */ public fun configuration(): Any /** * A builder for [LayoutProperty] */ @CdkDslMarker public interface Builder { /** * @param configuration The configuration that determines what the type of layout for a sheet. * */ public fun configuration(configuration: IResolvable) /** * @param configuration The configuration that determines what the type of layout for a sheet. * */ public fun configuration(configuration: LayoutConfigurationProperty) /** * @param configuration The configuration that determines what the type of layout for a sheet. * */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2706a552d73ae1b250c0eb8b7571b1654b98e07de25674896e21e619eaf2a88d") public fun configuration(configuration: LayoutConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutProperty.builder() /** * @param configuration The configuration that determines what the type of layout for a sheet. * */ override fun configuration(configuration: IResolvable) { cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration The configuration that determines what the type of layout for a sheet. * */ override fun configuration(configuration: LayoutConfigurationProperty) { cdkBuilder.configuration(configuration.let(LayoutConfigurationProperty.Companion::unwrap)) } /** * @param configuration The configuration that determines what the type of layout for a sheet. * */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2706a552d73ae1b250c0eb8b7571b1654b98e07de25674896e21e619eaf2a88d") override fun configuration(configuration: LayoutConfigurationProperty.Builder.() -> Unit): Unit = configuration(LayoutConfigurationProperty(configuration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutProperty, ) : CdkObject(cdkObject), LayoutProperty { /** * The configuration that determines what the type of layout for a sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-layout.html#cfn-quicksight-dashboard-layout-configuration) */ override fun configuration(): Any = unwrap(this).getConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LayoutProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutProperty): LayoutProperty = CdkObjectWrappers.wrap(cdkObject) as? LayoutProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LayoutProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LayoutProperty } } /** * The options for the legend setup of a visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LegendOptionsProperty legendOptionsProperty = LegendOptionsProperty.builder() * .height("height") * .position("position") * .title(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .visibility("visibility") * .width("width") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-legendoptions.html) */ public interface LegendOptionsProperty { /** * The height of the legend. * * If this value is omitted, a default height is used when rendering. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-legendoptions.html#cfn-quicksight-dashboard-legendoptions-height) */ public fun height(): String? = unwrap(this).getHeight() /** * The positions for the legend. Choose one of the following options:. * * * `AUTO` * * `RIGHT` * * `BOTTOM` * * `LEFT` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-legendoptions.html#cfn-quicksight-dashboard-legendoptions-position) */ public fun position(): String? = unwrap(this).getPosition() /** * The custom title for the legend. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-legendoptions.html#cfn-quicksight-dashboard-legendoptions-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * Determines whether or not the legend is visible. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-legendoptions.html#cfn-quicksight-dashboard-legendoptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * The width of the legend. * * If this value is omitted, a default width is used when rendering. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-legendoptions.html#cfn-quicksight-dashboard-legendoptions-width) */ public fun width(): String? = unwrap(this).getWidth() /** * A builder for [LegendOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param height The height of the legend. * If this value is omitted, a default height is used when rendering. */ public fun height(height: String) /** * @param position The positions for the legend. Choose one of the following options:. * * `AUTO` * * `RIGHT` * * `BOTTOM` * * `LEFT` */ public fun position(position: String) /** * @param title The custom title for the legend. */ public fun title(title: IResolvable) /** * @param title The custom title for the legend. */ public fun title(title: LabelOptionsProperty) /** * @param title The custom title for the legend. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("049b9da310192f0073f43dfa3ea0708990a0cf1519318bb9f2989dc209e62c1e") public fun title(title: LabelOptionsProperty.Builder.() -> Unit) /** * @param visibility Determines whether or not the legend is visible. */ public fun visibility(visibility: String) /** * @param width The width of the legend. * If this value is omitted, a default width is used when rendering. */ public fun width(width: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LegendOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LegendOptionsProperty.builder() /** * @param height The height of the legend. * If this value is omitted, a default height is used when rendering. */ override fun height(height: String) { cdkBuilder.height(height) } /** * @param position The positions for the legend. Choose one of the following options:. * * `AUTO` * * `RIGHT` * * `BOTTOM` * * `LEFT` */ override fun position(position: String) { cdkBuilder.position(position) } /** * @param title The custom title for the legend. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The custom title for the legend. */ override fun title(title: LabelOptionsProperty) { cdkBuilder.title(title.let(LabelOptionsProperty.Companion::unwrap)) } /** * @param title The custom title for the legend. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("049b9da310192f0073f43dfa3ea0708990a0cf1519318bb9f2989dc209e62c1e") override fun title(title: LabelOptionsProperty.Builder.() -> Unit): Unit = title(LabelOptionsProperty(title)) /** * @param visibility Determines whether or not the legend is visible. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } /** * @param width The width of the legend. * If this value is omitted, a default width is used when rendering. */ override fun width(width: String) { cdkBuilder.width(width) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LegendOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LegendOptionsProperty, ) : CdkObject(cdkObject), LegendOptionsProperty { /** * The height of the legend. * * If this value is omitted, a default height is used when rendering. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-legendoptions.html#cfn-quicksight-dashboard-legendoptions-height) */ override fun height(): String? = unwrap(this).getHeight() /** * The positions for the legend. Choose one of the following options:. * * * `AUTO` * * `RIGHT` * * `BOTTOM` * * `LEFT` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-legendoptions.html#cfn-quicksight-dashboard-legendoptions-position) */ override fun position(): String? = unwrap(this).getPosition() /** * The custom title for the legend. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-legendoptions.html#cfn-quicksight-dashboard-legendoptions-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * Determines whether or not the legend is visible. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-legendoptions.html#cfn-quicksight-dashboard-legendoptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() /** * The width of the legend. * * If this value is omitted, a default width is used when rendering. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-legendoptions.html#cfn-quicksight-dashboard-legendoptions-width) */ override fun width(): String? = unwrap(this).getWidth() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LegendOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LegendOptionsProperty): LegendOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? LegendOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LegendOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LegendOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LegendOptionsProperty } } /** * The field well configuration of a line chart. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartaggregatedfieldwells.html) */ public interface LineChartAggregatedFieldWellsProperty { /** * The category field wells of a line chart. * * Values are grouped by category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartaggregatedfieldwells.html#cfn-quicksight-dashboard-linechartaggregatedfieldwells-category) */ public fun category(): Any? = unwrap(this).getCategory() /** * The color field wells of a line chart. * * Values are grouped by category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartaggregatedfieldwells.html#cfn-quicksight-dashboard-linechartaggregatedfieldwells-colors) */ public fun colors(): Any? = unwrap(this).getColors() /** * The small multiples field well of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartaggregatedfieldwells.html#cfn-quicksight-dashboard-linechartaggregatedfieldwells-smallmultiples) */ public fun smallMultiples(): Any? = unwrap(this).getSmallMultiples() /** * The value field wells of a line chart. * * Values are aggregated based on categories. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartaggregatedfieldwells.html#cfn-quicksight-dashboard-linechartaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [LineChartAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param category The category field wells of a line chart. * Values are grouped by category fields. */ public fun category(category: IResolvable) /** * @param category The category field wells of a line chart. * Values are grouped by category fields. */ public fun category(category: List) /** * @param category The category field wells of a line chart. * Values are grouped by category fields. */ public fun category(vararg category: Any) /** * @param colors The color field wells of a line chart. * Values are grouped by category fields. */ public fun colors(colors: IResolvable) /** * @param colors The color field wells of a line chart. * Values are grouped by category fields. */ public fun colors(colors: List) /** * @param colors The color field wells of a line chart. * Values are grouped by category fields. */ public fun colors(vararg colors: Any) /** * @param smallMultiples The small multiples field well of a line chart. */ public fun smallMultiples(smallMultiples: IResolvable) /** * @param smallMultiples The small multiples field well of a line chart. */ public fun smallMultiples(smallMultiples: List) /** * @param smallMultiples The small multiples field well of a line chart. */ public fun smallMultiples(vararg smallMultiples: Any) /** * @param values The value field wells of a line chart. * Values are aggregated based on categories. */ public fun values(values: IResolvable) /** * @param values The value field wells of a line chart. * Values are aggregated based on categories. */ public fun values(values: List) /** * @param values The value field wells of a line chart. * Values are aggregated based on categories. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartAggregatedFieldWellsProperty.builder() /** * @param category The category field wells of a line chart. * Values are grouped by category fields. */ override fun category(category: IResolvable) { cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field wells of a line chart. * Values are grouped by category fields. */ override fun category(category: List) { cdkBuilder.category(category.map{CdkObjectWrappers.unwrap(it)}) } /** * @param category The category field wells of a line chart. * Values are grouped by category fields. */ override fun category(vararg category: Any): Unit = category(category.toList()) /** * @param colors The color field wells of a line chart. * Values are grouped by category fields. */ override fun colors(colors: IResolvable) { cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** * @param colors The color field wells of a line chart. * Values are grouped by category fields. */ override fun colors(colors: List) { cdkBuilder.colors(colors.map{CdkObjectWrappers.unwrap(it)}) } /** * @param colors The color field wells of a line chart. * Values are grouped by category fields. */ override fun colors(vararg colors: Any): Unit = colors(colors.toList()) /** * @param smallMultiples The small multiples field well of a line chart. */ override fun smallMultiples(smallMultiples: IResolvable) { cdkBuilder.smallMultiples(smallMultiples.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiples The small multiples field well of a line chart. */ override fun smallMultiples(smallMultiples: List) { cdkBuilder.smallMultiples(smallMultiples.map{CdkObjectWrappers.unwrap(it)}) } /** * @param smallMultiples The small multiples field well of a line chart. */ override fun smallMultiples(vararg smallMultiples: Any): Unit = smallMultiples(smallMultiples.toList()) /** * @param values The value field wells of a line chart. * Values are aggregated based on categories. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The value field wells of a line chart. * Values are aggregated based on categories. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The value field wells of a line chart. * Values are aggregated based on categories. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), LineChartAggregatedFieldWellsProperty { /** * The category field wells of a line chart. * * Values are grouped by category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartaggregatedfieldwells.html#cfn-quicksight-dashboard-linechartaggregatedfieldwells-category) */ override fun category(): Any? = unwrap(this).getCategory() /** * The color field wells of a line chart. * * Values are grouped by category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartaggregatedfieldwells.html#cfn-quicksight-dashboard-linechartaggregatedfieldwells-colors) */ override fun colors(): Any? = unwrap(this).getColors() /** * The small multiples field well of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartaggregatedfieldwells.html#cfn-quicksight-dashboard-linechartaggregatedfieldwells-smallmultiples) */ override fun smallMultiples(): Any? = unwrap(this).getSmallMultiples() /** * The value field wells of a line chart. * * Values are aggregated based on categories. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartaggregatedfieldwells.html#cfn-quicksight-dashboard-linechartaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LineChartAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartAggregatedFieldWellsProperty): LineChartAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? LineChartAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LineChartAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartAggregatedFieldWellsProperty } } /** * The configuration of a line chart. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html) */ public interface LineChartConfigurationProperty { /** * The default configuration of a line chart's contribution analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-contributionanalysisdefaults) */ public fun contributionAnalysisDefaults(): Any? = unwrap(this).getContributionAnalysisDefaults() /** * The data label configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-datalabels) */ public fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The options that determine the default presentation of all line series in `LineChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-defaultseriessettings) */ public fun defaultSeriesSettings(): Any? = unwrap(this).getDefaultSeriesSettings() /** * The field well configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The forecast configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-forecastconfigurations) */ public fun forecastConfigurations(): Any? = unwrap(this).getForecastConfigurations() /** * The legend configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-legend) */ public fun legend(): Any? = unwrap(this).getLegend() /** * The series axis configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-primaryyaxisdisplayoptions) */ public fun primaryYAxisDisplayOptions(): Any? = unwrap(this).getPrimaryYAxisDisplayOptions() /** * The options that determine the presentation of the y-axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-primaryyaxislabeloptions) */ public fun primaryYAxisLabelOptions(): Any? = unwrap(this).getPrimaryYAxisLabelOptions() /** * The reference lines configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-referencelines) */ public fun referenceLines(): Any? = unwrap(this).getReferenceLines() /** * The series axis configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-secondaryyaxisdisplayoptions) */ public fun secondaryYAxisDisplayOptions(): Any? = unwrap(this).getSecondaryYAxisDisplayOptions() /** * The options that determine the presentation of the secondary y-axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-secondaryyaxislabeloptions) */ public fun secondaryYAxisLabelOptions(): Any? = unwrap(this).getSecondaryYAxisLabelOptions() /** * The series item configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-series) */ public fun series(): Any? = unwrap(this).getSeries() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-singleaxisoptions) */ public fun singleAxisOptions(): Any? = unwrap(this).getSingleAxisOptions() /** * The small multiples setup for the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-smallmultiplesoptions) */ public fun smallMultiplesOptions(): Any? = unwrap(this).getSmallMultiplesOptions() /** * The sort configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-tooltip) */ public fun tooltip(): Any? = unwrap(this).getTooltip() /** * Determines the type of the line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-type) */ public fun type(): String? = unwrap(this).getType() /** * The visual palette configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-visualpalette) */ public fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * The options that determine the presentation of the x-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-xaxisdisplayoptions) */ public fun xAxisDisplayOptions(): Any? = unwrap(this).getXAxisDisplayOptions() /** * The options that determine the presentation of the x-axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-xaxislabeloptions) */ public fun xAxisLabelOptions(): Any? = unwrap(this).getXAxisLabelOptions() /** * A builder for [LineChartConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param contributionAnalysisDefaults The default configuration of a line chart's * contribution analysis. */ public fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) /** * @param contributionAnalysisDefaults The default configuration of a line chart's * contribution analysis. */ public fun contributionAnalysisDefaults(contributionAnalysisDefaults: List) /** * @param contributionAnalysisDefaults The default configuration of a line chart's * contribution analysis. */ public fun contributionAnalysisDefaults(vararg contributionAnalysisDefaults: Any) /** * @param dataLabels The data label configuration of a line chart. */ public fun dataLabels(dataLabels: IResolvable) /** * @param dataLabels The data label configuration of a line chart. */ public fun dataLabels(dataLabels: DataLabelOptionsProperty) /** * @param dataLabels The data label configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7e8f91aeae7bffe794c2f64dc944424cf7faa7d9a99b6c6bf6516953c08a9f98") public fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit) /** * @param defaultSeriesSettings The options that determine the default presentation of all * line series in `LineChartVisual` . */ public fun defaultSeriesSettings(defaultSeriesSettings: IResolvable) /** * @param defaultSeriesSettings The options that determine the default presentation of all * line series in `LineChartVisual` . */ public fun defaultSeriesSettings(defaultSeriesSettings: LineChartDefaultSeriesSettingsProperty) /** * @param defaultSeriesSettings The options that determine the default presentation of all * line series in `LineChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8234bdef4c4c49633e515ca2e0f2a11f3e143b0ee27daf5fc5ca62a96ad84c59") public fun defaultSeriesSettings(defaultSeriesSettings: LineChartDefaultSeriesSettingsProperty.Builder.() -> Unit) /** * @param fieldWells The field well configuration of a line chart. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field well configuration of a line chart. */ public fun fieldWells(fieldWells: LineChartFieldWellsProperty) /** * @param fieldWells The field well configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("10530be0f1e2a67fa85cbaf2deb741abe4b300261784023dc92e3ac941bb0d11") public fun fieldWells(fieldWells: LineChartFieldWellsProperty.Builder.() -> Unit) /** * @param forecastConfigurations The forecast configuration of a line chart. */ public fun forecastConfigurations(forecastConfigurations: IResolvable) /** * @param forecastConfigurations The forecast configuration of a line chart. */ public fun forecastConfigurations(forecastConfigurations: List) /** * @param forecastConfigurations The forecast configuration of a line chart. */ public fun forecastConfigurations(vararg forecastConfigurations: Any) /** * @param legend The legend configuration of a line chart. */ public fun legend(legend: IResolvable) /** * @param legend The legend configuration of a line chart. */ public fun legend(legend: LegendOptionsProperty) /** * @param legend The legend configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b4b56b9cd22965f97765526fe505d6ace9cad18af282a0529f8293675486f610") public fun legend(legend: LegendOptionsProperty.Builder.() -> Unit) /** * @param primaryYAxisDisplayOptions The series axis configuration of a line chart. */ public fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) /** * @param primaryYAxisDisplayOptions The series axis configuration of a line chart. */ public fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty) /** * @param primaryYAxisDisplayOptions The series axis configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("43671b42f98e5dc765b42a8f15c6a131400149d4cfab761c5172f778e63532ed") public fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param primaryYAxisLabelOptions The options that determine the presentation of the y-axis * label. */ public fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) /** * @param primaryYAxisLabelOptions The options that determine the presentation of the y-axis * label. */ public fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) /** * @param primaryYAxisLabelOptions The options that determine the presentation of the y-axis * label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("12303805baf41311514f8a04c423e3b2cad8fdf29e0da3c051afab4904d178fa") public fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param referenceLines The reference lines configuration of a line chart. */ public fun referenceLines(referenceLines: IResolvable) /** * @param referenceLines The reference lines configuration of a line chart. */ public fun referenceLines(referenceLines: List) /** * @param referenceLines The reference lines configuration of a line chart. */ public fun referenceLines(vararg referenceLines: Any) /** * @param secondaryYAxisDisplayOptions The series axis configuration of a line chart. */ public fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: IResolvable) /** * @param secondaryYAxisDisplayOptions The series axis configuration of a line chart. */ public fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty) /** * @param secondaryYAxisDisplayOptions The series axis configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("04140a2ee7fcd48be9f0cdf7d91f585a93fa3f430a50b476f1efe47122b47acc") public fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param secondaryYAxisLabelOptions The options that determine the presentation of the * secondary y-axis label. */ public fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: IResolvable) /** * @param secondaryYAxisLabelOptions The options that determine the presentation of the * secondary y-axis label. */ public fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) /** * @param secondaryYAxisLabelOptions The options that determine the presentation of the * secondary y-axis label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ef4213b2776d0a3ac96ee3bc395993eb4f6b96e91056bd596f3743e5a4b78b51") public fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param series The series item configuration of a line chart. */ public fun series(series: IResolvable) /** * @param series The series item configuration of a line chart. */ public fun series(series: List) /** * @param series The series item configuration of a line chart. */ public fun series(vararg series: Any) /** * @param singleAxisOptions the value to be set. */ public fun singleAxisOptions(singleAxisOptions: IResolvable) /** * @param singleAxisOptions the value to be set. */ public fun singleAxisOptions(singleAxisOptions: SingleAxisOptionsProperty) /** * @param singleAxisOptions the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e7c51b2ca81d76618f9f22eb86dc1ee208de07f16206f19e2c40f48d2791c629") public fun singleAxisOptions(singleAxisOptions: SingleAxisOptionsProperty.Builder.() -> Unit) /** * @param smallMultiplesOptions The small multiples setup for the visual. */ public fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) /** * @param smallMultiplesOptions The small multiples setup for the visual. */ public fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) /** * @param smallMultiplesOptions The small multiples setup for the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("08a19bdec6674343c51a623f6e9f7308d6e53d69597ba2cfd0ea7062723a79d4") public fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration of a line chart. */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a line chart. */ public fun sortConfiguration(sortConfiguration: LineChartSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("736dac60eb47418df73f8e409034882d447dc0a8471f0d5679006050e87780f6") public fun sortConfiguration(sortConfiguration: LineChartSortConfigurationProperty.Builder.() -> Unit) /** * @param tooltip The tooltip configuration of a line chart. */ public fun tooltip(tooltip: IResolvable) /** * @param tooltip The tooltip configuration of a line chart. */ public fun tooltip(tooltip: TooltipOptionsProperty) /** * @param tooltip The tooltip configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f678a15d123eaed4f212b17d1e60b006d7ee2af8481e05967bc018e7a5d62e1e") public fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit) /** * @param type Determines the type of the line chart. */ public fun type(type: String) /** * @param visualPalette The visual palette configuration of a line chart. */ public fun visualPalette(visualPalette: IResolvable) /** * @param visualPalette The visual palette configuration of a line chart. */ public fun visualPalette(visualPalette: VisualPaletteProperty) /** * @param visualPalette The visual palette configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("299f2dd24154d2f03beabdf3a8db28cf82d108e1c767cbc26f6046d5829d03d2") public fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit) /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ public fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ public fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("13cc0637a739411f322e94d9ef338857fc9523f4c55b740f2edbc4b675b41202") public fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ public fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ public fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("315950f8e94c368325e0f0315f1cb2863df5620984628a7a904d74f7a7bcf215") public fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartConfigurationProperty.builder() /** * @param contributionAnalysisDefaults The default configuration of a line chart's * contribution analysis. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) { cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable.Companion::unwrap)) } /** * @param contributionAnalysisDefaults The default configuration of a line chart's * contribution analysis. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: List) { cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.map{CdkObjectWrappers.unwrap(it)}) } /** * @param contributionAnalysisDefaults The default configuration of a line chart's * contribution analysis. */ override fun contributionAnalysisDefaults(vararg contributionAnalysisDefaults: Any): Unit = contributionAnalysisDefaults(contributionAnalysisDefaults.toList()) /** * @param dataLabels The data label configuration of a line chart. */ override fun dataLabels(dataLabels: IResolvable) { cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a line chart. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7e8f91aeae7bffe794c2f64dc944424cf7faa7d9a99b6c6bf6516953c08a9f98") override fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit): Unit = dataLabels(DataLabelOptionsProperty(dataLabels)) /** * @param defaultSeriesSettings The options that determine the default presentation of all * line series in `LineChartVisual` . */ override fun defaultSeriesSettings(defaultSeriesSettings: IResolvable) { cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(IResolvable.Companion::unwrap)) } /** * @param defaultSeriesSettings The options that determine the default presentation of all * line series in `LineChartVisual` . */ override fun defaultSeriesSettings(defaultSeriesSettings: LineChartDefaultSeriesSettingsProperty) { cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(LineChartDefaultSeriesSettingsProperty.Companion::unwrap)) } /** * @param defaultSeriesSettings The options that determine the default presentation of all * line series in `LineChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8234bdef4c4c49633e515ca2e0f2a11f3e143b0ee27daf5fc5ca62a96ad84c59") override fun defaultSeriesSettings(defaultSeriesSettings: LineChartDefaultSeriesSettingsProperty.Builder.() -> Unit): Unit = defaultSeriesSettings(LineChartDefaultSeriesSettingsProperty(defaultSeriesSettings)) /** * @param fieldWells The field well configuration of a line chart. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a line chart. */ override fun fieldWells(fieldWells: LineChartFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(LineChartFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("10530be0f1e2a67fa85cbaf2deb741abe4b300261784023dc92e3ac941bb0d11") override fun fieldWells(fieldWells: LineChartFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(LineChartFieldWellsProperty(fieldWells)) /** * @param forecastConfigurations The forecast configuration of a line chart. */ override fun forecastConfigurations(forecastConfigurations: IResolvable) { cdkBuilder.forecastConfigurations(forecastConfigurations.let(IResolvable.Companion::unwrap)) } /** * @param forecastConfigurations The forecast configuration of a line chart. */ override fun forecastConfigurations(forecastConfigurations: List) { cdkBuilder.forecastConfigurations(forecastConfigurations.map{CdkObjectWrappers.unwrap(it)}) } /** * @param forecastConfigurations The forecast configuration of a line chart. */ override fun forecastConfigurations(vararg forecastConfigurations: Any): Unit = forecastConfigurations(forecastConfigurations.toList()) /** * @param legend The legend configuration of a line chart. */ override fun legend(legend: IResolvable) { cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend configuration of a line chart. */ override fun legend(legend: LegendOptionsProperty) { cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** * @param legend The legend configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b4b56b9cd22965f97765526fe505d6ace9cad18af282a0529f8293675486f610") override fun legend(legend: LegendOptionsProperty.Builder.() -> Unit): Unit = legend(LegendOptionsProperty(legend)) /** * @param primaryYAxisDisplayOptions The series axis configuration of a line chart. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param primaryYAxisDisplayOptions The series axis configuration of a line chart. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty) { cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param primaryYAxisDisplayOptions The series axis configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("43671b42f98e5dc765b42a8f15c6a131400149d4cfab761c5172f778e63532ed") override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty.Builder.() -> Unit): Unit = primaryYAxisDisplayOptions(LineSeriesAxisDisplayOptionsProperty(primaryYAxisDisplayOptions)) /** * @param primaryYAxisLabelOptions The options that determine the presentation of the y-axis * label. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param primaryYAxisLabelOptions The options that determine the presentation of the y-axis * label. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param primaryYAxisLabelOptions The options that determine the presentation of the y-axis * label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("12303805baf41311514f8a04c423e3b2cad8fdf29e0da3c051afab4904d178fa") override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = primaryYAxisLabelOptions(ChartAxisLabelOptionsProperty(primaryYAxisLabelOptions)) /** * @param referenceLines The reference lines configuration of a line chart. */ override fun referenceLines(referenceLines: IResolvable) { cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** * @param referenceLines The reference lines configuration of a line chart. */ override fun referenceLines(referenceLines: List) { cdkBuilder.referenceLines(referenceLines.map{CdkObjectWrappers.unwrap(it)}) } /** * @param referenceLines The reference lines configuration of a line chart. */ override fun referenceLines(vararg referenceLines: Any): Unit = referenceLines(referenceLines.toList()) /** * @param secondaryYAxisDisplayOptions The series axis configuration of a line chart. */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: IResolvable) { cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param secondaryYAxisDisplayOptions The series axis configuration of a line chart. */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty) { cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param secondaryYAxisDisplayOptions The series axis configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("04140a2ee7fcd48be9f0cdf7d91f585a93fa3f430a50b476f1efe47122b47acc") override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty.Builder.() -> Unit): Unit = secondaryYAxisDisplayOptions(LineSeriesAxisDisplayOptionsProperty(secondaryYAxisDisplayOptions)) /** * @param secondaryYAxisLabelOptions The options that determine the presentation of the * secondary y-axis label. */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: IResolvable) { cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param secondaryYAxisLabelOptions The options that determine the presentation of the * secondary y-axis label. */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param secondaryYAxisLabelOptions The options that determine the presentation of the * secondary y-axis label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ef4213b2776d0a3ac96ee3bc395993eb4f6b96e91056bd596f3743e5a4b78b51") override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = secondaryYAxisLabelOptions(ChartAxisLabelOptionsProperty(secondaryYAxisLabelOptions)) /** * @param series The series item configuration of a line chart. */ override fun series(series: IResolvable) { cdkBuilder.series(series.let(IResolvable.Companion::unwrap)) } /** * @param series The series item configuration of a line chart. */ override fun series(series: List) { cdkBuilder.series(series.map{CdkObjectWrappers.unwrap(it)}) } /** * @param series The series item configuration of a line chart. */ override fun series(vararg series: Any): Unit = series(series.toList()) /** * @param singleAxisOptions the value to be set. */ override fun singleAxisOptions(singleAxisOptions: IResolvable) { cdkBuilder.singleAxisOptions(singleAxisOptions.let(IResolvable.Companion::unwrap)) } /** * @param singleAxisOptions the value to be set. */ override fun singleAxisOptions(singleAxisOptions: SingleAxisOptionsProperty) { cdkBuilder.singleAxisOptions(singleAxisOptions.let(SingleAxisOptionsProperty.Companion::unwrap)) } /** * @param singleAxisOptions the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e7c51b2ca81d76618f9f22eb86dc1ee208de07f16206f19e2c40f48d2791c629") override fun singleAxisOptions(singleAxisOptions: SingleAxisOptionsProperty.Builder.() -> Unit): Unit = singleAxisOptions(SingleAxisOptionsProperty(singleAxisOptions)) /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) { cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) { cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("08a19bdec6674343c51a623f6e9f7308d6e53d69597ba2cfd0ea7062723a79d4") override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty.Builder.() -> Unit): Unit = smallMultiplesOptions(SmallMultiplesOptionsProperty(smallMultiplesOptions)) /** * @param sortConfiguration The sort configuration of a line chart. */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a line chart. */ override fun sortConfiguration(sortConfiguration: LineChartSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(LineChartSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("736dac60eb47418df73f8e409034882d447dc0a8471f0d5679006050e87780f6") override fun sortConfiguration(sortConfiguration: LineChartSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(LineChartSortConfigurationProperty(sortConfiguration)) /** * @param tooltip The tooltip configuration of a line chart. */ override fun tooltip(tooltip: IResolvable) { cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a line chart. */ override fun tooltip(tooltip: TooltipOptionsProperty) { cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f678a15d123eaed4f212b17d1e60b006d7ee2af8481e05967bc018e7a5d62e1e") override fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltip(TooltipOptionsProperty(tooltip)) /** * @param type Determines the type of the line chart. */ override fun type(type: String) { cdkBuilder.type(type) } /** * @param visualPalette The visual palette configuration of a line chart. */ override fun visualPalette(visualPalette: IResolvable) { cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a line chart. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("299f2dd24154d2f03beabdf3a8db28cf82d108e1c767cbc26f6046d5829d03d2") override fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit): Unit = visualPalette(VisualPaletteProperty(visualPalette)) /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) { cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) { cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("13cc0637a739411f322e94d9ef338857fc9523f4c55b740f2edbc4b675b41202") override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = xAxisDisplayOptions(AxisDisplayOptionsProperty(xAxisDisplayOptions)) /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) { cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("315950f8e94c368325e0f0315f1cb2863df5620984628a7a904d74f7a7bcf215") override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = xAxisLabelOptions(ChartAxisLabelOptionsProperty(xAxisLabelOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartConfigurationProperty, ) : CdkObject(cdkObject), LineChartConfigurationProperty { /** * The default configuration of a line chart's contribution analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-contributionanalysisdefaults) */ override fun contributionAnalysisDefaults(): Any? = unwrap(this).getContributionAnalysisDefaults() /** * The data label configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-datalabels) */ override fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The options that determine the default presentation of all line series in `LineChartVisual` * . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-defaultseriessettings) */ override fun defaultSeriesSettings(): Any? = unwrap(this).getDefaultSeriesSettings() /** * The field well configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The forecast configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-forecastconfigurations) */ override fun forecastConfigurations(): Any? = unwrap(this).getForecastConfigurations() /** * The legend configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-legend) */ override fun legend(): Any? = unwrap(this).getLegend() /** * The series axis configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-primaryyaxisdisplayoptions) */ override fun primaryYAxisDisplayOptions(): Any? = unwrap(this).getPrimaryYAxisDisplayOptions() /** * The options that determine the presentation of the y-axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-primaryyaxislabeloptions) */ override fun primaryYAxisLabelOptions(): Any? = unwrap(this).getPrimaryYAxisLabelOptions() /** * The reference lines configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-referencelines) */ override fun referenceLines(): Any? = unwrap(this).getReferenceLines() /** * The series axis configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-secondaryyaxisdisplayoptions) */ override fun secondaryYAxisDisplayOptions(): Any? = unwrap(this).getSecondaryYAxisDisplayOptions() /** * The options that determine the presentation of the secondary y-axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-secondaryyaxislabeloptions) */ override fun secondaryYAxisLabelOptions(): Any? = unwrap(this).getSecondaryYAxisLabelOptions() /** * The series item configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-series) */ override fun series(): Any? = unwrap(this).getSeries() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-singleaxisoptions) */ override fun singleAxisOptions(): Any? = unwrap(this).getSingleAxisOptions() /** * The small multiples setup for the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-smallmultiplesoptions) */ override fun smallMultiplesOptions(): Any? = unwrap(this).getSmallMultiplesOptions() /** * The sort configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-tooltip) */ override fun tooltip(): Any? = unwrap(this).getTooltip() /** * Determines the type of the line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-type) */ override fun type(): String? = unwrap(this).getType() /** * The visual palette configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-visualpalette) */ override fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * The options that determine the presentation of the x-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-xaxisdisplayoptions) */ override fun xAxisDisplayOptions(): Any? = unwrap(this).getXAxisDisplayOptions() /** * The options that determine the presentation of the x-axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartconfiguration.html#cfn-quicksight-dashboard-linechartconfiguration-xaxislabeloptions) */ override fun xAxisLabelOptions(): Any? = unwrap(this).getXAxisLabelOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LineChartConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartConfigurationProperty): LineChartConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? LineChartConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LineChartConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartConfigurationProperty } } /** * The options that determine the default presentation of all line series in `LineChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LineChartDefaultSeriesSettingsProperty lineChartDefaultSeriesSettingsProperty = * LineChartDefaultSeriesSettingsProperty.builder() * .axisBinding("axisBinding") * .lineStyleSettings(LineChartLineStyleSettingsProperty.builder() * .lineInterpolation("lineInterpolation") * .lineStyle("lineStyle") * .lineVisibility("lineVisibility") * .lineWidth("lineWidth") * .build()) * .markerStyleSettings(LineChartMarkerStyleSettingsProperty.builder() * .markerColor("markerColor") * .markerShape("markerShape") * .markerSize("markerSize") * .markerVisibility("markerVisibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartdefaultseriessettings.html) */ public interface LineChartDefaultSeriesSettingsProperty { /** * The axis to which you are binding all line series to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartdefaultseriessettings.html#cfn-quicksight-dashboard-linechartdefaultseriessettings-axisbinding) */ public fun axisBinding(): String? = unwrap(this).getAxisBinding() /** * Line styles options for all line series in the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartdefaultseriessettings.html#cfn-quicksight-dashboard-linechartdefaultseriessettings-linestylesettings) */ public fun lineStyleSettings(): Any? = unwrap(this).getLineStyleSettings() /** * Marker styles options for all line series in the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartdefaultseriessettings.html#cfn-quicksight-dashboard-linechartdefaultseriessettings-markerstylesettings) */ public fun markerStyleSettings(): Any? = unwrap(this).getMarkerStyleSettings() /** * A builder for [LineChartDefaultSeriesSettingsProperty] */ @CdkDslMarker public interface Builder { /** * @param axisBinding The axis to which you are binding all line series to. */ public fun axisBinding(axisBinding: String) /** * @param lineStyleSettings Line styles options for all line series in the visual. */ public fun lineStyleSettings(lineStyleSettings: IResolvable) /** * @param lineStyleSettings Line styles options for all line series in the visual. */ public fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty) /** * @param lineStyleSettings Line styles options for all line series in the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4c7ab88d62a84e4a14b5fd8102b319fcdd5a62614956dae5b0db3f8cc3343f32") public fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty.Builder.() -> Unit) /** * @param markerStyleSettings Marker styles options for all line series in the visual. */ public fun markerStyleSettings(markerStyleSettings: IResolvable) /** * @param markerStyleSettings Marker styles options for all line series in the visual. */ public fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty) /** * @param markerStyleSettings Marker styles options for all line series in the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f63bb70333e4a13c42e28222170412d64e8d261eacbfb10733808c90dd970bb2") public fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartDefaultSeriesSettingsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartDefaultSeriesSettingsProperty.builder() /** * @param axisBinding The axis to which you are binding all line series to. */ override fun axisBinding(axisBinding: String) { cdkBuilder.axisBinding(axisBinding) } /** * @param lineStyleSettings Line styles options for all line series in the visual. */ override fun lineStyleSettings(lineStyleSettings: IResolvable) { cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param lineStyleSettings Line styles options for all line series in the visual. */ override fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty) { cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty.Companion::unwrap)) } /** * @param lineStyleSettings Line styles options for all line series in the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4c7ab88d62a84e4a14b5fd8102b319fcdd5a62614956dae5b0db3f8cc3343f32") override fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty.Builder.() -> Unit): Unit = lineStyleSettings(LineChartLineStyleSettingsProperty(lineStyleSettings)) /** * @param markerStyleSettings Marker styles options for all line series in the visual. */ override fun markerStyleSettings(markerStyleSettings: IResolvable) { cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param markerStyleSettings Marker styles options for all line series in the visual. */ override fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty) { cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty.Companion::unwrap)) } /** * @param markerStyleSettings Marker styles options for all line series in the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f63bb70333e4a13c42e28222170412d64e8d261eacbfb10733808c90dd970bb2") override fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty.Builder.() -> Unit): Unit = markerStyleSettings(LineChartMarkerStyleSettingsProperty(markerStyleSettings)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartDefaultSeriesSettingsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartDefaultSeriesSettingsProperty, ) : CdkObject(cdkObject), LineChartDefaultSeriesSettingsProperty { /** * The axis to which you are binding all line series to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartdefaultseriessettings.html#cfn-quicksight-dashboard-linechartdefaultseriessettings-axisbinding) */ override fun axisBinding(): String? = unwrap(this).getAxisBinding() /** * Line styles options for all line series in the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartdefaultseriessettings.html#cfn-quicksight-dashboard-linechartdefaultseriessettings-linestylesettings) */ override fun lineStyleSettings(): Any? = unwrap(this).getLineStyleSettings() /** * Marker styles options for all line series in the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartdefaultseriessettings.html#cfn-quicksight-dashboard-linechartdefaultseriessettings-markerstylesettings) */ override fun markerStyleSettings(): Any? = unwrap(this).getMarkerStyleSettings() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LineChartDefaultSeriesSettingsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartDefaultSeriesSettingsProperty): LineChartDefaultSeriesSettingsProperty = CdkObjectWrappers.wrap(cdkObject) as? LineChartDefaultSeriesSettingsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LineChartDefaultSeriesSettingsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartDefaultSeriesSettingsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartDefaultSeriesSettingsProperty } } /** * The field well configuration of a line chart. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartfieldwells.html) */ public interface LineChartFieldWellsProperty { /** * The field well configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartfieldwells.html#cfn-quicksight-dashboard-linechartfieldwells-linechartaggregatedfieldwells) */ public fun lineChartAggregatedFieldWells(): Any? = unwrap(this).getLineChartAggregatedFieldWells() /** * A builder for [LineChartFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param lineChartAggregatedFieldWells The field well configuration of a line chart. */ public fun lineChartAggregatedFieldWells(lineChartAggregatedFieldWells: IResolvable) /** * @param lineChartAggregatedFieldWells The field well configuration of a line chart. */ public fun lineChartAggregatedFieldWells(lineChartAggregatedFieldWells: LineChartAggregatedFieldWellsProperty) /** * @param lineChartAggregatedFieldWells The field well configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8fe46f1f7363e416d10bca1afce110abef465b74c1a482e70c83f7795317113c") public fun lineChartAggregatedFieldWells(lineChartAggregatedFieldWells: LineChartAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartFieldWellsProperty.builder() /** * @param lineChartAggregatedFieldWells The field well configuration of a line chart. */ override fun lineChartAggregatedFieldWells(lineChartAggregatedFieldWells: IResolvable) { cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param lineChartAggregatedFieldWells The field well configuration of a line chart. */ override fun lineChartAggregatedFieldWells(lineChartAggregatedFieldWells: LineChartAggregatedFieldWellsProperty) { cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(LineChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param lineChartAggregatedFieldWells The field well configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8fe46f1f7363e416d10bca1afce110abef465b74c1a482e70c83f7795317113c") override fun lineChartAggregatedFieldWells(lineChartAggregatedFieldWells: LineChartAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = lineChartAggregatedFieldWells(LineChartAggregatedFieldWellsProperty(lineChartAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartFieldWellsProperty, ) : CdkObject(cdkObject), LineChartFieldWellsProperty { /** * The field well configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartfieldwells.html#cfn-quicksight-dashboard-linechartfieldwells-linechartaggregatedfieldwells) */ override fun lineChartAggregatedFieldWells(): Any? = unwrap(this).getLineChartAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LineChartFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartFieldWellsProperty): LineChartFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? LineChartFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LineChartFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartFieldWellsProperty } } /** * Line styles options for a line series in `LineChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LineChartLineStyleSettingsProperty lineChartLineStyleSettingsProperty = * LineChartLineStyleSettingsProperty.builder() * .lineInterpolation("lineInterpolation") * .lineStyle("lineStyle") * .lineVisibility("lineVisibility") * .lineWidth("lineWidth") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartlinestylesettings.html) */ public interface LineChartLineStyleSettingsProperty { /** * Interpolation style for line series. * * * `LINEAR` : Show as default, linear style. * * `SMOOTH` : Show as a smooth curve. * * `STEPPED` : Show steps in line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartlinestylesettings.html#cfn-quicksight-dashboard-linechartlinestylesettings-lineinterpolation) */ public fun lineInterpolation(): String? = unwrap(this).getLineInterpolation() /** * Line style for line series. * * * `SOLID` : Show as a solid line. * * `DOTTED` : Show as a dotted line. * * `DASHED` : Show as a dashed line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartlinestylesettings.html#cfn-quicksight-dashboard-linechartlinestylesettings-linestyle) */ public fun lineStyle(): String? = unwrap(this).getLineStyle() /** * Configuration option that determines whether to show the line for the series. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartlinestylesettings.html#cfn-quicksight-dashboard-linechartlinestylesettings-linevisibility) */ public fun lineVisibility(): String? = unwrap(this).getLineVisibility() /** * Width that determines the line thickness. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartlinestylesettings.html#cfn-quicksight-dashboard-linechartlinestylesettings-linewidth) */ public fun lineWidth(): String? = unwrap(this).getLineWidth() /** * A builder for [LineChartLineStyleSettingsProperty] */ @CdkDslMarker public interface Builder { /** * @param lineInterpolation Interpolation style for line series. * * `LINEAR` : Show as default, linear style. * * `SMOOTH` : Show as a smooth curve. * * `STEPPED` : Show steps in line. */ public fun lineInterpolation(lineInterpolation: String) /** * @param lineStyle Line style for line series. * * `SOLID` : Show as a solid line. * * `DOTTED` : Show as a dotted line. * * `DASHED` : Show as a dashed line. */ public fun lineStyle(lineStyle: String) /** * @param lineVisibility Configuration option that determines whether to show the line for the * series. */ public fun lineVisibility(lineVisibility: String) /** * @param lineWidth Width that determines the line thickness. */ public fun lineWidth(lineWidth: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartLineStyleSettingsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartLineStyleSettingsProperty.builder() /** * @param lineInterpolation Interpolation style for line series. * * `LINEAR` : Show as default, linear style. * * `SMOOTH` : Show as a smooth curve. * * `STEPPED` : Show steps in line. */ override fun lineInterpolation(lineInterpolation: String) { cdkBuilder.lineInterpolation(lineInterpolation) } /** * @param lineStyle Line style for line series. * * `SOLID` : Show as a solid line. * * `DOTTED` : Show as a dotted line. * * `DASHED` : Show as a dashed line. */ override fun lineStyle(lineStyle: String) { cdkBuilder.lineStyle(lineStyle) } /** * @param lineVisibility Configuration option that determines whether to show the line for the * series. */ override fun lineVisibility(lineVisibility: String) { cdkBuilder.lineVisibility(lineVisibility) } /** * @param lineWidth Width that determines the line thickness. */ override fun lineWidth(lineWidth: String) { cdkBuilder.lineWidth(lineWidth) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartLineStyleSettingsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartLineStyleSettingsProperty, ) : CdkObject(cdkObject), LineChartLineStyleSettingsProperty { /** * Interpolation style for line series. * * * `LINEAR` : Show as default, linear style. * * `SMOOTH` : Show as a smooth curve. * * `STEPPED` : Show steps in line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartlinestylesettings.html#cfn-quicksight-dashboard-linechartlinestylesettings-lineinterpolation) */ override fun lineInterpolation(): String? = unwrap(this).getLineInterpolation() /** * Line style for line series. * * * `SOLID` : Show as a solid line. * * `DOTTED` : Show as a dotted line. * * `DASHED` : Show as a dashed line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartlinestylesettings.html#cfn-quicksight-dashboard-linechartlinestylesettings-linestyle) */ override fun lineStyle(): String? = unwrap(this).getLineStyle() /** * Configuration option that determines whether to show the line for the series. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartlinestylesettings.html#cfn-quicksight-dashboard-linechartlinestylesettings-linevisibility) */ override fun lineVisibility(): String? = unwrap(this).getLineVisibility() /** * Width that determines the line thickness. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartlinestylesettings.html#cfn-quicksight-dashboard-linechartlinestylesettings-linewidth) */ override fun lineWidth(): String? = unwrap(this).getLineWidth() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LineChartLineStyleSettingsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartLineStyleSettingsProperty): LineChartLineStyleSettingsProperty = CdkObjectWrappers.wrap(cdkObject) as? LineChartLineStyleSettingsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LineChartLineStyleSettingsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartLineStyleSettingsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartLineStyleSettingsProperty } } /** * Marker styles options for a line series in `LineChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LineChartMarkerStyleSettingsProperty lineChartMarkerStyleSettingsProperty = * LineChartMarkerStyleSettingsProperty.builder() * .markerColor("markerColor") * .markerShape("markerShape") * .markerSize("markerSize") * .markerVisibility("markerVisibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartmarkerstylesettings.html) */ public interface LineChartMarkerStyleSettingsProperty { /** * Color of marker in the series. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartmarkerstylesettings.html#cfn-quicksight-dashboard-linechartmarkerstylesettings-markercolor) */ public fun markerColor(): String? = unwrap(this).getMarkerColor() /** * Shape option for markers in the series. * * * `CIRCLE` : Show marker as a circle. * * `TRIANGLE` : Show marker as a triangle. * * `SQUARE` : Show marker as a square. * * `DIAMOND` : Show marker as a diamond. * * `ROUNDED_SQUARE` : Show marker as a rounded square. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartmarkerstylesettings.html#cfn-quicksight-dashboard-linechartmarkerstylesettings-markershape) */ public fun markerShape(): String? = unwrap(this).getMarkerShape() /** * Size of marker in the series. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartmarkerstylesettings.html#cfn-quicksight-dashboard-linechartmarkerstylesettings-markersize) */ public fun markerSize(): String? = unwrap(this).getMarkerSize() /** * Configuration option that determines whether to show the markers in the series. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartmarkerstylesettings.html#cfn-quicksight-dashboard-linechartmarkerstylesettings-markervisibility) */ public fun markerVisibility(): String? = unwrap(this).getMarkerVisibility() /** * A builder for [LineChartMarkerStyleSettingsProperty] */ @CdkDslMarker public interface Builder { /** * @param markerColor Color of marker in the series. */ public fun markerColor(markerColor: String) /** * @param markerShape Shape option for markers in the series. * * `CIRCLE` : Show marker as a circle. * * `TRIANGLE` : Show marker as a triangle. * * `SQUARE` : Show marker as a square. * * `DIAMOND` : Show marker as a diamond. * * `ROUNDED_SQUARE` : Show marker as a rounded square. */ public fun markerShape(markerShape: String) /** * @param markerSize Size of marker in the series. */ public fun markerSize(markerSize: String) /** * @param markerVisibility Configuration option that determines whether to show the markers in * the series. */ public fun markerVisibility(markerVisibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartMarkerStyleSettingsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartMarkerStyleSettingsProperty.builder() /** * @param markerColor Color of marker in the series. */ override fun markerColor(markerColor: String) { cdkBuilder.markerColor(markerColor) } /** * @param markerShape Shape option for markers in the series. * * `CIRCLE` : Show marker as a circle. * * `TRIANGLE` : Show marker as a triangle. * * `SQUARE` : Show marker as a square. * * `DIAMOND` : Show marker as a diamond. * * `ROUNDED_SQUARE` : Show marker as a rounded square. */ override fun markerShape(markerShape: String) { cdkBuilder.markerShape(markerShape) } /** * @param markerSize Size of marker in the series. */ override fun markerSize(markerSize: String) { cdkBuilder.markerSize(markerSize) } /** * @param markerVisibility Configuration option that determines whether to show the markers in * the series. */ override fun markerVisibility(markerVisibility: String) { cdkBuilder.markerVisibility(markerVisibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartMarkerStyleSettingsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartMarkerStyleSettingsProperty, ) : CdkObject(cdkObject), LineChartMarkerStyleSettingsProperty { /** * Color of marker in the series. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartmarkerstylesettings.html#cfn-quicksight-dashboard-linechartmarkerstylesettings-markercolor) */ override fun markerColor(): String? = unwrap(this).getMarkerColor() /** * Shape option for markers in the series. * * * `CIRCLE` : Show marker as a circle. * * `TRIANGLE` : Show marker as a triangle. * * `SQUARE` : Show marker as a square. * * `DIAMOND` : Show marker as a diamond. * * `ROUNDED_SQUARE` : Show marker as a rounded square. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartmarkerstylesettings.html#cfn-quicksight-dashboard-linechartmarkerstylesettings-markershape) */ override fun markerShape(): String? = unwrap(this).getMarkerShape() /** * Size of marker in the series. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartmarkerstylesettings.html#cfn-quicksight-dashboard-linechartmarkerstylesettings-markersize) */ override fun markerSize(): String? = unwrap(this).getMarkerSize() /** * Configuration option that determines whether to show the markers in the series. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartmarkerstylesettings.html#cfn-quicksight-dashboard-linechartmarkerstylesettings-markervisibility) */ override fun markerVisibility(): String? = unwrap(this).getMarkerVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LineChartMarkerStyleSettingsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartMarkerStyleSettingsProperty): LineChartMarkerStyleSettingsProperty = CdkObjectWrappers.wrap(cdkObject) as? LineChartMarkerStyleSettingsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LineChartMarkerStyleSettingsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartMarkerStyleSettingsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartMarkerStyleSettingsProperty } } /** * The options that determine the presentation of a line series in the visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LineChartSeriesSettingsProperty lineChartSeriesSettingsProperty = * LineChartSeriesSettingsProperty.builder() * .lineStyleSettings(LineChartLineStyleSettingsProperty.builder() * .lineInterpolation("lineInterpolation") * .lineStyle("lineStyle") * .lineVisibility("lineVisibility") * .lineWidth("lineWidth") * .build()) * .markerStyleSettings(LineChartMarkerStyleSettingsProperty.builder() * .markerColor("markerColor") * .markerShape("markerShape") * .markerSize("markerSize") * .markerVisibility("markerVisibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartseriessettings.html) */ public interface LineChartSeriesSettingsProperty { /** * Line styles options for a line series in `LineChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartseriessettings.html#cfn-quicksight-dashboard-linechartseriessettings-linestylesettings) */ public fun lineStyleSettings(): Any? = unwrap(this).getLineStyleSettings() /** * Marker styles options for a line series in `LineChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartseriessettings.html#cfn-quicksight-dashboard-linechartseriessettings-markerstylesettings) */ public fun markerStyleSettings(): Any? = unwrap(this).getMarkerStyleSettings() /** * A builder for [LineChartSeriesSettingsProperty] */ @CdkDslMarker public interface Builder { /** * @param lineStyleSettings Line styles options for a line series in `LineChartVisual` . */ public fun lineStyleSettings(lineStyleSettings: IResolvable) /** * @param lineStyleSettings Line styles options for a line series in `LineChartVisual` . */ public fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty) /** * @param lineStyleSettings Line styles options for a line series in `LineChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a6077da19105d78802d829a6a74e86709751aefa1f9f793ff13a3dc43120e736") public fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty.Builder.() -> Unit) /** * @param markerStyleSettings Marker styles options for a line series in `LineChartVisual` . */ public fun markerStyleSettings(markerStyleSettings: IResolvable) /** * @param markerStyleSettings Marker styles options for a line series in `LineChartVisual` . */ public fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty) /** * @param markerStyleSettings Marker styles options for a line series in `LineChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b8749361a39fc45513de2309eaf7e93c9208aa7d9cba2d7b9e662c426497a561") public fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSeriesSettingsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSeriesSettingsProperty.builder() /** * @param lineStyleSettings Line styles options for a line series in `LineChartVisual` . */ override fun lineStyleSettings(lineStyleSettings: IResolvable) { cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param lineStyleSettings Line styles options for a line series in `LineChartVisual` . */ override fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty) { cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty.Companion::unwrap)) } /** * @param lineStyleSettings Line styles options for a line series in `LineChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a6077da19105d78802d829a6a74e86709751aefa1f9f793ff13a3dc43120e736") override fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty.Builder.() -> Unit): Unit = lineStyleSettings(LineChartLineStyleSettingsProperty(lineStyleSettings)) /** * @param markerStyleSettings Marker styles options for a line series in `LineChartVisual` . */ override fun markerStyleSettings(markerStyleSettings: IResolvable) { cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param markerStyleSettings Marker styles options for a line series in `LineChartVisual` . */ override fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty) { cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty.Companion::unwrap)) } /** * @param markerStyleSettings Marker styles options for a line series in `LineChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b8749361a39fc45513de2309eaf7e93c9208aa7d9cba2d7b9e662c426497a561") override fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty.Builder.() -> Unit): Unit = markerStyleSettings(LineChartMarkerStyleSettingsProperty(markerStyleSettings)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSeriesSettingsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSeriesSettingsProperty, ) : CdkObject(cdkObject), LineChartSeriesSettingsProperty { /** * Line styles options for a line series in `LineChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartseriessettings.html#cfn-quicksight-dashboard-linechartseriessettings-linestylesettings) */ override fun lineStyleSettings(): Any? = unwrap(this).getLineStyleSettings() /** * Marker styles options for a line series in `LineChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartseriessettings.html#cfn-quicksight-dashboard-linechartseriessettings-markerstylesettings) */ override fun markerStyleSettings(): Any? = unwrap(this).getMarkerStyleSettings() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LineChartSeriesSettingsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSeriesSettingsProperty): LineChartSeriesSettingsProperty = CdkObjectWrappers.wrap(cdkObject) as? LineChartSeriesSettingsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LineChartSeriesSettingsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSeriesSettingsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSeriesSettingsProperty } } /** * The sort configuration of a line chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LineChartSortConfigurationProperty lineChartSortConfigurationProperty = * LineChartSortConfigurationProperty.builder() * .categoryItemsLimitConfiguration(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .categorySort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .colorItemsLimitConfiguration(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .smallMultiplesLimitConfiguration(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .smallMultiplesSort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartsortconfiguration.html) */ public interface LineChartSortConfigurationProperty { /** * The limit on the number of categories that are displayed in a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartsortconfiguration.html#cfn-quicksight-dashboard-linechartsortconfiguration-categoryitemslimitconfiguration) */ public fun categoryItemsLimitConfiguration(): Any? = unwrap(this).getCategoryItemsLimitConfiguration() /** * The sort configuration of the category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartsortconfiguration.html#cfn-quicksight-dashboard-linechartsortconfiguration-categorysort) */ public fun categorySort(): Any? = unwrap(this).getCategorySort() /** * The limit on the number of lines that are displayed in a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartsortconfiguration.html#cfn-quicksight-dashboard-linechartsortconfiguration-coloritemslimitconfiguration) */ public fun colorItemsLimitConfiguration(): Any? = unwrap(this).getColorItemsLimitConfiguration() /** * The limit on the number of small multiples panels that are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartsortconfiguration.html#cfn-quicksight-dashboard-linechartsortconfiguration-smallmultipleslimitconfiguration) */ public fun smallMultiplesLimitConfiguration(): Any? = unwrap(this).getSmallMultiplesLimitConfiguration() /** * The sort configuration of the small multiples field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartsortconfiguration.html#cfn-quicksight-dashboard-linechartsortconfiguration-smallmultiplessort) */ public fun smallMultiplesSort(): Any? = unwrap(this).getSmallMultiplesSort() /** * A builder for [LineChartSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryItemsLimitConfiguration The limit on the number of categories that are * displayed in a line chart. */ public fun categoryItemsLimitConfiguration(categoryItemsLimitConfiguration: IResolvable) /** * @param categoryItemsLimitConfiguration The limit on the number of categories that are * displayed in a line chart. */ public fun categoryItemsLimitConfiguration(categoryItemsLimitConfiguration: ItemsLimitConfigurationProperty) /** * @param categoryItemsLimitConfiguration The limit on the number of categories that are * displayed in a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3e1756cad9e96a7f31ba18e227d5fe6038c80041e75c28bd35592196a4bb8c89") public fun categoryItemsLimitConfiguration(categoryItemsLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param categorySort The sort configuration of the category fields. */ public fun categorySort(categorySort: IResolvable) /** * @param categorySort The sort configuration of the category fields. */ public fun categorySort(categorySort: List) /** * @param categorySort The sort configuration of the category fields. */ public fun categorySort(vararg categorySort: Any) /** * @param colorItemsLimitConfiguration The limit on the number of lines that are displayed in * a line chart. */ public fun colorItemsLimitConfiguration(colorItemsLimitConfiguration: IResolvable) /** * @param colorItemsLimitConfiguration The limit on the number of lines that are displayed in * a line chart. */ public fun colorItemsLimitConfiguration(colorItemsLimitConfiguration: ItemsLimitConfigurationProperty) /** * @param colorItemsLimitConfiguration The limit on the number of lines that are displayed in * a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ed93407bfd8c8fe14ad5792381320d7127a9d10b163e32f97fda10922d88cc68") public fun colorItemsLimitConfiguration(colorItemsLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ public fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ public fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("925f65700ed8e68529ac399e30c0ce81a41e563ab362064d9a55d3368c61fc66") public fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ public fun smallMultiplesSort(smallMultiplesSort: IResolvable) /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ public fun smallMultiplesSort(smallMultiplesSort: List) /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ public fun smallMultiplesSort(vararg smallMultiplesSort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSortConfigurationProperty.builder() /** * @param categoryItemsLimitConfiguration The limit on the number of categories that are * displayed in a line chart. */ override fun categoryItemsLimitConfiguration(categoryItemsLimitConfiguration: IResolvable) { cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimitConfiguration The limit on the number of categories that are * displayed in a line chart. */ override fun categoryItemsLimitConfiguration(categoryItemsLimitConfiguration: ItemsLimitConfigurationProperty) { cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param categoryItemsLimitConfiguration The limit on the number of categories that are * displayed in a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3e1756cad9e96a7f31ba18e227d5fe6038c80041e75c28bd35592196a4bb8c89") override fun categoryItemsLimitConfiguration(categoryItemsLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = categoryItemsLimitConfiguration(ItemsLimitConfigurationProperty(categoryItemsLimitConfiguration)) /** * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: List) { cdkBuilder.categorySort(categorySort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param categorySort The sort configuration of the category fields. */ override fun categorySort(vararg categorySort: Any): Unit = categorySort(categorySort.toList()) /** * @param colorItemsLimitConfiguration The limit on the number of lines that are displayed in * a line chart. */ override fun colorItemsLimitConfiguration(colorItemsLimitConfiguration: IResolvable) { cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param colorItemsLimitConfiguration The limit on the number of lines that are displayed in * a line chart. */ override fun colorItemsLimitConfiguration(colorItemsLimitConfiguration: ItemsLimitConfigurationProperty) { cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param colorItemsLimitConfiguration The limit on the number of lines that are displayed in * a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ed93407bfd8c8fe14ad5792381320d7127a9d10b163e32f97fda10922d88cc68") override fun colorItemsLimitConfiguration(colorItemsLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = colorItemsLimitConfiguration(ItemsLimitConfigurationProperty(colorItemsLimitConfiguration)) /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) { cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) { cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("925f65700ed8e68529ac399e30c0ce81a41e563ab362064d9a55d3368c61fc66") override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = smallMultiplesLimitConfiguration(ItemsLimitConfigurationProperty(smallMultiplesLimitConfiguration)) /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: IResolvable) { cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: List) { cdkBuilder.smallMultiplesSort(smallMultiplesSort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(vararg smallMultiplesSort: Any): Unit = smallMultiplesSort(smallMultiplesSort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSortConfigurationProperty, ) : CdkObject(cdkObject), LineChartSortConfigurationProperty { /** * The limit on the number of categories that are displayed in a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartsortconfiguration.html#cfn-quicksight-dashboard-linechartsortconfiguration-categoryitemslimitconfiguration) */ override fun categoryItemsLimitConfiguration(): Any? = unwrap(this).getCategoryItemsLimitConfiguration() /** * The sort configuration of the category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartsortconfiguration.html#cfn-quicksight-dashboard-linechartsortconfiguration-categorysort) */ override fun categorySort(): Any? = unwrap(this).getCategorySort() /** * The limit on the number of lines that are displayed in a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartsortconfiguration.html#cfn-quicksight-dashboard-linechartsortconfiguration-coloritemslimitconfiguration) */ override fun colorItemsLimitConfiguration(): Any? = unwrap(this).getColorItemsLimitConfiguration() /** * The limit on the number of small multiples panels that are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartsortconfiguration.html#cfn-quicksight-dashboard-linechartsortconfiguration-smallmultipleslimitconfiguration) */ override fun smallMultiplesLimitConfiguration(): Any? = unwrap(this).getSmallMultiplesLimitConfiguration() /** * The sort configuration of the small multiples field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartsortconfiguration.html#cfn-quicksight-dashboard-linechartsortconfiguration-smallmultiplessort) */ override fun smallMultiplesSort(): Any? = unwrap(this).getSmallMultiplesSort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LineChartSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSortConfigurationProperty): LineChartSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? LineChartSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LineChartSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartSortConfigurationProperty } } /** * A line chart. * * For more information, see [Using line * charts](https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html) */ public interface LineChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html#cfn-quicksight-dashboard-linechartvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html#cfn-quicksight-dashboard-linechartvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html#cfn-quicksight-dashboard-linechartvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html#cfn-quicksight-dashboard-linechartvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html#cfn-quicksight-dashboard-linechartvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html#cfn-quicksight-dashboard-linechartvisual-visualid) */ public fun visualId(): String /** * A builder for [LineChartVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration of a line chart. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration of a line chart. */ public fun chartConfiguration(chartConfiguration: LineChartConfigurationProperty) /** * @param chartConfiguration The configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("71ac78f2c42e2910105239b57b9cb53f03d5651eb161fefd635420b87d951582") public fun chartConfiguration(chartConfiguration: LineChartConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b9ddf08155803f00ac8ee123bd55e9d60f11f2010fe27cff0c62411c0121cef0") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a7ed5cf7bbb802039d0e21351062cf077582ebaed0b492151476cdd63c40b9ee") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration of a line chart. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a line chart. */ override fun chartConfiguration(chartConfiguration: LineChartConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(LineChartConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("71ac78f2c42e2910105239b57b9cb53f03d5651eb161fefd635420b87d951582") override fun chartConfiguration(chartConfiguration: LineChartConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(LineChartConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b9ddf08155803f00ac8ee123bd55e9d60f11f2010fe27cff0c62411c0121cef0") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a7ed5cf7bbb802039d0e21351062cf077582ebaed0b492151476cdd63c40b9ee") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartVisualProperty, ) : CdkObject(cdkObject), LineChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html#cfn-quicksight-dashboard-linechartvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html#cfn-quicksight-dashboard-linechartvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html#cfn-quicksight-dashboard-linechartvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html#cfn-quicksight-dashboard-linechartvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html#cfn-quicksight-dashboard-linechartvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linechartvisual.html#cfn-quicksight-dashboard-linechartvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LineChartVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartVisualProperty): LineChartVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? LineChartVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LineChartVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LineChartVisualProperty } } /** * The series axis configuration of a line chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * Object dataDriven; * LineSeriesAxisDisplayOptionsProperty lineSeriesAxisDisplayOptionsProperty = * LineSeriesAxisDisplayOptionsProperty.builder() * .axisOptions(AxisDisplayOptionsProperty.builder() * .axisLineVisibility("axisLineVisibility") * .axisOffset("axisOffset") * .dataOptions(AxisDataOptionsProperty.builder() * .dateAxisOptions(DateAxisOptionsProperty.builder() * .missingDateVisibility("missingDateVisibility") * .build()) * .numericAxisOptions(NumericAxisOptionsProperty.builder() * .range(AxisDisplayRangeProperty.builder() * .dataDriven(dataDriven) * .minMax(AxisDisplayMinMaxRangeProperty.builder() * .maximum(123) * .minimum(123) * .build()) * .build()) * .scale(AxisScaleProperty.builder() * .linear(AxisLinearScaleProperty.builder() * .stepCount(123) * .stepSize(123) * .build()) * .logarithmic(AxisLogarithmicScaleProperty.builder() * .base(123) * .build()) * .build()) * .build()) * .build()) * .gridLineVisibility("gridLineVisibility") * .scrollbarOptions(ScrollBarOptionsProperty.builder() * .visibility("visibility") * .visibleRange(VisibleRangeOptionsProperty.builder() * .percentRange(PercentVisibleRangeProperty.builder() * .from(123) * .to(123) * .build()) * .build()) * .build()) * .tickLabelOptions(AxisTickLabelOptionsProperty.builder() * .labelOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .rotationAngle(123) * .build()) * .build()) * .missingDataConfigurations(List.of(MissingDataConfigurationProperty.builder() * .treatmentOption("treatmentOption") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-lineseriesaxisdisplayoptions.html) */ public interface LineSeriesAxisDisplayOptionsProperty { /** * The options that determine the presentation of the line series axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-lineseriesaxisdisplayoptions.html#cfn-quicksight-dashboard-lineseriesaxisdisplayoptions-axisoptions) */ public fun axisOptions(): Any? = unwrap(this).getAxisOptions() /** * The configuration options that determine how missing data is treated during the rendering of * a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-lineseriesaxisdisplayoptions.html#cfn-quicksight-dashboard-lineseriesaxisdisplayoptions-missingdataconfigurations) */ public fun missingDataConfigurations(): Any? = unwrap(this).getMissingDataConfigurations() /** * A builder for [LineSeriesAxisDisplayOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param axisOptions The options that determine the presentation of the line series axis. */ public fun axisOptions(axisOptions: IResolvable) /** * @param axisOptions The options that determine the presentation of the line series axis. */ public fun axisOptions(axisOptions: AxisDisplayOptionsProperty) /** * @param axisOptions The options that determine the presentation of the line series axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b41b21ebd755f8ce35648ecffc2313ed813e5660f4528ab5d5571b8d59efc76b") public fun axisOptions(axisOptions: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param missingDataConfigurations The configuration options that determine how missing data * is treated during the rendering of a line chart. */ public fun missingDataConfigurations(missingDataConfigurations: IResolvable) /** * @param missingDataConfigurations The configuration options that determine how missing data * is treated during the rendering of a line chart. */ public fun missingDataConfigurations(missingDataConfigurations: List) /** * @param missingDataConfigurations The configuration options that determine how missing data * is treated during the rendering of a line chart. */ public fun missingDataConfigurations(vararg missingDataConfigurations: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LineSeriesAxisDisplayOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LineSeriesAxisDisplayOptionsProperty.builder() /** * @param axisOptions The options that determine the presentation of the line series axis. */ override fun axisOptions(axisOptions: IResolvable) { cdkBuilder.axisOptions(axisOptions.let(IResolvable.Companion::unwrap)) } /** * @param axisOptions The options that determine the presentation of the line series axis. */ override fun axisOptions(axisOptions: AxisDisplayOptionsProperty) { cdkBuilder.axisOptions(axisOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param axisOptions The options that determine the presentation of the line series axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b41b21ebd755f8ce35648ecffc2313ed813e5660f4528ab5d5571b8d59efc76b") override fun axisOptions(axisOptions: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = axisOptions(AxisDisplayOptionsProperty(axisOptions)) /** * @param missingDataConfigurations The configuration options that determine how missing data * is treated during the rendering of a line chart. */ override fun missingDataConfigurations(missingDataConfigurations: IResolvable) { cdkBuilder.missingDataConfigurations(missingDataConfigurations.let(IResolvable.Companion::unwrap)) } /** * @param missingDataConfigurations The configuration options that determine how missing data * is treated during the rendering of a line chart. */ override fun missingDataConfigurations(missingDataConfigurations: List) { cdkBuilder.missingDataConfigurations(missingDataConfigurations.map{CdkObjectWrappers.unwrap(it)}) } /** * @param missingDataConfigurations The configuration options that determine how missing data * is treated during the rendering of a line chart. */ override fun missingDataConfigurations(vararg missingDataConfigurations: Any): Unit = missingDataConfigurations(missingDataConfigurations.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LineSeriesAxisDisplayOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineSeriesAxisDisplayOptionsProperty, ) : CdkObject(cdkObject), LineSeriesAxisDisplayOptionsProperty { /** * The options that determine the presentation of the line series axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-lineseriesaxisdisplayoptions.html#cfn-quicksight-dashboard-lineseriesaxisdisplayoptions-axisoptions) */ override fun axisOptions(): Any? = unwrap(this).getAxisOptions() /** * The configuration options that determine how missing data is treated during the rendering * of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-lineseriesaxisdisplayoptions.html#cfn-quicksight-dashboard-lineseriesaxisdisplayoptions-missingdataconfigurations) */ override fun missingDataConfigurations(): Any? = unwrap(this).getMissingDataConfigurations() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LineSeriesAxisDisplayOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LineSeriesAxisDisplayOptionsProperty): LineSeriesAxisDisplayOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? LineSeriesAxisDisplayOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LineSeriesAxisDisplayOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LineSeriesAxisDisplayOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LineSeriesAxisDisplayOptionsProperty } } /** * A structure that contains the configuration of a shareable link to the dashboard. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LinkSharingConfigurationProperty linkSharingConfigurationProperty = * LinkSharingConfigurationProperty.builder() * .permissions(List.of(ResourcePermissionProperty.builder() * .actions(List.of("actions")) * .principal("principal") * // the properties below are optional * .resource("resource") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linksharingconfiguration.html) */ public interface LinkSharingConfigurationProperty { /** * A structure that contains the permissions of a shareable link. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linksharingconfiguration.html#cfn-quicksight-dashboard-linksharingconfiguration-permissions) */ public fun permissions(): Any? = unwrap(this).getPermissions() /** * A builder for [LinkSharingConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param permissions A structure that contains the permissions of a shareable link. */ public fun permissions(permissions: IResolvable) /** * @param permissions A structure that contains the permissions of a shareable link. */ public fun permissions(permissions: List) /** * @param permissions A structure that contains the permissions of a shareable link. */ public fun permissions(vararg permissions: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LinkSharingConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LinkSharingConfigurationProperty.builder() /** * @param permissions A structure that contains the permissions of a shareable link. */ override fun permissions(permissions: IResolvable) { cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** * @param permissions A structure that contains the permissions of a shareable link. */ override fun permissions(permissions: List) { cdkBuilder.permissions(permissions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param permissions A structure that contains the permissions of a shareable link. */ override fun permissions(vararg permissions: Any): Unit = permissions(permissions.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LinkSharingConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LinkSharingConfigurationProperty, ) : CdkObject(cdkObject), LinkSharingConfigurationProperty { /** * A structure that contains the permissions of a shareable link. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-linksharingconfiguration.html#cfn-quicksight-dashboard-linksharingconfiguration-permissions) */ override fun permissions(): Any? = unwrap(this).getPermissions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LinkSharingConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LinkSharingConfigurationProperty): LinkSharingConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? LinkSharingConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LinkSharingConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LinkSharingConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LinkSharingConfigurationProperty } } /** * The display options of a control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ListControlDisplayOptionsProperty listControlDisplayOptionsProperty = * ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontroldisplayoptions.html) */ public interface ListControlDisplayOptionsProperty { /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontroldisplayoptions.html#cfn-quicksight-dashboard-listcontroldisplayoptions-infoiconlabeloptions) */ public fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The configuration of the search options in a list control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontroldisplayoptions.html#cfn-quicksight-dashboard-listcontroldisplayoptions-searchoptions) */ public fun searchOptions(): Any? = unwrap(this).getSearchOptions() /** * The configuration of the `Select all` options in a list control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontroldisplayoptions.html#cfn-quicksight-dashboard-listcontroldisplayoptions-selectalloptions) */ public fun selectAllOptions(): Any? = unwrap(this).getSelectAllOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontroldisplayoptions.html#cfn-quicksight-dashboard-listcontroldisplayoptions-titleoptions) */ public fun titleOptions(): Any? = unwrap(this).getTitleOptions() /** * A builder for [ListControlDisplayOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e70574c9fa07ed64cbf93e3a749b6d610f9adfda04b8e6f930ae1a864a3194db") public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit) /** * @param searchOptions The configuration of the search options in a list control. */ public fun searchOptions(searchOptions: IResolvable) /** * @param searchOptions The configuration of the search options in a list control. */ public fun searchOptions(searchOptions: ListControlSearchOptionsProperty) /** * @param searchOptions The configuration of the search options in a list control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("924e17e2b31045b43f85a07841f13635b859ee997d484c9da18aa0a15aaa30cc") public fun searchOptions(searchOptions: ListControlSearchOptionsProperty.Builder.() -> Unit) /** * @param selectAllOptions The configuration of the `Select all` options in a list control. */ public fun selectAllOptions(selectAllOptions: IResolvable) /** * @param selectAllOptions The configuration of the `Select all` options in a list control. */ public fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty) /** * @param selectAllOptions The configuration of the `Select all` options in a list control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("673a50bb3220bd9dc4be547cad22a15a24236dfc675b2dc6293108b58843093c") public fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty.Builder.() -> Unit) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: IResolvable) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: LabelOptionsProperty) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f3e75cff112b1295c201d732d761844ac8fa280761f216a7378049abe915138a") public fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlDisplayOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlDisplayOptionsProperty.builder() /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e70574c9fa07ed64cbf93e3a749b6d610f9adfda04b8e6f930ae1a864a3194db") override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit): Unit = infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty(infoIconLabelOptions)) /** * @param searchOptions The configuration of the search options in a list control. */ override fun searchOptions(searchOptions: IResolvable) { cdkBuilder.searchOptions(searchOptions.let(IResolvable.Companion::unwrap)) } /** * @param searchOptions The configuration of the search options in a list control. */ override fun searchOptions(searchOptions: ListControlSearchOptionsProperty) { cdkBuilder.searchOptions(searchOptions.let(ListControlSearchOptionsProperty.Companion::unwrap)) } /** * @param searchOptions The configuration of the search options in a list control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("924e17e2b31045b43f85a07841f13635b859ee997d484c9da18aa0a15aaa30cc") override fun searchOptions(searchOptions: ListControlSearchOptionsProperty.Builder.() -> Unit): Unit = searchOptions(ListControlSearchOptionsProperty(searchOptions)) /** * @param selectAllOptions The configuration of the `Select all` options in a list control. */ override fun selectAllOptions(selectAllOptions: IResolvable) { cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable.Companion::unwrap)) } /** * @param selectAllOptions The configuration of the `Select all` options in a list control. */ override fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty) { cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty.Companion::unwrap)) } /** * @param selectAllOptions The configuration of the `Select all` options in a list control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("673a50bb3220bd9dc4be547cad22a15a24236dfc675b2dc6293108b58843093c") override fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty.Builder.() -> Unit): Unit = selectAllOptions(ListControlSelectAllOptionsProperty(selectAllOptions)) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f3e75cff112b1295c201d732d761844ac8fa280761f216a7378049abe915138a") override fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit): Unit = titleOptions(LabelOptionsProperty(titleOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlDisplayOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlDisplayOptionsProperty, ) : CdkObject(cdkObject), ListControlDisplayOptionsProperty { /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontroldisplayoptions.html#cfn-quicksight-dashboard-listcontroldisplayoptions-infoiconlabeloptions) */ override fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The configuration of the search options in a list control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontroldisplayoptions.html#cfn-quicksight-dashboard-listcontroldisplayoptions-searchoptions) */ override fun searchOptions(): Any? = unwrap(this).getSearchOptions() /** * The configuration of the `Select all` options in a list control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontroldisplayoptions.html#cfn-quicksight-dashboard-listcontroldisplayoptions-selectalloptions) */ override fun selectAllOptions(): Any? = unwrap(this).getSelectAllOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontroldisplayoptions.html#cfn-quicksight-dashboard-listcontroldisplayoptions-titleoptions) */ override fun titleOptions(): Any? = unwrap(this).getTitleOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ListControlDisplayOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlDisplayOptionsProperty): ListControlDisplayOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? ListControlDisplayOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ListControlDisplayOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlDisplayOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlDisplayOptionsProperty } } /** * The configuration of the search options in a list control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ListControlSearchOptionsProperty listControlSearchOptionsProperty = * ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontrolsearchoptions.html) */ public interface ListControlSearchOptionsProperty { /** * The visibility configuration of the search options in a list control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontrolsearchoptions.html#cfn-quicksight-dashboard-listcontrolsearchoptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [ListControlSearchOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility The visibility configuration of the search options in a list control. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSearchOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSearchOptionsProperty.builder() /** * @param visibility The visibility configuration of the search options in a list control. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSearchOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSearchOptionsProperty, ) : CdkObject(cdkObject), ListControlSearchOptionsProperty { /** * The visibility configuration of the search options in a list control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontrolsearchoptions.html#cfn-quicksight-dashboard-listcontrolsearchoptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ListControlSearchOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSearchOptionsProperty): ListControlSearchOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? ListControlSearchOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ListControlSearchOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSearchOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSearchOptionsProperty } } /** * The configuration of the `Select all` options in a list control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ListControlSelectAllOptionsProperty listControlSelectAllOptionsProperty = * ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontrolselectalloptions.html) */ public interface ListControlSelectAllOptionsProperty { /** * The visibility configuration of the `Select all` options in a list control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontrolselectalloptions.html#cfn-quicksight-dashboard-listcontrolselectalloptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [ListControlSelectAllOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility The visibility configuration of the `Select all` options in a list * control. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSelectAllOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSelectAllOptionsProperty.builder() /** * @param visibility The visibility configuration of the `Select all` options in a list * control. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSelectAllOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSelectAllOptionsProperty, ) : CdkObject(cdkObject), ListControlSelectAllOptionsProperty { /** * The visibility configuration of the `Select all` options in a list control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-listcontrolselectalloptions.html#cfn-quicksight-dashboard-listcontrolselectalloptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ListControlSelectAllOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSelectAllOptionsProperty): ListControlSelectAllOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? ListControlSelectAllOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ListControlSelectAllOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSelectAllOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ListControlSelectAllOptionsProperty } } /** * The configuration of loading animation in free-form layout. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LoadingAnimationProperty loadingAnimationProperty = LoadingAnimationProperty.builder() * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-loadinganimation.html) */ public interface LoadingAnimationProperty { /** * The visibility configuration of `LoadingAnimation` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-loadinganimation.html#cfn-quicksight-dashboard-loadinganimation-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [LoadingAnimationProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility The visibility configuration of `LoadingAnimation` . */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LoadingAnimationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LoadingAnimationProperty.builder() /** * @param visibility The visibility configuration of `LoadingAnimation` . */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LoadingAnimationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LoadingAnimationProperty, ) : CdkObject(cdkObject), LoadingAnimationProperty { /** * The visibility configuration of `LoadingAnimation` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-loadinganimation.html#cfn-quicksight-dashboard-loadinganimation-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LoadingAnimationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LoadingAnimationProperty): LoadingAnimationProperty = CdkObjectWrappers.wrap(cdkObject) as? LoadingAnimationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LoadingAnimationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LoadingAnimationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LoadingAnimationProperty } } /** * The navigation configuration for `CustomActionNavigationOperation` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LocalNavigationConfigurationProperty localNavigationConfigurationProperty = * LocalNavigationConfigurationProperty.builder() * .targetSheetId("targetSheetId") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-localnavigationconfiguration.html) */ public interface LocalNavigationConfigurationProperty { /** * The sheet that is targeted for navigation in the same analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-localnavigationconfiguration.html#cfn-quicksight-dashboard-localnavigationconfiguration-targetsheetid) */ public fun targetSheetId(): String /** * A builder for [LocalNavigationConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param targetSheetId The sheet that is targeted for navigation in the same analysis. */ public fun targetSheetId(targetSheetId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LocalNavigationConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LocalNavigationConfigurationProperty.builder() /** * @param targetSheetId The sheet that is targeted for navigation in the same analysis. */ override fun targetSheetId(targetSheetId: String) { cdkBuilder.targetSheetId(targetSheetId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LocalNavigationConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LocalNavigationConfigurationProperty, ) : CdkObject(cdkObject), LocalNavigationConfigurationProperty { /** * The sheet that is targeted for navigation in the same analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-localnavigationconfiguration.html#cfn-quicksight-dashboard-localnavigationconfiguration-targetsheetid) */ override fun targetSheetId(): String = unwrap(this).getTargetSheetId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LocalNavigationConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LocalNavigationConfigurationProperty): LocalNavigationConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? LocalNavigationConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LocalNavigationConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LocalNavigationConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LocalNavigationConfigurationProperty } } /** * The text format for a subtitle. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * LongFormatTextProperty longFormatTextProperty = LongFormatTextProperty.builder() * .plainText("plainText") * .richText("richText") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-longformattext.html) */ public interface LongFormatTextProperty { /** * Plain text format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-longformattext.html#cfn-quicksight-dashboard-longformattext-plaintext) */ public fun plainText(): String? = unwrap(this).getPlainText() /** * Rich text. * * Examples of rich text include bold, underline, and italics. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-longformattext.html#cfn-quicksight-dashboard-longformattext-richtext) */ public fun richText(): String? = unwrap(this).getRichText() /** * A builder for [LongFormatTextProperty] */ @CdkDslMarker public interface Builder { /** * @param plainText Plain text format. */ public fun plainText(plainText: String) /** * @param richText Rich text. * Examples of rich text include bold, underline, and italics. */ public fun richText(richText: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.LongFormatTextProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.LongFormatTextProperty.builder() /** * @param plainText Plain text format. */ override fun plainText(plainText: String) { cdkBuilder.plainText(plainText) } /** * @param richText Rich text. * Examples of rich text include bold, underline, and italics. */ override fun richText(richText: String) { cdkBuilder.richText(richText) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.LongFormatTextProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LongFormatTextProperty, ) : CdkObject(cdkObject), LongFormatTextProperty { /** * Plain text format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-longformattext.html#cfn-quicksight-dashboard-longformattext-plaintext) */ override fun plainText(): String? = unwrap(this).getPlainText() /** * Rich text. * * Examples of rich text include bold, underline, and italics. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-longformattext.html#cfn-quicksight-dashboard-longformattext-richtext) */ override fun richText(): String? = unwrap(this).getRichText() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): LongFormatTextProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.LongFormatTextProperty): LongFormatTextProperty = CdkObjectWrappers.wrap(cdkObject) as? LongFormatTextProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: LongFormatTextProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.LongFormatTextProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.LongFormatTextProperty } } /** * A dataset parameter that is mapped to an analysis parameter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * MappedDataSetParameterProperty mappedDataSetParameterProperty = * MappedDataSetParameterProperty.builder() * .dataSetIdentifier("dataSetIdentifier") * .dataSetParameterName("dataSetParameterName") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-mappeddatasetparameter.html) */ public interface MappedDataSetParameterProperty { /** * A unique name that identifies a dataset within the analysis or dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-mappeddatasetparameter.html#cfn-quicksight-dashboard-mappeddatasetparameter-datasetidentifier) */ public fun dataSetIdentifier(): String /** * The name of the dataset parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-mappeddatasetparameter.html#cfn-quicksight-dashboard-mappeddatasetparameter-datasetparametername) */ public fun dataSetParameterName(): String /** * A builder for [MappedDataSetParameterProperty] */ @CdkDslMarker public interface Builder { /** * @param dataSetIdentifier A unique name that identifies a dataset within the analysis or * dashboard. */ public fun dataSetIdentifier(dataSetIdentifier: String) /** * @param dataSetParameterName The name of the dataset parameter. */ public fun dataSetParameterName(dataSetParameterName: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.MappedDataSetParameterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.MappedDataSetParameterProperty.builder() /** * @param dataSetIdentifier A unique name that identifies a dataset within the analysis or * dashboard. */ override fun dataSetIdentifier(dataSetIdentifier: String) { cdkBuilder.dataSetIdentifier(dataSetIdentifier) } /** * @param dataSetParameterName The name of the dataset parameter. */ override fun dataSetParameterName(dataSetParameterName: String) { cdkBuilder.dataSetParameterName(dataSetParameterName) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.MappedDataSetParameterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MappedDataSetParameterProperty, ) : CdkObject(cdkObject), MappedDataSetParameterProperty { /** * A unique name that identifies a dataset within the analysis or dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-mappeddatasetparameter.html#cfn-quicksight-dashboard-mappeddatasetparameter-datasetidentifier) */ override fun dataSetIdentifier(): String = unwrap(this).getDataSetIdentifier() /** * The name of the dataset parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-mappeddatasetparameter.html#cfn-quicksight-dashboard-mappeddatasetparameter-datasetparametername) */ override fun dataSetParameterName(): String = unwrap(this).getDataSetParameterName() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): MappedDataSetParameterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MappedDataSetParameterProperty): MappedDataSetParameterProperty = CdkObjectWrappers.wrap(cdkObject) as? MappedDataSetParameterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: MappedDataSetParameterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.MappedDataSetParameterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.MappedDataSetParameterProperty } } /** * The maximum label of a data path label. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * MaximumLabelTypeProperty maximumLabelTypeProperty = MaximumLabelTypeProperty.builder() * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumlabeltype.html) */ public interface MaximumLabelTypeProperty { /** * The visibility of the maximum label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumlabeltype.html#cfn-quicksight-dashboard-maximumlabeltype-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [MaximumLabelTypeProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility The visibility of the maximum label. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumLabelTypeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumLabelTypeProperty.builder() /** * @param visibility The visibility of the maximum label. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumLabelTypeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumLabelTypeProperty, ) : CdkObject(cdkObject), MaximumLabelTypeProperty { /** * The visibility of the maximum label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumlabeltype.html#cfn-quicksight-dashboard-maximumlabeltype-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): MaximumLabelTypeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumLabelTypeProperty): MaximumLabelTypeProperty = CdkObjectWrappers.wrap(cdkObject) as? MaximumLabelTypeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: MaximumLabelTypeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumLabelTypeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumLabelTypeProperty } } /** * The maximum and minimum computation configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * MaximumMinimumComputationProperty maximumMinimumComputationProperty = * MaximumMinimumComputationProperty.builder() * .computationId("computationId") * .type("type") * // the properties below are optional * .name("name") * .time(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build()) * .value(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumminimumcomputation.html) */ public interface MaximumMinimumComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumminimumcomputation.html#cfn-quicksight-dashboard-maximumminimumcomputation-computationid) */ public fun computationId(): String /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumminimumcomputation.html#cfn-quicksight-dashboard-maximumminimumcomputation-name) */ public fun name(): String? = unwrap(this).getName() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumminimumcomputation.html#cfn-quicksight-dashboard-maximumminimumcomputation-time) */ public fun time(): Any? = unwrap(this).getTime() /** * The type of computation. Choose one of the following options:. * * * MAXIMUM: A maximum computation. * * MINIMUM: A minimum computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumminimumcomputation.html#cfn-quicksight-dashboard-maximumminimumcomputation-type) */ public fun type(): String /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumminimumcomputation.html#cfn-quicksight-dashboard-maximumminimumcomputation-value) */ public fun `value`(): Any? = unwrap(this).getValue() /** * A builder for [MaximumMinimumComputationProperty] */ @CdkDslMarker public interface Builder { /** * @param computationId The ID for a computation. */ public fun computationId(computationId: String) /** * @param name The name of a computation. */ public fun name(name: String) /** * @param time The time field that is used in a computation. */ public fun time(time: IResolvable) /** * @param time The time field that is used in a computation. */ public fun time(time: DimensionFieldProperty) /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33f6d5bdb3fca4cc81182db18a5b8589a188fff941848bdb74cc43589ff29daa") public fun time(time: DimensionFieldProperty.Builder.() -> Unit) /** * @param type The type of computation. Choose one of the following options:. * * MAXIMUM: A maximum computation. * * MINIMUM: A minimum computation. */ public fun type(type: String) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: IResolvable) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: MeasureFieldProperty) /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("52b248abf69c3b5a6a006dde469549df62266b478d25fcc8a3fddf87ea87da72") public fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumMinimumComputationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumMinimumComputationProperty.builder() /** * @param computationId The ID for a computation. */ override fun computationId(computationId: String) { cdkBuilder.computationId(computationId) } /** * @param name The name of a computation. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33f6d5bdb3fca4cc81182db18a5b8589a188fff941848bdb74cc43589ff29daa") override fun time(time: DimensionFieldProperty.Builder.() -> Unit): Unit = time(DimensionFieldProperty(time)) /** * @param type The type of computation. Choose one of the following options:. * * MAXIMUM: A maximum computation. * * MINIMUM: A minimum computation. */ override fun type(type: String) { cdkBuilder.type(type) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("52b248abf69c3b5a6a006dde469549df62266b478d25fcc8a3fddf87ea87da72") override fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit): Unit = `value`(MeasureFieldProperty(`value`)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumMinimumComputationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumMinimumComputationProperty, ) : CdkObject(cdkObject), MaximumMinimumComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumminimumcomputation.html#cfn-quicksight-dashboard-maximumminimumcomputation-computationid) */ override fun computationId(): String = unwrap(this).getComputationId() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumminimumcomputation.html#cfn-quicksight-dashboard-maximumminimumcomputation-name) */ override fun name(): String? = unwrap(this).getName() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumminimumcomputation.html#cfn-quicksight-dashboard-maximumminimumcomputation-time) */ override fun time(): Any? = unwrap(this).getTime() /** * The type of computation. Choose one of the following options:. * * * MAXIMUM: A maximum computation. * * MINIMUM: A minimum computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumminimumcomputation.html#cfn-quicksight-dashboard-maximumminimumcomputation-type) */ override fun type(): String = unwrap(this).getType() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-maximumminimumcomputation.html#cfn-quicksight-dashboard-maximumminimumcomputation-value) */ override fun `value`(): Any? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): MaximumMinimumComputationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumMinimumComputationProperty): MaximumMinimumComputationProperty = CdkObjectWrappers.wrap(cdkObject) as? MaximumMinimumComputationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: MaximumMinimumComputationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumMinimumComputationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.MaximumMinimumComputationProperty } } /** * The measure (metric) type field. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * MeasureFieldProperty measureFieldProperty = MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-measurefield.html) */ public interface MeasureFieldProperty { /** * The calculated measure field only used in pivot tables. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-measurefield.html#cfn-quicksight-dashboard-measurefield-calculatedmeasurefield) */ public fun calculatedMeasureField(): Any? = unwrap(this).getCalculatedMeasureField() /** * The measure type field with categorical type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-measurefield.html#cfn-quicksight-dashboard-measurefield-categoricalmeasurefield) */ public fun categoricalMeasureField(): Any? = unwrap(this).getCategoricalMeasureField() /** * The measure type field with date type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-measurefield.html#cfn-quicksight-dashboard-measurefield-datemeasurefield) */ public fun dateMeasureField(): Any? = unwrap(this).getDateMeasureField() /** * The measure type field with numerical type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-measurefield.html#cfn-quicksight-dashboard-measurefield-numericalmeasurefield) */ public fun numericalMeasureField(): Any? = unwrap(this).getNumericalMeasureField() /** * A builder for [MeasureFieldProperty] */ @CdkDslMarker public interface Builder { /** * @param calculatedMeasureField The calculated measure field only used in pivot tables. */ public fun calculatedMeasureField(calculatedMeasureField: IResolvable) /** * @param calculatedMeasureField The calculated measure field only used in pivot tables. */ public fun calculatedMeasureField(calculatedMeasureField: CalculatedMeasureFieldProperty) /** * @param calculatedMeasureField The calculated measure field only used in pivot tables. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("18cbbcb11f0fe96ceb3c622ae8f78c7986c68d39861622b9be9714fd022725bf") public fun calculatedMeasureField(calculatedMeasureField: CalculatedMeasureFieldProperty.Builder.() -> Unit) /** * @param categoricalMeasureField The measure type field with categorical type columns. */ public fun categoricalMeasureField(categoricalMeasureField: IResolvable) /** * @param categoricalMeasureField The measure type field with categorical type columns. */ public fun categoricalMeasureField(categoricalMeasureField: CategoricalMeasureFieldProperty) /** * @param categoricalMeasureField The measure type field with categorical type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7ed034a8325e107c0ab37c258b3b748a86ebe9e6a95a9195ccac38a4286cfa70") public fun categoricalMeasureField(categoricalMeasureField: CategoricalMeasureFieldProperty.Builder.() -> Unit) /** * @param dateMeasureField The measure type field with date type columns. */ public fun dateMeasureField(dateMeasureField: IResolvable) /** * @param dateMeasureField The measure type field with date type columns. */ public fun dateMeasureField(dateMeasureField: DateMeasureFieldProperty) /** * @param dateMeasureField The measure type field with date type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7a21a5cbfcf9f28658602a79003043d27202215e7193d2a4474f9fef882d2f6e") public fun dateMeasureField(dateMeasureField: DateMeasureFieldProperty.Builder.() -> Unit) /** * @param numericalMeasureField The measure type field with numerical type columns. */ public fun numericalMeasureField(numericalMeasureField: IResolvable) /** * @param numericalMeasureField The measure type field with numerical type columns. */ public fun numericalMeasureField(numericalMeasureField: NumericalMeasureFieldProperty) /** * @param numericalMeasureField The measure type field with numerical type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9473f7eca1da7d87c599a19168b4c241560d8b6df8566b4d4f0e8fe0f047bc81") public fun numericalMeasureField(numericalMeasureField: NumericalMeasureFieldProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.MeasureFieldProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.MeasureFieldProperty.builder() /** * @param calculatedMeasureField The calculated measure field only used in pivot tables. */ override fun calculatedMeasureField(calculatedMeasureField: IResolvable) { cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param calculatedMeasureField The calculated measure field only used in pivot tables. */ override fun calculatedMeasureField(calculatedMeasureField: CalculatedMeasureFieldProperty) { cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(CalculatedMeasureFieldProperty.Companion::unwrap)) } /** * @param calculatedMeasureField The calculated measure field only used in pivot tables. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("18cbbcb11f0fe96ceb3c622ae8f78c7986c68d39861622b9be9714fd022725bf") override fun calculatedMeasureField(calculatedMeasureField: CalculatedMeasureFieldProperty.Builder.() -> Unit): Unit = calculatedMeasureField(CalculatedMeasureFieldProperty(calculatedMeasureField)) /** * @param categoricalMeasureField The measure type field with categorical type columns. */ override fun categoricalMeasureField(categoricalMeasureField: IResolvable) { cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param categoricalMeasureField The measure type field with categorical type columns. */ override fun categoricalMeasureField(categoricalMeasureField: CategoricalMeasureFieldProperty) { cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(CategoricalMeasureFieldProperty.Companion::unwrap)) } /** * @param categoricalMeasureField The measure type field with categorical type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7ed034a8325e107c0ab37c258b3b748a86ebe9e6a95a9195ccac38a4286cfa70") override fun categoricalMeasureField(categoricalMeasureField: CategoricalMeasureFieldProperty.Builder.() -> Unit): Unit = categoricalMeasureField(CategoricalMeasureFieldProperty(categoricalMeasureField)) /** * @param dateMeasureField The measure type field with date type columns. */ override fun dateMeasureField(dateMeasureField: IResolvable) { cdkBuilder.dateMeasureField(dateMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param dateMeasureField The measure type field with date type columns. */ override fun dateMeasureField(dateMeasureField: DateMeasureFieldProperty) { cdkBuilder.dateMeasureField(dateMeasureField.let(DateMeasureFieldProperty.Companion::unwrap)) } /** * @param dateMeasureField The measure type field with date type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7a21a5cbfcf9f28658602a79003043d27202215e7193d2a4474f9fef882d2f6e") override fun dateMeasureField(dateMeasureField: DateMeasureFieldProperty.Builder.() -> Unit): Unit = dateMeasureField(DateMeasureFieldProperty(dateMeasureField)) /** * @param numericalMeasureField The measure type field with numerical type columns. */ override fun numericalMeasureField(numericalMeasureField: IResolvable) { cdkBuilder.numericalMeasureField(numericalMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param numericalMeasureField The measure type field with numerical type columns. */ override fun numericalMeasureField(numericalMeasureField: NumericalMeasureFieldProperty) { cdkBuilder.numericalMeasureField(numericalMeasureField.let(NumericalMeasureFieldProperty.Companion::unwrap)) } /** * @param numericalMeasureField The measure type field with numerical type columns. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9473f7eca1da7d87c599a19168b4c241560d8b6df8566b4d4f0e8fe0f047bc81") override fun numericalMeasureField(numericalMeasureField: NumericalMeasureFieldProperty.Builder.() -> Unit): Unit = numericalMeasureField(NumericalMeasureFieldProperty(numericalMeasureField)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.MeasureFieldProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MeasureFieldProperty, ) : CdkObject(cdkObject), MeasureFieldProperty { /** * The calculated measure field only used in pivot tables. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-measurefield.html#cfn-quicksight-dashboard-measurefield-calculatedmeasurefield) */ override fun calculatedMeasureField(): Any? = unwrap(this).getCalculatedMeasureField() /** * The measure type field with categorical type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-measurefield.html#cfn-quicksight-dashboard-measurefield-categoricalmeasurefield) */ override fun categoricalMeasureField(): Any? = unwrap(this).getCategoricalMeasureField() /** * The measure type field with date type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-measurefield.html#cfn-quicksight-dashboard-measurefield-datemeasurefield) */ override fun dateMeasureField(): Any? = unwrap(this).getDateMeasureField() /** * The measure type field with numerical type columns. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-measurefield.html#cfn-quicksight-dashboard-measurefield-numericalmeasurefield) */ override fun numericalMeasureField(): Any? = unwrap(this).getNumericalMeasureField() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): MeasureFieldProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MeasureFieldProperty): MeasureFieldProperty = CdkObjectWrappers.wrap(cdkObject) as? MeasureFieldProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: MeasureFieldProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.MeasureFieldProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.MeasureFieldProperty } } /** * The metric comparison computation configuration. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-metriccomparisoncomputation.html) */ public interface MetricComparisonComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-metriccomparisoncomputation.html#cfn-quicksight-dashboard-metriccomparisoncomputation-computationid) */ public fun computationId(): String /** * The field that is used in a metric comparison from value setup. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-metriccomparisoncomputation.html#cfn-quicksight-dashboard-metriccomparisoncomputation-fromvalue) */ public fun fromValue(): Any? = unwrap(this).getFromValue() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-metriccomparisoncomputation.html#cfn-quicksight-dashboard-metriccomparisoncomputation-name) */ public fun name(): String? = unwrap(this).getName() /** * The field that is used in a metric comparison to value setup. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-metriccomparisoncomputation.html#cfn-quicksight-dashboard-metriccomparisoncomputation-targetvalue) */ public fun targetValue(): Any? = unwrap(this).getTargetValue() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-metriccomparisoncomputation.html#cfn-quicksight-dashboard-metriccomparisoncomputation-time) */ public fun time(): Any? = unwrap(this).getTime() /** * A builder for [MetricComparisonComputationProperty] */ @CdkDslMarker public interface Builder { /** * @param computationId The ID for a computation. */ public fun computationId(computationId: String) /** * @param fromValue The field that is used in a metric comparison from value setup. */ public fun fromValue(fromValue: IResolvable) /** * @param fromValue The field that is used in a metric comparison from value setup. */ public fun fromValue(fromValue: MeasureFieldProperty) /** * @param fromValue The field that is used in a metric comparison from value setup. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7625083c9878d8544866aed16070322fd1df33f123ff29ffff40c9d6545bec54") public fun fromValue(fromValue: MeasureFieldProperty.Builder.() -> Unit) /** * @param name The name of a computation. */ public fun name(name: String) /** * @param targetValue The field that is used in a metric comparison to value setup. */ public fun targetValue(targetValue: IResolvable) /** * @param targetValue The field that is used in a metric comparison to value setup. */ public fun targetValue(targetValue: MeasureFieldProperty) /** * @param targetValue The field that is used in a metric comparison to value setup. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dc80ed5516e90caf11153d6540eede4745bbdc30118b575714cafa972c10dcd9") public fun targetValue(targetValue: MeasureFieldProperty.Builder.() -> Unit) /** * @param time The time field that is used in a computation. */ public fun time(time: IResolvable) /** * @param time The time field that is used in a computation. */ public fun time(time: DimensionFieldProperty) /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e9d7fa7ac90f40abcdb85b03b7ff131f1b97de2b7c1722b2f6ccbfe1f4c1e2f7") public fun time(time: DimensionFieldProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.MetricComparisonComputationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.MetricComparisonComputationProperty.builder() /** * @param computationId The ID for a computation. */ override fun computationId(computationId: String) { cdkBuilder.computationId(computationId) } /** * @param fromValue The field that is used in a metric comparison from value setup. */ override fun fromValue(fromValue: IResolvable) { cdkBuilder.fromValue(fromValue.let(IResolvable.Companion::unwrap)) } /** * @param fromValue The field that is used in a metric comparison from value setup. */ override fun fromValue(fromValue: MeasureFieldProperty) { cdkBuilder.fromValue(fromValue.let(MeasureFieldProperty.Companion::unwrap)) } /** * @param fromValue The field that is used in a metric comparison from value setup. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7625083c9878d8544866aed16070322fd1df33f123ff29ffff40c9d6545bec54") override fun fromValue(fromValue: MeasureFieldProperty.Builder.() -> Unit): Unit = fromValue(MeasureFieldProperty(fromValue)) /** * @param name The name of a computation. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param targetValue The field that is used in a metric comparison to value setup. */ override fun targetValue(targetValue: IResolvable) { cdkBuilder.targetValue(targetValue.let(IResolvable.Companion::unwrap)) } /** * @param targetValue The field that is used in a metric comparison to value setup. */ override fun targetValue(targetValue: MeasureFieldProperty) { cdkBuilder.targetValue(targetValue.let(MeasureFieldProperty.Companion::unwrap)) } /** * @param targetValue The field that is used in a metric comparison to value setup. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dc80ed5516e90caf11153d6540eede4745bbdc30118b575714cafa972c10dcd9") override fun targetValue(targetValue: MeasureFieldProperty.Builder.() -> Unit): Unit = targetValue(MeasureFieldProperty(targetValue)) /** * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e9d7fa7ac90f40abcdb85b03b7ff131f1b97de2b7c1722b2f6ccbfe1f4c1e2f7") override fun time(time: DimensionFieldProperty.Builder.() -> Unit): Unit = time(DimensionFieldProperty(time)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.MetricComparisonComputationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MetricComparisonComputationProperty, ) : CdkObject(cdkObject), MetricComparisonComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-metriccomparisoncomputation.html#cfn-quicksight-dashboard-metriccomparisoncomputation-computationid) */ override fun computationId(): String = unwrap(this).getComputationId() /** * The field that is used in a metric comparison from value setup. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-metriccomparisoncomputation.html#cfn-quicksight-dashboard-metriccomparisoncomputation-fromvalue) */ override fun fromValue(): Any? = unwrap(this).getFromValue() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-metriccomparisoncomputation.html#cfn-quicksight-dashboard-metriccomparisoncomputation-name) */ override fun name(): String? = unwrap(this).getName() /** * The field that is used in a metric comparison to value setup. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-metriccomparisoncomputation.html#cfn-quicksight-dashboard-metriccomparisoncomputation-targetvalue) */ override fun targetValue(): Any? = unwrap(this).getTargetValue() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-metriccomparisoncomputation.html#cfn-quicksight-dashboard-metriccomparisoncomputation-time) */ override fun time(): Any? = unwrap(this).getTime() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): MetricComparisonComputationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MetricComparisonComputationProperty): MetricComparisonComputationProperty = CdkObjectWrappers.wrap(cdkObject) as? MetricComparisonComputationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: MetricComparisonComputationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.MetricComparisonComputationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.MetricComparisonComputationProperty } } /** * The minimum label of a data path label. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * MinimumLabelTypeProperty minimumLabelTypeProperty = MinimumLabelTypeProperty.builder() * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-minimumlabeltype.html) */ public interface MinimumLabelTypeProperty { /** * The visibility of the minimum label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-minimumlabeltype.html#cfn-quicksight-dashboard-minimumlabeltype-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [MinimumLabelTypeProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility The visibility of the minimum label. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.MinimumLabelTypeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.MinimumLabelTypeProperty.builder() /** * @param visibility The visibility of the minimum label. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.MinimumLabelTypeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MinimumLabelTypeProperty, ) : CdkObject(cdkObject), MinimumLabelTypeProperty { /** * The visibility of the minimum label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-minimumlabeltype.html#cfn-quicksight-dashboard-minimumlabeltype-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): MinimumLabelTypeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MinimumLabelTypeProperty): MinimumLabelTypeProperty = CdkObjectWrappers.wrap(cdkObject) as? MinimumLabelTypeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: MinimumLabelTypeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.MinimumLabelTypeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.MinimumLabelTypeProperty } } /** * The configuration options that determine how missing data is treated during the rendering of a * line chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * MissingDataConfigurationProperty missingDataConfigurationProperty = * MissingDataConfigurationProperty.builder() * .treatmentOption("treatmentOption") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-missingdataconfiguration.html) */ public interface MissingDataConfigurationProperty { /** * The treatment option that determines how missing data should be rendered. Choose from the * following options:. * * * `INTERPOLATE` : Interpolate missing values between the prior and the next known value. * * `SHOW_AS_ZERO` : Show missing values as the value `0` . * * `SHOW_AS_BLANK` : Display a blank space when rendering missing data. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-missingdataconfiguration.html#cfn-quicksight-dashboard-missingdataconfiguration-treatmentoption) */ public fun treatmentOption(): String? = unwrap(this).getTreatmentOption() /** * A builder for [MissingDataConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param treatmentOption The treatment option that determines how missing data should be * rendered. Choose from the following options:. * * `INTERPOLATE` : Interpolate missing values between the prior and the next known value. * * `SHOW_AS_ZERO` : Show missing values as the value `0` . * * `SHOW_AS_BLANK` : Display a blank space when rendering missing data. */ public fun treatmentOption(treatmentOption: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.MissingDataConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.MissingDataConfigurationProperty.builder() /** * @param treatmentOption The treatment option that determines how missing data should be * rendered. Choose from the following options:. * * `INTERPOLATE` : Interpolate missing values between the prior and the next known value. * * `SHOW_AS_ZERO` : Show missing values as the value `0` . * * `SHOW_AS_BLANK` : Display a blank space when rendering missing data. */ override fun treatmentOption(treatmentOption: String) { cdkBuilder.treatmentOption(treatmentOption) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.MissingDataConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MissingDataConfigurationProperty, ) : CdkObject(cdkObject), MissingDataConfigurationProperty { /** * The treatment option that determines how missing data should be rendered. Choose from the * following options:. * * * `INTERPOLATE` : Interpolate missing values between the prior and the next known value. * * `SHOW_AS_ZERO` : Show missing values as the value `0` . * * `SHOW_AS_BLANK` : Display a blank space when rendering missing data. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-missingdataconfiguration.html#cfn-quicksight-dashboard-missingdataconfiguration-treatmentoption) */ override fun treatmentOption(): String? = unwrap(this).getTreatmentOption() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): MissingDataConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.MissingDataConfigurationProperty): MissingDataConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? MissingDataConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: MissingDataConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.MissingDataConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.MissingDataConfigurationProperty } } /** * The options that determine the negative value configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NegativeValueConfigurationProperty negativeValueConfigurationProperty = * NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-negativevalueconfiguration.html) */ public interface NegativeValueConfigurationProperty { /** * Determines the display mode of the negative value configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-negativevalueconfiguration.html#cfn-quicksight-dashboard-negativevalueconfiguration-displaymode) */ public fun displayMode(): String /** * A builder for [NegativeValueConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param displayMode Determines the display mode of the negative value configuration. */ public fun displayMode(displayMode: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NegativeValueConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NegativeValueConfigurationProperty.builder() /** * @param displayMode Determines the display mode of the negative value configuration. */ override fun displayMode(displayMode: String) { cdkBuilder.displayMode(displayMode) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NegativeValueConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NegativeValueConfigurationProperty, ) : CdkObject(cdkObject), NegativeValueConfigurationProperty { /** * Determines the display mode of the negative value configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-negativevalueconfiguration.html#cfn-quicksight-dashboard-negativevalueconfiguration-displaymode) */ override fun displayMode(): String = unwrap(this).getDisplayMode() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NegativeValueConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NegativeValueConfigurationProperty): NegativeValueConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? NegativeValueConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NegativeValueConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NegativeValueConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NegativeValueConfigurationProperty } } /** * A `NestedFilter` filters data with a subset of data that is defined by the nested inner filter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NestedFilterProperty nestedFilterProperty = NestedFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .filterId("filterId") * .includeInnerSet(false) * .innerFilter(InnerFilterProperty.builder() * .categoryInnerFilter(CategoryInnerFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .configuration(CategoryFilterConfigurationProperty.builder() * .customFilterConfiguration(CustomFilterConfigurationProperty.builder() * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .categoryValue("categoryValue") * .parameterName("parameterName") * .selectAllOptions("selectAllOptions") * .build()) * .customFilterListConfiguration(CustomFilterListConfigurationProperty.builder() * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .categoryValues(List.of("categoryValues")) * .selectAllOptions("selectAllOptions") * .build()) * .filterListConfiguration(FilterListConfigurationProperty.builder() * .matchOperator("matchOperator") * // the properties below are optional * .categoryValues(List.of("categoryValues")) * .nullOption("nullOption") * .selectAllOptions("selectAllOptions") * .build()) * .build()) * // the properties below are optional * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() * .controlOptions(DefaultFilterControlOptionsProperty.builder() * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build()) * .title("title") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-nestedfilter.html) */ public interface NestedFilterProperty { /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-nestedfilter.html#cfn-quicksight-dashboard-nestedfilter-column) */ public fun column(): Any /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-nestedfilter.html#cfn-quicksight-dashboard-nestedfilter-filterid) */ public fun filterId(): String /** * A boolean condition to include or exclude the subset that is defined by the values of the * nested inner filter. * * Default: - false * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-nestedfilter.html#cfn-quicksight-dashboard-nestedfilter-includeinnerset) */ public fun includeInnerSet(): Any /** * The `InnerFilter` defines the subset of data to be used with the `NestedFilter` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-nestedfilter.html#cfn-quicksight-dashboard-nestedfilter-innerfilter) */ public fun innerFilter(): Any /** * A builder for [NestedFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param column The column that the filter is applied to. */ public fun column(column: IResolvable) /** * @param column The column that the filter is applied to. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ab9f7cd374990ed6e51a10bbe36a411730f915f083d1f8ffa28ef877eb995c2e") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ public fun filterId(filterId: String) /** * @param includeInnerSet A boolean condition to include or exclude the subset that is defined * by the values of the nested inner filter. */ public fun includeInnerSet(includeInnerSet: Boolean) /** * @param includeInnerSet A boolean condition to include or exclude the subset that is defined * by the values of the nested inner filter. */ public fun includeInnerSet(includeInnerSet: IResolvable) /** * @param innerFilter The `InnerFilter` defines the subset of data to be used with the * `NestedFilter` . */ public fun innerFilter(innerFilter: IResolvable) /** * @param innerFilter The `InnerFilter` defines the subset of data to be used with the * `NestedFilter` . */ public fun innerFilter(innerFilter: InnerFilterProperty) /** * @param innerFilter The `InnerFilter` defines the subset of data to be used with the * `NestedFilter` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9b713fde7afa7f7196377a93c19b5f1fec2e3826529ab102ff77ecb65b718e1c") public fun innerFilter(innerFilter: InnerFilterProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NestedFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NestedFilterProperty.builder() /** * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ab9f7cd374990ed6e51a10bbe36a411730f915f083d1f8ffa28ef877eb995c2e") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ override fun filterId(filterId: String) { cdkBuilder.filterId(filterId) } /** * @param includeInnerSet A boolean condition to include or exclude the subset that is defined * by the values of the nested inner filter. */ override fun includeInnerSet(includeInnerSet: Boolean) { cdkBuilder.includeInnerSet(includeInnerSet) } /** * @param includeInnerSet A boolean condition to include or exclude the subset that is defined * by the values of the nested inner filter. */ override fun includeInnerSet(includeInnerSet: IResolvable) { cdkBuilder.includeInnerSet(includeInnerSet.let(IResolvable.Companion::unwrap)) } /** * @param innerFilter The `InnerFilter` defines the subset of data to be used with the * `NestedFilter` . */ override fun innerFilter(innerFilter: IResolvable) { cdkBuilder.innerFilter(innerFilter.let(IResolvable.Companion::unwrap)) } /** * @param innerFilter The `InnerFilter` defines the subset of data to be used with the * `NestedFilter` . */ override fun innerFilter(innerFilter: InnerFilterProperty) { cdkBuilder.innerFilter(innerFilter.let(InnerFilterProperty.Companion::unwrap)) } /** * @param innerFilter The `InnerFilter` defines the subset of data to be used with the * `NestedFilter` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9b713fde7afa7f7196377a93c19b5f1fec2e3826529ab102ff77ecb65b718e1c") override fun innerFilter(innerFilter: InnerFilterProperty.Builder.() -> Unit): Unit = innerFilter(InnerFilterProperty(innerFilter)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NestedFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NestedFilterProperty, ) : CdkObject(cdkObject), NestedFilterProperty { /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-nestedfilter.html#cfn-quicksight-dashboard-nestedfilter-column) */ override fun column(): Any = unwrap(this).getColumn() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-nestedfilter.html#cfn-quicksight-dashboard-nestedfilter-filterid) */ override fun filterId(): String = unwrap(this).getFilterId() /** * A boolean condition to include or exclude the subset that is defined by the values of the * nested inner filter. * * Default: - false * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-nestedfilter.html#cfn-quicksight-dashboard-nestedfilter-includeinnerset) */ override fun includeInnerSet(): Any = unwrap(this).getIncludeInnerSet() /** * The `InnerFilter` defines the subset of data to be used with the `NestedFilter` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-nestedfilter.html#cfn-quicksight-dashboard-nestedfilter-innerfilter) */ override fun innerFilter(): Any = unwrap(this).getInnerFilter() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NestedFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NestedFilterProperty): NestedFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? NestedFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NestedFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NestedFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NestedFilterProperty } } /** * The options that determine the null value format configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NullValueFormatConfigurationProperty nullValueFormatConfigurationProperty = * NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-nullvalueformatconfiguration.html) */ public interface NullValueFormatConfigurationProperty { /** * Determines the null string of null values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-nullvalueformatconfiguration.html#cfn-quicksight-dashboard-nullvalueformatconfiguration-nullstring) */ public fun nullString(): String /** * A builder for [NullValueFormatConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param nullString Determines the null string of null values. */ public fun nullString(nullString: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NullValueFormatConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NullValueFormatConfigurationProperty.builder() /** * @param nullString Determines the null string of null values. */ override fun nullString(nullString: String) { cdkBuilder.nullString(nullString) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NullValueFormatConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NullValueFormatConfigurationProperty, ) : CdkObject(cdkObject), NullValueFormatConfigurationProperty { /** * Determines the null string of null values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-nullvalueformatconfiguration.html#cfn-quicksight-dashboard-nullvalueformatconfiguration-nullstring) */ override fun nullString(): String = unwrap(this).getNullString() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NullValueFormatConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NullValueFormatConfigurationProperty): NullValueFormatConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? NullValueFormatConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NullValueFormatConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NullValueFormatConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NullValueFormatConfigurationProperty } } /** * The options that determine the number display format configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NumberDisplayFormatConfigurationProperty numberDisplayFormatConfigurationProperty = * NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html) */ public interface NumberDisplayFormatConfigurationProperty { /** * The option that determines the decimal places configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-decimalplacesconfiguration) */ public fun decimalPlacesConfiguration(): Any? = unwrap(this).getDecimalPlacesConfiguration() /** * The options that determine the negative value configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-negativevalueconfiguration) */ public fun negativeValueConfiguration(): Any? = unwrap(this).getNegativeValueConfiguration() /** * The options that determine the null value format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-nullvalueformatconfiguration) */ public fun nullValueFormatConfiguration(): Any? = unwrap(this).getNullValueFormatConfiguration() /** * Determines the number scale value of the number format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-numberscale) */ public fun numberScale(): String? = unwrap(this).getNumberScale() /** * Determines the prefix value of the number format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-prefix) */ public fun prefix(): String? = unwrap(this).getPrefix() /** * The options that determine the numeric separator configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-separatorconfiguration) */ public fun separatorConfiguration(): Any? = unwrap(this).getSeparatorConfiguration() /** * Determines the suffix value of the number format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-suffix) */ public fun suffix(): String? = unwrap(this).getSuffix() /** * A builder for [NumberDisplayFormatConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ public fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ public fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8d0a7ad0c64e455746b34623c19cf04864d39d770bc98513c50ef7e09f9f88d3") public fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty.Builder.() -> Unit) /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ public fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ public fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7d6013b604e9284615d4e49a2dc372228a39d55f96486b000602df4cdb048c96") public fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty.Builder.() -> Unit) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ public fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ public fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4bac7e50f6b6b1941a0a9568e0e841f3ce49cd839ca0f0402cd30e0932a0de50") public fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty.Builder.() -> Unit) /** * @param numberScale Determines the number scale value of the number format. */ public fun numberScale(numberScale: String) /** * @param prefix Determines the prefix value of the number format. */ public fun prefix(prefix: String) /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ public fun separatorConfiguration(separatorConfiguration: IResolvable) /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ public fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("07f9e792552b556237a7ef3ef8ce4ee1c51303e38e3ed66fb9b5a2d38b8376fd") public fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty.Builder.() -> Unit) /** * @param suffix Determines the suffix value of the number format. */ public fun suffix(suffix: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NumberDisplayFormatConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NumberDisplayFormatConfigurationProperty.builder() /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) { cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) { cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty.Companion::unwrap)) } /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8d0a7ad0c64e455746b34623c19cf04864d39d770bc98513c50ef7e09f9f88d3") override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty.Builder.() -> Unit): Unit = decimalPlacesConfiguration(DecimalPlacesConfigurationProperty(decimalPlacesConfiguration)) /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) { cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) { cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty.Companion::unwrap)) } /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7d6013b604e9284615d4e49a2dc372228a39d55f96486b000602df4cdb048c96") override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty.Builder.() -> Unit): Unit = negativeValueConfiguration(NegativeValueConfigurationProperty(negativeValueConfiguration)) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4bac7e50f6b6b1941a0a9568e0e841f3ce49cd839ca0f0402cd30e0932a0de50") override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty.Builder.() -> Unit): Unit = nullValueFormatConfiguration(NullValueFormatConfigurationProperty(nullValueFormatConfiguration)) /** * @param numberScale Determines the number scale value of the number format. */ override fun numberScale(numberScale: String) { cdkBuilder.numberScale(numberScale) } /** * @param prefix Determines the prefix value of the number format. */ override fun prefix(prefix: String) { cdkBuilder.prefix(prefix) } /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ override fun separatorConfiguration(separatorConfiguration: IResolvable) { cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) { cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty.Companion::unwrap)) } /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("07f9e792552b556237a7ef3ef8ce4ee1c51303e38e3ed66fb9b5a2d38b8376fd") override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty.Builder.() -> Unit): Unit = separatorConfiguration(NumericSeparatorConfigurationProperty(separatorConfiguration)) /** * @param suffix Determines the suffix value of the number format. */ override fun suffix(suffix: String) { cdkBuilder.suffix(suffix) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NumberDisplayFormatConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumberDisplayFormatConfigurationProperty, ) : CdkObject(cdkObject), NumberDisplayFormatConfigurationProperty { /** * The option that determines the decimal places configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-decimalplacesconfiguration) */ override fun decimalPlacesConfiguration(): Any? = unwrap(this).getDecimalPlacesConfiguration() /** * The options that determine the negative value configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-negativevalueconfiguration) */ override fun negativeValueConfiguration(): Any? = unwrap(this).getNegativeValueConfiguration() /** * The options that determine the null value format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-nullvalueformatconfiguration) */ override fun nullValueFormatConfiguration(): Any? = unwrap(this).getNullValueFormatConfiguration() /** * Determines the number scale value of the number format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-numberscale) */ override fun numberScale(): String? = unwrap(this).getNumberScale() /** * Determines the prefix value of the number format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-prefix) */ override fun prefix(): String? = unwrap(this).getPrefix() /** * The options that determine the numeric separator configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-separatorconfiguration) */ override fun separatorConfiguration(): Any? = unwrap(this).getSeparatorConfiguration() /** * Determines the suffix value of the number format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberdisplayformatconfiguration.html#cfn-quicksight-dashboard-numberdisplayformatconfiguration-suffix) */ override fun suffix(): String? = unwrap(this).getSuffix() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NumberDisplayFormatConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumberDisplayFormatConfigurationProperty): NumberDisplayFormatConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? NumberDisplayFormatConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NumberDisplayFormatConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NumberDisplayFormatConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NumberDisplayFormatConfigurationProperty } } /** * Formatting configuration for number fields. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NumberFormatConfigurationProperty numberFormatConfigurationProperty = * NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberformatconfiguration.html) */ public interface NumberFormatConfigurationProperty { /** * The options that determine the numeric format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberformatconfiguration.html#cfn-quicksight-dashboard-numberformatconfiguration-formatconfiguration) */ public fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * A builder for [NumberFormatConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param formatConfiguration The options that determine the numeric format configuration. */ public fun formatConfiguration(formatConfiguration: IResolvable) /** * @param formatConfiguration The options that determine the numeric format configuration. */ public fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty) /** * @param formatConfiguration The options that determine the numeric format configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e8a340491b5c30c72f501cee4bb84bbf2f7b113a6e14dbadc6711f19806c4998") public fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NumberFormatConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NumberFormatConfigurationProperty.builder() /** * @param formatConfiguration The options that determine the numeric format configuration. */ override fun formatConfiguration(formatConfiguration: IResolvable) { cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The options that determine the numeric format configuration. */ override fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty) { cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** * @param formatConfiguration The options that determine the numeric format configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e8a340491b5c30c72f501cee4bb84bbf2f7b113a6e14dbadc6711f19806c4998") override fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty.Builder.() -> Unit): Unit = formatConfiguration(NumericFormatConfigurationProperty(formatConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NumberFormatConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumberFormatConfigurationProperty, ) : CdkObject(cdkObject), NumberFormatConfigurationProperty { /** * The options that determine the numeric format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numberformatconfiguration.html#cfn-quicksight-dashboard-numberformatconfiguration-formatconfiguration) */ override fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NumberFormatConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumberFormatConfigurationProperty): NumberFormatConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? NumberFormatConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NumberFormatConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NumberFormatConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NumberFormatConfigurationProperty } } /** * The options for an axis with a numeric field. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * Object dataDriven; * NumericAxisOptionsProperty numericAxisOptionsProperty = NumericAxisOptionsProperty.builder() * .range(AxisDisplayRangeProperty.builder() * .dataDriven(dataDriven) * .minMax(AxisDisplayMinMaxRangeProperty.builder() * .maximum(123) * .minimum(123) * .build()) * .build()) * .scale(AxisScaleProperty.builder() * .linear(AxisLinearScaleProperty.builder() * .stepCount(123) * .stepSize(123) * .build()) * .logarithmic(AxisLogarithmicScaleProperty.builder() * .base(123) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaxisoptions.html) */ public interface NumericAxisOptionsProperty { /** * The range setup of a numeric axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaxisoptions.html#cfn-quicksight-dashboard-numericaxisoptions-range) */ public fun range(): Any? = unwrap(this).getRange() /** * The scale setup of a numeric axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaxisoptions.html#cfn-quicksight-dashboard-numericaxisoptions-scale) */ public fun scale(): Any? = unwrap(this).getScale() /** * A builder for [NumericAxisOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param range The range setup of a numeric axis. */ public fun range(range: IResolvable) /** * @param range The range setup of a numeric axis. */ public fun range(range: AxisDisplayRangeProperty) /** * @param range The range setup of a numeric axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("84dbe3e2c0bf078dbede6e2c57fda42bbed35cd09286d8b0ff6bbe72f4d5d6f8") public fun range(range: AxisDisplayRangeProperty.Builder.() -> Unit) /** * @param scale The scale setup of a numeric axis. */ public fun scale(scale: IResolvable) /** * @param scale The scale setup of a numeric axis. */ public fun scale(scale: AxisScaleProperty) /** * @param scale The scale setup of a numeric axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("34b802c4826291e3da165e7196d82fba59118dba8ec49dd00ea30b18f4c7da02") public fun scale(scale: AxisScaleProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericAxisOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NumericAxisOptionsProperty.builder() /** * @param range The range setup of a numeric axis. */ override fun range(range: IResolvable) { cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range The range setup of a numeric axis. */ override fun range(range: AxisDisplayRangeProperty) { cdkBuilder.range(range.let(AxisDisplayRangeProperty.Companion::unwrap)) } /** * @param range The range setup of a numeric axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("84dbe3e2c0bf078dbede6e2c57fda42bbed35cd09286d8b0ff6bbe72f4d5d6f8") override fun range(range: AxisDisplayRangeProperty.Builder.() -> Unit): Unit = range(AxisDisplayRangeProperty(range)) /** * @param scale The scale setup of a numeric axis. */ override fun scale(scale: IResolvable) { cdkBuilder.scale(scale.let(IResolvable.Companion::unwrap)) } /** * @param scale The scale setup of a numeric axis. */ override fun scale(scale: AxisScaleProperty) { cdkBuilder.scale(scale.let(AxisScaleProperty.Companion::unwrap)) } /** * @param scale The scale setup of a numeric axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("34b802c4826291e3da165e7196d82fba59118dba8ec49dd00ea30b18f4c7da02") override fun scale(scale: AxisScaleProperty.Builder.() -> Unit): Unit = scale(AxisScaleProperty(scale)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericAxisOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericAxisOptionsProperty, ) : CdkObject(cdkObject), NumericAxisOptionsProperty { /** * The range setup of a numeric axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaxisoptions.html#cfn-quicksight-dashboard-numericaxisoptions-range) */ override fun range(): Any? = unwrap(this).getRange() /** * The scale setup of a numeric axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaxisoptions.html#cfn-quicksight-dashboard-numericaxisoptions-scale) */ override fun scale(): Any? = unwrap(this).getScale() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NumericAxisOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericAxisOptionsProperty): NumericAxisOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? NumericAxisOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NumericAxisOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericAxisOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NumericAxisOptionsProperty } } /** * The numeric equality type drill down filter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NumericEqualityDrillDownFilterProperty numericEqualityDrillDownFilterProperty = * NumericEqualityDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .value(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalitydrilldownfilter.html) */ public interface NumericEqualityDrillDownFilterProperty { /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalitydrilldownfilter.html#cfn-quicksight-dashboard-numericequalitydrilldownfilter-column) */ public fun column(): Any /** * The value of the double input numeric drill down filter. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalitydrilldownfilter.html#cfn-quicksight-dashboard-numericequalitydrilldownfilter-value) */ public fun `value`(): Number /** * A builder for [NumericEqualityDrillDownFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param column The column that the filter is applied to. */ public fun column(column: IResolvable) /** * @param column The column that the filter is applied to. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2a10b4e4686445beb8f857f86ee9fe46b9fddeff664c2078460771c37b070697") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param value The value of the double input numeric drill down filter. */ public fun `value`(`value`: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityDrillDownFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityDrillDownFilterProperty.builder() /** * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2a10b4e4686445beb8f857f86ee9fe46b9fddeff664c2078460771c37b070697") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param value The value of the double input numeric drill down filter. */ override fun `value`(`value`: Number) { cdkBuilder.`value`(`value`) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityDrillDownFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityDrillDownFilterProperty, ) : CdkObject(cdkObject), NumericEqualityDrillDownFilterProperty { /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalitydrilldownfilter.html#cfn-quicksight-dashboard-numericequalitydrilldownfilter-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The value of the double input numeric drill down filter. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalitydrilldownfilter.html#cfn-quicksight-dashboard-numericequalitydrilldownfilter-value) */ override fun `value`(): Number = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NumericEqualityDrillDownFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityDrillDownFilterProperty): NumericEqualityDrillDownFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? NumericEqualityDrillDownFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NumericEqualityDrillDownFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityDrillDownFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityDrillDownFilterProperty } } /** * A `NumericEqualityFilter` filters values that are equal to the specified value. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NumericEqualityFilterProperty numericEqualityFilterProperty = * NumericEqualityFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .filterId("filterId") * .matchOperator("matchOperator") * .nullOption("nullOption") * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() * .controlOptions(DefaultFilterControlOptionsProperty.builder() * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build()) * .title("title") * .build()) * .parameterName("parameterName") * .selectAllOptions("selectAllOptions") * .value(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html) */ public interface NumericEqualityFilterProperty { /** * The aggregation function of the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-aggregationfunction) */ public fun aggregationFunction(): Any? = unwrap(this).getAggregationFunction() /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-column) */ public fun column(): Any /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-defaultfiltercontrolconfiguration) */ public fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-filterid) */ public fun filterId(): String /** * The match operator that is used to determine if a filter should be applied. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-matchoperator) */ public fun matchOperator(): String /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-nulloption) */ public fun nullOption(): String /** * The parameter whose value should be used for the filter value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-parametername) */ public fun parameterName(): String? = unwrap(this).getParameterName() /** * Select all of the values. Null is not the assigned value of select all. * * * `FILTER_ALL_VALUES` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-selectalloptions) */ public fun selectAllOptions(): String? = unwrap(this).getSelectAllOptions() /** * The input value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-value) */ public fun `value`(): Number? = unwrap(this).getValue() /** * A builder for [NumericEqualityFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param aggregationFunction The aggregation function of the filter. */ public fun aggregationFunction(aggregationFunction: IResolvable) /** * @param aggregationFunction The aggregation function of the filter. */ public fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) /** * @param aggregationFunction The aggregation function of the filter. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("32ad93b76b277884d91c5f27aaccae4cba8d33d8606ca68a4218fb00b6a56733") public fun aggregationFunction(aggregationFunction: AggregationFunctionProperty.Builder.() -> Unit) /** * @param column The column that the filter is applied to. */ public fun column(column: IResolvable) /** * @param column The column that the filter is applied to. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("101d7a677a6b818000bafea8d0fed60aa9041b5f8e413d4cc53724eefd275e00") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cc6b4dd811921c5c8b1bb1207c862cfb856dcbc35c467fe5ff6ebe174b0d0d15") public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ public fun filterId(filterId: String) /** * @param matchOperator The match operator that is used to determine if a filter should be * applied. */ public fun matchOperator(matchOperator: String) /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ public fun nullOption(nullOption: String) /** * @param parameterName The parameter whose value should be used for the filter value. */ public fun parameterName(parameterName: String) /** * @param selectAllOptions Select all of the values. Null is not the assigned value of select * all. * * `FILTER_ALL_VALUES` */ public fun selectAllOptions(selectAllOptions: String) /** * @param value The input value. */ public fun `value`(`value`: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityFilterProperty.builder() /** * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: IResolvable) { cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the filter. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("32ad93b76b277884d91c5f27aaccae4cba8d33d8606ca68a4218fb00b6a56733") override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty.Builder.() -> Unit): Unit = aggregationFunction(AggregationFunctionProperty(aggregationFunction)) /** * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("101d7a677a6b818000bafea8d0fed60aa9041b5f8e413d4cc53724eefd275e00") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cc6b4dd811921c5c8b1bb1207c862cfb856dcbc35c467fe5ff6ebe174b0d0d15") override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): Unit = defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ override fun filterId(filterId: String) { cdkBuilder.filterId(filterId) } /** * @param matchOperator The match operator that is used to determine if a filter should be * applied. */ override fun matchOperator(matchOperator: String) { cdkBuilder.matchOperator(matchOperator) } /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ override fun nullOption(nullOption: String) { cdkBuilder.nullOption(nullOption) } /** * @param parameterName The parameter whose value should be used for the filter value. */ override fun parameterName(parameterName: String) { cdkBuilder.parameterName(parameterName) } /** * @param selectAllOptions Select all of the values. Null is not the assigned value of select * all. * * `FILTER_ALL_VALUES` */ override fun selectAllOptions(selectAllOptions: String) { cdkBuilder.selectAllOptions(selectAllOptions) } /** * @param value The input value. */ override fun `value`(`value`: Number) { cdkBuilder.`value`(`value`) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityFilterProperty, ) : CdkObject(cdkObject), NumericEqualityFilterProperty { /** * The aggregation function of the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-aggregationfunction) */ override fun aggregationFunction(): Any? = unwrap(this).getAggregationFunction() /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-defaultfiltercontrolconfiguration) */ override fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-filterid) */ override fun filterId(): String = unwrap(this).getFilterId() /** * The match operator that is used to determine if a filter should be applied. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-matchoperator) */ override fun matchOperator(): String = unwrap(this).getMatchOperator() /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-nulloption) */ override fun nullOption(): String = unwrap(this).getNullOption() /** * The parameter whose value should be used for the filter value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-parametername) */ override fun parameterName(): String? = unwrap(this).getParameterName() /** * Select all of the values. Null is not the assigned value of select all. * * * `FILTER_ALL_VALUES` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-selectalloptions) */ override fun selectAllOptions(): String? = unwrap(this).getSelectAllOptions() /** * The input value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-value) */ override fun `value`(): Number? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NumericEqualityFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityFilterProperty): NumericEqualityFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? NumericEqualityFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NumericEqualityFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NumericEqualityFilterProperty } } /** * The options that determine the numeric format configuration. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NumericFormatConfigurationProperty numericFormatConfigurationProperty = * NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericformatconfiguration.html) */ public interface NumericFormatConfigurationProperty { /** * The options that determine the currency display format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericformatconfiguration.html#cfn-quicksight-dashboard-numericformatconfiguration-currencydisplayformatconfiguration) */ public fun currencyDisplayFormatConfiguration(): Any? = unwrap(this).getCurrencyDisplayFormatConfiguration() /** * The options that determine the number display format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericformatconfiguration.html#cfn-quicksight-dashboard-numericformatconfiguration-numberdisplayformatconfiguration) */ public fun numberDisplayFormatConfiguration(): Any? = unwrap(this).getNumberDisplayFormatConfiguration() /** * The options that determine the percentage display format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericformatconfiguration.html#cfn-quicksight-dashboard-numericformatconfiguration-percentagedisplayformatconfiguration) */ public fun percentageDisplayFormatConfiguration(): Any? = unwrap(this).getPercentageDisplayFormatConfiguration() /** * A builder for [NumericFormatConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param currencyDisplayFormatConfiguration The options that determine the currency display * format configuration. */ public fun currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration: IResolvable) /** * @param currencyDisplayFormatConfiguration The options that determine the currency display * format configuration. */ public fun currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration: CurrencyDisplayFormatConfigurationProperty) /** * @param currencyDisplayFormatConfiguration The options that determine the currency display * format configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("812bc48fea7a084aaf9c5dfca181d5b6df9ab7b3e9582a095c91b19c85089a9b") public fun currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration: CurrencyDisplayFormatConfigurationProperty.Builder.() -> Unit) /** * @param numberDisplayFormatConfiguration The options that determine the number display * format configuration. */ public fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: IResolvable) /** * @param numberDisplayFormatConfiguration The options that determine the number display * format configuration. */ public fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty) /** * @param numberDisplayFormatConfiguration The options that determine the number display * format configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3809e766d3ba69b5b991c6a4e7704debcf55ec0263f9ff92fcb0c60deb6ade02") public fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty.Builder.() -> Unit) /** * @param percentageDisplayFormatConfiguration The options that determine the percentage * display format configuration. */ public fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: IResolvable) /** * @param percentageDisplayFormatConfiguration The options that determine the percentage * display format configuration. */ public fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty) /** * @param percentageDisplayFormatConfiguration The options that determine the percentage * display format configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aeb959e985ae7ce820199cdf0cd49094b31ea0254fffe844c8c9f8f87d9ef9d3") public fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericFormatConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NumericFormatConfigurationProperty.builder() /** * @param currencyDisplayFormatConfiguration The options that determine the currency display * format configuration. */ override fun currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration: IResolvable) { cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param currencyDisplayFormatConfiguration The options that determine the currency display * format configuration. */ override fun currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration: CurrencyDisplayFormatConfigurationProperty) { cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(CurrencyDisplayFormatConfigurationProperty.Companion::unwrap)) } /** * @param currencyDisplayFormatConfiguration The options that determine the currency display * format configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("812bc48fea7a084aaf9c5dfca181d5b6df9ab7b3e9582a095c91b19c85089a9b") override fun currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration: CurrencyDisplayFormatConfigurationProperty.Builder.() -> Unit): Unit = currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty(currencyDisplayFormatConfiguration)) /** * @param numberDisplayFormatConfiguration The options that determine the number display * format configuration. */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: IResolvable) { cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param numberDisplayFormatConfiguration The options that determine the number display * format configuration. */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty) { cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty.Companion::unwrap)) } /** * @param numberDisplayFormatConfiguration The options that determine the number display * format configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3809e766d3ba69b5b991c6a4e7704debcf55ec0263f9ff92fcb0c60deb6ade02") override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty.Builder.() -> Unit): Unit = numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty(numberDisplayFormatConfiguration)) /** * @param percentageDisplayFormatConfiguration The options that determine the percentage * display format configuration. */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: IResolvable) { cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param percentageDisplayFormatConfiguration The options that determine the percentage * display format configuration. */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty) { cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty.Companion::unwrap)) } /** * @param percentageDisplayFormatConfiguration The options that determine the percentage * display format configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aeb959e985ae7ce820199cdf0cd49094b31ea0254fffe844c8c9f8f87d9ef9d3") override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty.Builder.() -> Unit): Unit = percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty(percentageDisplayFormatConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericFormatConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericFormatConfigurationProperty, ) : CdkObject(cdkObject), NumericFormatConfigurationProperty { /** * The options that determine the currency display format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericformatconfiguration.html#cfn-quicksight-dashboard-numericformatconfiguration-currencydisplayformatconfiguration) */ override fun currencyDisplayFormatConfiguration(): Any? = unwrap(this).getCurrencyDisplayFormatConfiguration() /** * The options that determine the number display format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericformatconfiguration.html#cfn-quicksight-dashboard-numericformatconfiguration-numberdisplayformatconfiguration) */ override fun numberDisplayFormatConfiguration(): Any? = unwrap(this).getNumberDisplayFormatConfiguration() /** * The options that determine the percentage display format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericformatconfiguration.html#cfn-quicksight-dashboard-numericformatconfiguration-percentagedisplayformatconfiguration) */ override fun percentageDisplayFormatConfiguration(): Any? = unwrap(this).getPercentageDisplayFormatConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NumericFormatConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericFormatConfigurationProperty): NumericFormatConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? NumericFormatConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NumericFormatConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericFormatConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NumericFormatConfigurationProperty } } /** * A `NumericRangeFilter` filters values that are within the value range. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NumericRangeFilterProperty numericRangeFilterProperty = NumericRangeFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .filterId("filterId") * .nullOption("nullOption") * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() * .controlOptions(DefaultFilterControlOptionsProperty.builder() * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build()) * .title("title") * .build()) * .includeMaximum(false) * .includeMinimum(false) * .rangeMaximum(NumericRangeFilterValueProperty.builder() * .parameter("parameter") * .staticValue(123) * .build()) * .rangeMinimum(NumericRangeFilterValueProperty.builder() * .parameter("parameter") * .staticValue(123) * .build()) * .selectAllOptions("selectAllOptions") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html) */ public interface NumericRangeFilterProperty { /** * The aggregation function of the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-aggregationfunction) */ public fun aggregationFunction(): Any? = unwrap(this).getAggregationFunction() /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-column) */ public fun column(): Any /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-defaultfiltercontrolconfiguration) */ public fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-filterid) */ public fun filterId(): String /** * Determines whether the maximum value in the filter value range should be included in the * filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-includemaximum) */ public fun includeMaximum(): Any? = unwrap(this).getIncludeMaximum() /** * Determines whether the minimum value in the filter value range should be included in the * filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-includeminimum) */ public fun includeMinimum(): Any? = unwrap(this).getIncludeMinimum() /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-nulloption) */ public fun nullOption(): String /** * The maximum value for the filter value range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-rangemaximum) */ public fun rangeMaximum(): Any? = unwrap(this).getRangeMaximum() /** * The minimum value for the filter value range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-rangeminimum) */ public fun rangeMinimum(): Any? = unwrap(this).getRangeMinimum() /** * Select all of the values. Null is not the assigned value of select all. * * * `FILTER_ALL_VALUES` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-selectalloptions) */ public fun selectAllOptions(): String? = unwrap(this).getSelectAllOptions() /** * A builder for [NumericRangeFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param aggregationFunction The aggregation function of the filter. */ public fun aggregationFunction(aggregationFunction: IResolvable) /** * @param aggregationFunction The aggregation function of the filter. */ public fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) /** * @param aggregationFunction The aggregation function of the filter. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a0e16d35b51f14b8cfd019ada4eb7927d380a19db552ea18760619f33838be51") public fun aggregationFunction(aggregationFunction: AggregationFunctionProperty.Builder.() -> Unit) /** * @param column The column that the filter is applied to. */ public fun column(column: IResolvable) /** * @param column The column that the filter is applied to. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f4599398e81418585d5f5f7ed90a9c466f065330161787d9fdf10b38a7023a3c") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dc1bf9efe4eacab9b14501b39d945d30e42ea248498bf998ae6f4269cc26bbb1") public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ public fun filterId(filterId: String) /** * @param includeMaximum Determines whether the maximum value in the filter value range should * be included in the filtered results. */ public fun includeMaximum(includeMaximum: Boolean) /** * @param includeMaximum Determines whether the maximum value in the filter value range should * be included in the filtered results. */ public fun includeMaximum(includeMaximum: IResolvable) /** * @param includeMinimum Determines whether the minimum value in the filter value range should * be included in the filtered results. */ public fun includeMinimum(includeMinimum: Boolean) /** * @param includeMinimum Determines whether the minimum value in the filter value range should * be included in the filtered results. */ public fun includeMinimum(includeMinimum: IResolvable) /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ public fun nullOption(nullOption: String) /** * @param rangeMaximum The maximum value for the filter value range. */ public fun rangeMaximum(rangeMaximum: IResolvable) /** * @param rangeMaximum The maximum value for the filter value range. */ public fun rangeMaximum(rangeMaximum: NumericRangeFilterValueProperty) /** * @param rangeMaximum The maximum value for the filter value range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d00ad8a9567aaee6e2c1e7f8ed8294e5cab3dc22d994d56e325c081ef27cefd3") public fun rangeMaximum(rangeMaximum: NumericRangeFilterValueProperty.Builder.() -> Unit) /** * @param rangeMinimum The minimum value for the filter value range. */ public fun rangeMinimum(rangeMinimum: IResolvable) /** * @param rangeMinimum The minimum value for the filter value range. */ public fun rangeMinimum(rangeMinimum: NumericRangeFilterValueProperty) /** * @param rangeMinimum The minimum value for the filter value range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ba4f20cea25cf7dfc322e46b109d842b66a9d1ef8cb7d4a18d0acb36342a5728") public fun rangeMinimum(rangeMinimum: NumericRangeFilterValueProperty.Builder.() -> Unit) /** * @param selectAllOptions Select all of the values. Null is not the assigned value of select * all. * * `FILTER_ALL_VALUES` */ public fun selectAllOptions(selectAllOptions: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterProperty.builder() /** * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: IResolvable) { cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the filter. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a0e16d35b51f14b8cfd019ada4eb7927d380a19db552ea18760619f33838be51") override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty.Builder.() -> Unit): Unit = aggregationFunction(AggregationFunctionProperty(aggregationFunction)) /** * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f4599398e81418585d5f5f7ed90a9c466f065330161787d9fdf10b38a7023a3c") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dc1bf9efe4eacab9b14501b39d945d30e42ea248498bf998ae6f4269cc26bbb1") override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): Unit = defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ override fun filterId(filterId: String) { cdkBuilder.filterId(filterId) } /** * @param includeMaximum Determines whether the maximum value in the filter value range should * be included in the filtered results. */ override fun includeMaximum(includeMaximum: Boolean) { cdkBuilder.includeMaximum(includeMaximum) } /** * @param includeMaximum Determines whether the maximum value in the filter value range should * be included in the filtered results. */ override fun includeMaximum(includeMaximum: IResolvable) { cdkBuilder.includeMaximum(includeMaximum.let(IResolvable.Companion::unwrap)) } /** * @param includeMinimum Determines whether the minimum value in the filter value range should * be included in the filtered results. */ override fun includeMinimum(includeMinimum: Boolean) { cdkBuilder.includeMinimum(includeMinimum) } /** * @param includeMinimum Determines whether the minimum value in the filter value range should * be included in the filtered results. */ override fun includeMinimum(includeMinimum: IResolvable) { cdkBuilder.includeMinimum(includeMinimum.let(IResolvable.Companion::unwrap)) } /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ override fun nullOption(nullOption: String) { cdkBuilder.nullOption(nullOption) } /** * @param rangeMaximum The maximum value for the filter value range. */ override fun rangeMaximum(rangeMaximum: IResolvable) { cdkBuilder.rangeMaximum(rangeMaximum.let(IResolvable.Companion::unwrap)) } /** * @param rangeMaximum The maximum value for the filter value range. */ override fun rangeMaximum(rangeMaximum: NumericRangeFilterValueProperty) { cdkBuilder.rangeMaximum(rangeMaximum.let(NumericRangeFilterValueProperty.Companion::unwrap)) } /** * @param rangeMaximum The maximum value for the filter value range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d00ad8a9567aaee6e2c1e7f8ed8294e5cab3dc22d994d56e325c081ef27cefd3") override fun rangeMaximum(rangeMaximum: NumericRangeFilterValueProperty.Builder.() -> Unit): Unit = rangeMaximum(NumericRangeFilterValueProperty(rangeMaximum)) /** * @param rangeMinimum The minimum value for the filter value range. */ override fun rangeMinimum(rangeMinimum: IResolvable) { cdkBuilder.rangeMinimum(rangeMinimum.let(IResolvable.Companion::unwrap)) } /** * @param rangeMinimum The minimum value for the filter value range. */ override fun rangeMinimum(rangeMinimum: NumericRangeFilterValueProperty) { cdkBuilder.rangeMinimum(rangeMinimum.let(NumericRangeFilterValueProperty.Companion::unwrap)) } /** * @param rangeMinimum The minimum value for the filter value range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ba4f20cea25cf7dfc322e46b109d842b66a9d1ef8cb7d4a18d0acb36342a5728") override fun rangeMinimum(rangeMinimum: NumericRangeFilterValueProperty.Builder.() -> Unit): Unit = rangeMinimum(NumericRangeFilterValueProperty(rangeMinimum)) /** * @param selectAllOptions Select all of the values. Null is not the assigned value of select * all. * * `FILTER_ALL_VALUES` */ override fun selectAllOptions(selectAllOptions: String) { cdkBuilder.selectAllOptions(selectAllOptions) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterProperty, ) : CdkObject(cdkObject), NumericRangeFilterProperty { /** * The aggregation function of the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-aggregationfunction) */ override fun aggregationFunction(): Any? = unwrap(this).getAggregationFunction() /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-defaultfiltercontrolconfiguration) */ override fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-filterid) */ override fun filterId(): String = unwrap(this).getFilterId() /** * Determines whether the maximum value in the filter value range should be included in the * filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-includemaximum) */ override fun includeMaximum(): Any? = unwrap(this).getIncludeMaximum() /** * Determines whether the minimum value in the filter value range should be included in the * filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-includeminimum) */ override fun includeMinimum(): Any? = unwrap(this).getIncludeMinimum() /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-nulloption) */ override fun nullOption(): String = unwrap(this).getNullOption() /** * The maximum value for the filter value range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-rangemaximum) */ override fun rangeMaximum(): Any? = unwrap(this).getRangeMaximum() /** * The minimum value for the filter value range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-rangeminimum) */ override fun rangeMinimum(): Any? = unwrap(this).getRangeMinimum() /** * Select all of the values. Null is not the assigned value of select all. * * * `FILTER_ALL_VALUES` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-selectalloptions) */ override fun selectAllOptions(): String? = unwrap(this).getSelectAllOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NumericRangeFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterProperty): NumericRangeFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? NumericRangeFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NumericRangeFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterProperty } } /** * The value input pf the numeric range filter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NumericRangeFilterValueProperty numericRangeFilterValueProperty = * NumericRangeFilterValueProperty.builder() * .parameter("parameter") * .staticValue(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefiltervalue.html) */ public interface NumericRangeFilterValueProperty { /** * The parameter that is used in the numeric range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefiltervalue.html#cfn-quicksight-dashboard-numericrangefiltervalue-parameter) */ public fun parameter(): String? = unwrap(this).getParameter() /** * The static value of the numeric range filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefiltervalue.html#cfn-quicksight-dashboard-numericrangefiltervalue-staticvalue) */ public fun staticValue(): Number? = unwrap(this).getStaticValue() /** * A builder for [NumericRangeFilterValueProperty] */ @CdkDslMarker public interface Builder { /** * @param parameter The parameter that is used in the numeric range. */ public fun parameter(parameter: String) /** * @param staticValue The static value of the numeric range filter. */ public fun staticValue(staticValue: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterValueProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterValueProperty.builder() /** * @param parameter The parameter that is used in the numeric range. */ override fun parameter(parameter: String) { cdkBuilder.parameter(parameter) } /** * @param staticValue The static value of the numeric range filter. */ override fun staticValue(staticValue: Number) { cdkBuilder.staticValue(staticValue) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterValueProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterValueProperty, ) : CdkObject(cdkObject), NumericRangeFilterValueProperty { /** * The parameter that is used in the numeric range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefiltervalue.html#cfn-quicksight-dashboard-numericrangefiltervalue-parameter) */ override fun parameter(): String? = unwrap(this).getParameter() /** * The static value of the numeric range filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefiltervalue.html#cfn-quicksight-dashboard-numericrangefiltervalue-staticvalue) */ override fun staticValue(): Number? = unwrap(this).getStaticValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NumericRangeFilterValueProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterValueProperty): NumericRangeFilterValueProperty = CdkObjectWrappers.wrap(cdkObject) as? NumericRangeFilterValueProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NumericRangeFilterValueProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterValueProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NumericRangeFilterValueProperty } } /** * The options that determine the numeric separator configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NumericSeparatorConfigurationProperty numericSeparatorConfigurationProperty = * NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericseparatorconfiguration.html) */ public interface NumericSeparatorConfigurationProperty { /** * Determines the decimal separator. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericseparatorconfiguration.html#cfn-quicksight-dashboard-numericseparatorconfiguration-decimalseparator) */ public fun decimalSeparator(): String? = unwrap(this).getDecimalSeparator() /** * The options that determine the thousands separator configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericseparatorconfiguration.html#cfn-quicksight-dashboard-numericseparatorconfiguration-thousandsseparator) */ public fun thousandsSeparator(): Any? = unwrap(this).getThousandsSeparator() /** * A builder for [NumericSeparatorConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param decimalSeparator Determines the decimal separator. */ public fun decimalSeparator(decimalSeparator: String) /** * @param thousandsSeparator The options that determine the thousands separator configuration. */ public fun thousandsSeparator(thousandsSeparator: IResolvable) /** * @param thousandsSeparator The options that determine the thousands separator configuration. */ public fun thousandsSeparator(thousandsSeparator: ThousandSeparatorOptionsProperty) /** * @param thousandsSeparator The options that determine the thousands separator configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dec64355fa91b52614dddde2ec5d8dae1114b02459b2a82d1fac5c002ac7c552") public fun thousandsSeparator(thousandsSeparator: ThousandSeparatorOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericSeparatorConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NumericSeparatorConfigurationProperty.builder() /** * @param decimalSeparator Determines the decimal separator. */ override fun decimalSeparator(decimalSeparator: String) { cdkBuilder.decimalSeparator(decimalSeparator) } /** * @param thousandsSeparator The options that determine the thousands separator configuration. */ override fun thousandsSeparator(thousandsSeparator: IResolvable) { cdkBuilder.thousandsSeparator(thousandsSeparator.let(IResolvable.Companion::unwrap)) } /** * @param thousandsSeparator The options that determine the thousands separator configuration. */ override fun thousandsSeparator(thousandsSeparator: ThousandSeparatorOptionsProperty) { cdkBuilder.thousandsSeparator(thousandsSeparator.let(ThousandSeparatorOptionsProperty.Companion::unwrap)) } /** * @param thousandsSeparator The options that determine the thousands separator configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dec64355fa91b52614dddde2ec5d8dae1114b02459b2a82d1fac5c002ac7c552") override fun thousandsSeparator(thousandsSeparator: ThousandSeparatorOptionsProperty.Builder.() -> Unit): Unit = thousandsSeparator(ThousandSeparatorOptionsProperty(thousandsSeparator)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericSeparatorConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericSeparatorConfigurationProperty, ) : CdkObject(cdkObject), NumericSeparatorConfigurationProperty { /** * Determines the decimal separator. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericseparatorconfiguration.html#cfn-quicksight-dashboard-numericseparatorconfiguration-decimalseparator) */ override fun decimalSeparator(): String? = unwrap(this).getDecimalSeparator() /** * The options that determine the thousands separator configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericseparatorconfiguration.html#cfn-quicksight-dashboard-numericseparatorconfiguration-thousandsseparator) */ override fun thousandsSeparator(): Any? = unwrap(this).getThousandsSeparator() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NumericSeparatorConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericSeparatorConfigurationProperty): NumericSeparatorConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? NumericSeparatorConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NumericSeparatorConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericSeparatorConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NumericSeparatorConfigurationProperty } } /** * Aggregation for numerical values. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NumericalAggregationFunctionProperty numericalAggregationFunctionProperty = * NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalaggregationfunction.html) */ public interface NumericalAggregationFunctionProperty { /** * An aggregation based on the percentile of values in a dimension or measure. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalaggregationfunction.html#cfn-quicksight-dashboard-numericalaggregationfunction-percentileaggregation) */ public fun percentileAggregation(): Any? = unwrap(this).getPercentileAggregation() /** * Built-in aggregation functions for numerical values. * * * `SUM` : The sum of a dimension or measure. * * `AVERAGE` : The average of a dimension or measure. * * `MIN` : The minimum value of a dimension or measure. * * `MAX` : The maximum value of a dimension or measure. * * `COUNT` : The count of a dimension or measure. * * `DISTINCT_COUNT` : The count of distinct values in a dimension or measure. * * `VAR` : The variance of a dimension or measure. * * `VARP` : The partitioned variance of a dimension or measure. * * `STDEV` : The standard deviation of a dimension or measure. * * `STDEVP` : The partitioned standard deviation of a dimension or measure. * * `MEDIAN` : The median value of a dimension or measure. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalaggregationfunction.html#cfn-quicksight-dashboard-numericalaggregationfunction-simplenumericalaggregation) */ public fun simpleNumericalAggregation(): String? = unwrap(this).getSimpleNumericalAggregation() /** * A builder for [NumericalAggregationFunctionProperty] */ @CdkDslMarker public interface Builder { /** * @param percentileAggregation An aggregation based on the percentile of values in a * dimension or measure. */ public fun percentileAggregation(percentileAggregation: IResolvable) /** * @param percentileAggregation An aggregation based on the percentile of values in a * dimension or measure. */ public fun percentileAggregation(percentileAggregation: PercentileAggregationProperty) /** * @param percentileAggregation An aggregation based on the percentile of values in a * dimension or measure. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ae288e647806c2f6dafd754ce147df03aa1a05b0b6eea3570df3baa3c1c2c574") public fun percentileAggregation(percentileAggregation: PercentileAggregationProperty.Builder.() -> Unit) /** * @param simpleNumericalAggregation Built-in aggregation functions for numerical values. * * `SUM` : The sum of a dimension or measure. * * `AVERAGE` : The average of a dimension or measure. * * `MIN` : The minimum value of a dimension or measure. * * `MAX` : The maximum value of a dimension or measure. * * `COUNT` : The count of a dimension or measure. * * `DISTINCT_COUNT` : The count of distinct values in a dimension or measure. * * `VAR` : The variance of a dimension or measure. * * `VARP` : The partitioned variance of a dimension or measure. * * `STDEV` : The standard deviation of a dimension or measure. * * `STDEVP` : The partitioned standard deviation of a dimension or measure. * * `MEDIAN` : The median value of a dimension or measure. */ public fun simpleNumericalAggregation(simpleNumericalAggregation: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalAggregationFunctionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalAggregationFunctionProperty.builder() /** * @param percentileAggregation An aggregation based on the percentile of values in a * dimension or measure. */ override fun percentileAggregation(percentileAggregation: IResolvable) { cdkBuilder.percentileAggregation(percentileAggregation.let(IResolvable.Companion::unwrap)) } /** * @param percentileAggregation An aggregation based on the percentile of values in a * dimension or measure. */ override fun percentileAggregation(percentileAggregation: PercentileAggregationProperty) { cdkBuilder.percentileAggregation(percentileAggregation.let(PercentileAggregationProperty.Companion::unwrap)) } /** * @param percentileAggregation An aggregation based on the percentile of values in a * dimension or measure. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ae288e647806c2f6dafd754ce147df03aa1a05b0b6eea3570df3baa3c1c2c574") override fun percentileAggregation(percentileAggregation: PercentileAggregationProperty.Builder.() -> Unit): Unit = percentileAggregation(PercentileAggregationProperty(percentileAggregation)) /** * @param simpleNumericalAggregation Built-in aggregation functions for numerical values. * * `SUM` : The sum of a dimension or measure. * * `AVERAGE` : The average of a dimension or measure. * * `MIN` : The minimum value of a dimension or measure. * * `MAX` : The maximum value of a dimension or measure. * * `COUNT` : The count of a dimension or measure. * * `DISTINCT_COUNT` : The count of distinct values in a dimension or measure. * * `VAR` : The variance of a dimension or measure. * * `VARP` : The partitioned variance of a dimension or measure. * * `STDEV` : The standard deviation of a dimension or measure. * * `STDEVP` : The partitioned standard deviation of a dimension or measure. * * `MEDIAN` : The median value of a dimension or measure. */ override fun simpleNumericalAggregation(simpleNumericalAggregation: String) { cdkBuilder.simpleNumericalAggregation(simpleNumericalAggregation) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalAggregationFunctionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalAggregationFunctionProperty, ) : CdkObject(cdkObject), NumericalAggregationFunctionProperty { /** * An aggregation based on the percentile of values in a dimension or measure. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalaggregationfunction.html#cfn-quicksight-dashboard-numericalaggregationfunction-percentileaggregation) */ override fun percentileAggregation(): Any? = unwrap(this).getPercentileAggregation() /** * Built-in aggregation functions for numerical values. * * * `SUM` : The sum of a dimension or measure. * * `AVERAGE` : The average of a dimension or measure. * * `MIN` : The minimum value of a dimension or measure. * * `MAX` : The maximum value of a dimension or measure. * * `COUNT` : The count of a dimension or measure. * * `DISTINCT_COUNT` : The count of distinct values in a dimension or measure. * * `VAR` : The variance of a dimension or measure. * * `VARP` : The partitioned variance of a dimension or measure. * * `STDEV` : The standard deviation of a dimension or measure. * * `STDEVP` : The partitioned standard deviation of a dimension or measure. * * `MEDIAN` : The median value of a dimension or measure. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalaggregationfunction.html#cfn-quicksight-dashboard-numericalaggregationfunction-simplenumericalaggregation) */ override fun simpleNumericalAggregation(): String? = unwrap(this).getSimpleNumericalAggregation() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NumericalAggregationFunctionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalAggregationFunctionProperty): NumericalAggregationFunctionProperty = CdkObjectWrappers.wrap(cdkObject) as? NumericalAggregationFunctionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NumericalAggregationFunctionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalAggregationFunctionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalAggregationFunctionProperty } } /** * The dimension type field with numerical type columns. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NumericalDimensionFieldProperty numericalDimensionFieldProperty = * NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaldimensionfield.html) */ public interface NumericalDimensionFieldProperty { /** * The column that is used in the `NumericalDimensionField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaldimensionfield.html#cfn-quicksight-dashboard-numericaldimensionfield-column) */ public fun column(): Any /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaldimensionfield.html#cfn-quicksight-dashboard-numericaldimensionfield-fieldid) */ public fun fieldId(): String /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaldimensionfield.html#cfn-quicksight-dashboard-numericaldimensionfield-formatconfiguration) */ public fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * The custom hierarchy ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaldimensionfield.html#cfn-quicksight-dashboard-numericaldimensionfield-hierarchyid) */ public fun hierarchyId(): String? = unwrap(this).getHierarchyId() /** * A builder for [NumericalDimensionFieldProperty] */ @CdkDslMarker public interface Builder { /** * @param column The column that is used in the `NumericalDimensionField` . */ public fun column(column: IResolvable) /** * @param column The column that is used in the `NumericalDimensionField` . */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that is used in the `NumericalDimensionField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7538dd9ebd0091ec704fc24e463e43c830cd8cb6b6c7062436f345d4c1183802") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param fieldId The custom field ID. */ public fun fieldId(fieldId: String) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: IResolvable) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty) /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("08949aa7ee91f98bb2bae093f7ac7197f91577bf96eb2f18b2c737c3729c2d2f") public fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty.Builder.() -> Unit) /** * @param hierarchyId The custom hierarchy ID. */ public fun hierarchyId(hierarchyId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalDimensionFieldProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalDimensionFieldProperty.builder() /** * @param column The column that is used in the `NumericalDimensionField` . */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `NumericalDimensionField` . */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that is used in the `NumericalDimensionField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7538dd9ebd0091ec704fc24e463e43c830cd8cb6b6c7062436f345d4c1183802") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param fieldId The custom field ID. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty) { cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("08949aa7ee91f98bb2bae093f7ac7197f91577bf96eb2f18b2c737c3729c2d2f") override fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty.Builder.() -> Unit): Unit = formatConfiguration(NumberFormatConfigurationProperty(formatConfiguration)) /** * @param hierarchyId The custom hierarchy ID. */ override fun hierarchyId(hierarchyId: String) { cdkBuilder.hierarchyId(hierarchyId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalDimensionFieldProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalDimensionFieldProperty, ) : CdkObject(cdkObject), NumericalDimensionFieldProperty { /** * The column that is used in the `NumericalDimensionField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaldimensionfield.html#cfn-quicksight-dashboard-numericaldimensionfield-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaldimensionfield.html#cfn-quicksight-dashboard-numericaldimensionfield-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaldimensionfield.html#cfn-quicksight-dashboard-numericaldimensionfield-formatconfiguration) */ override fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * The custom hierarchy ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericaldimensionfield.html#cfn-quicksight-dashboard-numericaldimensionfield-hierarchyid) */ override fun hierarchyId(): String? = unwrap(this).getHierarchyId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NumericalDimensionFieldProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalDimensionFieldProperty): NumericalDimensionFieldProperty = CdkObjectWrappers.wrap(cdkObject) as? NumericalDimensionFieldProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NumericalDimensionFieldProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalDimensionFieldProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalDimensionFieldProperty } } /** * The measure type field with numerical type columns. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * NumericalMeasureFieldProperty numericalMeasureFieldProperty = * NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalmeasurefield.html) */ public interface NumericalMeasureFieldProperty { /** * The aggregation function of the measure field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalmeasurefield.html#cfn-quicksight-dashboard-numericalmeasurefield-aggregationfunction) */ public fun aggregationFunction(): Any? = unwrap(this).getAggregationFunction() /** * The column that is used in the `NumericalMeasureField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalmeasurefield.html#cfn-quicksight-dashboard-numericalmeasurefield-column) */ public fun column(): Any /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalmeasurefield.html#cfn-quicksight-dashboard-numericalmeasurefield-fieldid) */ public fun fieldId(): String /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalmeasurefield.html#cfn-quicksight-dashboard-numericalmeasurefield-formatconfiguration) */ public fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * A builder for [NumericalMeasureFieldProperty] */ @CdkDslMarker public interface Builder { /** * @param aggregationFunction The aggregation function of the measure field. */ public fun aggregationFunction(aggregationFunction: IResolvable) /** * @param aggregationFunction The aggregation function of the measure field. */ public fun aggregationFunction(aggregationFunction: NumericalAggregationFunctionProperty) /** * @param aggregationFunction The aggregation function of the measure field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("88b4ebf96ed0d9e75daddc3fc07dc4b07df1eabf262d12b57ec4981a65ce05a0") public fun aggregationFunction(aggregationFunction: NumericalAggregationFunctionProperty.Builder.() -> Unit) /** * @param column The column that is used in the `NumericalMeasureField` . */ public fun column(column: IResolvable) /** * @param column The column that is used in the `NumericalMeasureField` . */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that is used in the `NumericalMeasureField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7c9860a4b2cdc22600bde76349b60ca8addd6ad5aa3b72aa6cf346c2dca1c3d8") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param fieldId The custom field ID. */ public fun fieldId(fieldId: String) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: IResolvable) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty) /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c02ad64c7fdfba05db9c8c3d9c247e31ea075ce0bb39290fbd785b6fae1134ae") public fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalMeasureFieldProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalMeasureFieldProperty.builder() /** * @param aggregationFunction The aggregation function of the measure field. */ override fun aggregationFunction(aggregationFunction: IResolvable) { cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the measure field. */ override fun aggregationFunction(aggregationFunction: NumericalAggregationFunctionProperty) { cdkBuilder.aggregationFunction(aggregationFunction.let(NumericalAggregationFunctionProperty.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the measure field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("88b4ebf96ed0d9e75daddc3fc07dc4b07df1eabf262d12b57ec4981a65ce05a0") override fun aggregationFunction(aggregationFunction: NumericalAggregationFunctionProperty.Builder.() -> Unit): Unit = aggregationFunction(NumericalAggregationFunctionProperty(aggregationFunction)) /** * @param column The column that is used in the `NumericalMeasureField` . */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `NumericalMeasureField` . */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that is used in the `NumericalMeasureField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7c9860a4b2cdc22600bde76349b60ca8addd6ad5aa3b72aa6cf346c2dca1c3d8") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param fieldId The custom field ID. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty) { cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c02ad64c7fdfba05db9c8c3d9c247e31ea075ce0bb39290fbd785b6fae1134ae") override fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty.Builder.() -> Unit): Unit = formatConfiguration(NumberFormatConfigurationProperty(formatConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalMeasureFieldProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalMeasureFieldProperty, ) : CdkObject(cdkObject), NumericalMeasureFieldProperty { /** * The aggregation function of the measure field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalmeasurefield.html#cfn-quicksight-dashboard-numericalmeasurefield-aggregationfunction) */ override fun aggregationFunction(): Any? = unwrap(this).getAggregationFunction() /** * The column that is used in the `NumericalMeasureField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalmeasurefield.html#cfn-quicksight-dashboard-numericalmeasurefield-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalmeasurefield.html#cfn-quicksight-dashboard-numericalmeasurefield-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericalmeasurefield.html#cfn-quicksight-dashboard-numericalmeasurefield-formatconfiguration) */ override fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): NumericalMeasureFieldProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalMeasureFieldProperty): NumericalMeasureFieldProperty = CdkObjectWrappers.wrap(cdkObject) as? NumericalMeasureFieldProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: NumericalMeasureFieldProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalMeasureFieldProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalMeasureFieldProperty } } /** * The pagination configuration for a table visual or boxplot. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PaginationConfigurationProperty paginationConfigurationProperty = * PaginationConfigurationProperty.builder() * .pageNumber(123) * .pageSize(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-paginationconfiguration.html) */ public interface PaginationConfigurationProperty { /** * Indicates the page number. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-paginationconfiguration.html#cfn-quicksight-dashboard-paginationconfiguration-pagenumber) */ public fun pageNumber(): Number /** * Indicates how many items render in one page. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-paginationconfiguration.html#cfn-quicksight-dashboard-paginationconfiguration-pagesize) */ public fun pageSize(): Number /** * A builder for [PaginationConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param pageNumber Indicates the page number. */ public fun pageNumber(pageNumber: Number) /** * @param pageSize Indicates how many items render in one page. */ public fun pageSize(pageSize: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PaginationConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PaginationConfigurationProperty.builder() /** * @param pageNumber Indicates the page number. */ override fun pageNumber(pageNumber: Number) { cdkBuilder.pageNumber(pageNumber) } /** * @param pageSize Indicates how many items render in one page. */ override fun pageSize(pageSize: Number) { cdkBuilder.pageSize(pageSize) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PaginationConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PaginationConfigurationProperty, ) : CdkObject(cdkObject), PaginationConfigurationProperty { /** * Indicates the page number. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-paginationconfiguration.html#cfn-quicksight-dashboard-paginationconfiguration-pagenumber) */ override fun pageNumber(): Number = unwrap(this).getPageNumber() /** * Indicates how many items render in one page. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-paginationconfiguration.html#cfn-quicksight-dashboard-paginationconfiguration-pagesize) */ override fun pageSize(): Number = unwrap(this).getPageSize() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PaginationConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PaginationConfigurationProperty): PaginationConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? PaginationConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PaginationConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PaginationConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PaginationConfigurationProperty } } /** * A collection of options that configure how each panel displays in a small multiples chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PanelConfigurationProperty panelConfigurationProperty = PanelConfigurationProperty.builder() * .backgroundColor("backgroundColor") * .backgroundVisibility("backgroundVisibility") * .borderColor("borderColor") * .borderStyle("borderStyle") * .borderThickness("borderThickness") * .borderVisibility("borderVisibility") * .gutterSpacing("gutterSpacing") * .gutterVisibility("gutterVisibility") * .title(PanelTitleOptionsProperty.builder() * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .horizontalTextAlignment("horizontalTextAlignment") * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html) */ public interface PanelConfigurationProperty { /** * Sets the background color for each panel. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-backgroundcolor) */ public fun backgroundColor(): String? = unwrap(this).getBackgroundColor() /** * Determines whether or not a background for each small multiples panel is rendered. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-backgroundvisibility) */ public fun backgroundVisibility(): String? = unwrap(this).getBackgroundVisibility() /** * Sets the line color of panel borders. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-bordercolor) */ public fun borderColor(): String? = unwrap(this).getBorderColor() /** * Sets the line style of panel borders. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-borderstyle) */ public fun borderStyle(): String? = unwrap(this).getBorderStyle() /** * Sets the line thickness of panel borders. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-borderthickness) */ public fun borderThickness(): String? = unwrap(this).getBorderThickness() /** * Determines whether or not each panel displays a border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-bordervisibility) */ public fun borderVisibility(): String? = unwrap(this).getBorderVisibility() /** * Sets the total amount of negative space to display between sibling panels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-gutterspacing) */ public fun gutterSpacing(): String? = unwrap(this).getGutterSpacing() /** * Determines whether or not negative space between sibling panels is rendered. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-guttervisibility) */ public fun gutterVisibility(): String? = unwrap(this).getGutterVisibility() /** * Configures the title display within each small multiples panel. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * A builder for [PanelConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param backgroundColor Sets the background color for each panel. */ public fun backgroundColor(backgroundColor: String) /** * @param backgroundVisibility Determines whether or not a background for each small multiples * panel is rendered. */ public fun backgroundVisibility(backgroundVisibility: String) /** * @param borderColor Sets the line color of panel borders. */ public fun borderColor(borderColor: String) /** * @param borderStyle Sets the line style of panel borders. */ public fun borderStyle(borderStyle: String) /** * @param borderThickness Sets the line thickness of panel borders. */ public fun borderThickness(borderThickness: String) /** * @param borderVisibility Determines whether or not each panel displays a border. */ public fun borderVisibility(borderVisibility: String) /** * @param gutterSpacing Sets the total amount of negative space to display between sibling * panels. */ public fun gutterSpacing(gutterSpacing: String) /** * @param gutterVisibility Determines whether or not negative space between sibling panels is * rendered. */ public fun gutterVisibility(gutterVisibility: String) /** * @param title Configures the title display within each small multiples panel. */ public fun title(title: IResolvable) /** * @param title Configures the title display within each small multiples panel. */ public fun title(title: PanelTitleOptionsProperty) /** * @param title Configures the title display within each small multiples panel. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ba1c9cdf0af396d7a299b38ec3cf088b3403e6d800606b65c29943f16ca93684") public fun title(title: PanelTitleOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PanelConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PanelConfigurationProperty.builder() /** * @param backgroundColor Sets the background color for each panel. */ override fun backgroundColor(backgroundColor: String) { cdkBuilder.backgroundColor(backgroundColor) } /** * @param backgroundVisibility Determines whether or not a background for each small multiples * panel is rendered. */ override fun backgroundVisibility(backgroundVisibility: String) { cdkBuilder.backgroundVisibility(backgroundVisibility) } /** * @param borderColor Sets the line color of panel borders. */ override fun borderColor(borderColor: String) { cdkBuilder.borderColor(borderColor) } /** * @param borderStyle Sets the line style of panel borders. */ override fun borderStyle(borderStyle: String) { cdkBuilder.borderStyle(borderStyle) } /** * @param borderThickness Sets the line thickness of panel borders. */ override fun borderThickness(borderThickness: String) { cdkBuilder.borderThickness(borderThickness) } /** * @param borderVisibility Determines whether or not each panel displays a border. */ override fun borderVisibility(borderVisibility: String) { cdkBuilder.borderVisibility(borderVisibility) } /** * @param gutterSpacing Sets the total amount of negative space to display between sibling * panels. */ override fun gutterSpacing(gutterSpacing: String) { cdkBuilder.gutterSpacing(gutterSpacing) } /** * @param gutterVisibility Determines whether or not negative space between sibling panels is * rendered. */ override fun gutterVisibility(gutterVisibility: String) { cdkBuilder.gutterVisibility(gutterVisibility) } /** * @param title Configures the title display within each small multiples panel. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title Configures the title display within each small multiples panel. */ override fun title(title: PanelTitleOptionsProperty) { cdkBuilder.title(title.let(PanelTitleOptionsProperty.Companion::unwrap)) } /** * @param title Configures the title display within each small multiples panel. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ba1c9cdf0af396d7a299b38ec3cf088b3403e6d800606b65c29943f16ca93684") override fun title(title: PanelTitleOptionsProperty.Builder.() -> Unit): Unit = title(PanelTitleOptionsProperty(title)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PanelConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PanelConfigurationProperty, ) : CdkObject(cdkObject), PanelConfigurationProperty { /** * Sets the background color for each panel. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-backgroundcolor) */ override fun backgroundColor(): String? = unwrap(this).getBackgroundColor() /** * Determines whether or not a background for each small multiples panel is rendered. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-backgroundvisibility) */ override fun backgroundVisibility(): String? = unwrap(this).getBackgroundVisibility() /** * Sets the line color of panel borders. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-bordercolor) */ override fun borderColor(): String? = unwrap(this).getBorderColor() /** * Sets the line style of panel borders. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-borderstyle) */ override fun borderStyle(): String? = unwrap(this).getBorderStyle() /** * Sets the line thickness of panel borders. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-borderthickness) */ override fun borderThickness(): String? = unwrap(this).getBorderThickness() /** * Determines whether or not each panel displays a border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-bordervisibility) */ override fun borderVisibility(): String? = unwrap(this).getBorderVisibility() /** * Sets the total amount of negative space to display between sibling panels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-gutterspacing) */ override fun gutterSpacing(): String? = unwrap(this).getGutterSpacing() /** * Determines whether or not negative space between sibling panels is rendered. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-guttervisibility) */ override fun gutterVisibility(): String? = unwrap(this).getGutterVisibility() /** * Configures the title display within each small multiples panel. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-panelconfiguration.html#cfn-quicksight-dashboard-panelconfiguration-title) */ override fun title(): Any? = unwrap(this).getTitle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PanelConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PanelConfigurationProperty): PanelConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? PanelConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PanelConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PanelConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PanelConfigurationProperty } } /** * The options that determine the title styles for each small multiples panel. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PanelTitleOptionsProperty panelTitleOptionsProperty = PanelTitleOptionsProperty.builder() * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .horizontalTextAlignment("horizontalTextAlignment") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-paneltitleoptions.html) */ public interface PanelTitleOptionsProperty { /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-paneltitleoptions.html#cfn-quicksight-dashboard-paneltitleoptions-fontconfiguration) */ public fun fontConfiguration(): Any? = unwrap(this).getFontConfiguration() /** * Sets the horizontal text alignment of the title within each panel. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-paneltitleoptions.html#cfn-quicksight-dashboard-paneltitleoptions-horizontaltextalignment) */ public fun horizontalTextAlignment(): String? = unwrap(this).getHorizontalTextAlignment() /** * Determines whether or not panel titles are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-paneltitleoptions.html#cfn-quicksight-dashboard-paneltitleoptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [PanelTitleOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param fontConfiguration the value to be set. */ public fun fontConfiguration(fontConfiguration: IResolvable) /** * @param fontConfiguration the value to be set. */ public fun fontConfiguration(fontConfiguration: FontConfigurationProperty) /** * @param fontConfiguration the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("16c8766c420dcf549463d8860b371a417acf5e63888088254aa314e23c63a98d") public fun fontConfiguration(fontConfiguration: FontConfigurationProperty.Builder.() -> Unit) /** * @param horizontalTextAlignment Sets the horizontal text alignment of the title within each * panel. */ public fun horizontalTextAlignment(horizontalTextAlignment: String) /** * @param visibility Determines whether or not panel titles are displayed. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PanelTitleOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PanelTitleOptionsProperty.builder() /** * @param fontConfiguration the value to be set. */ override fun fontConfiguration(fontConfiguration: IResolvable) { cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration the value to be set. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** * @param fontConfiguration the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("16c8766c420dcf549463d8860b371a417acf5e63888088254aa314e23c63a98d") override fun fontConfiguration(fontConfiguration: FontConfigurationProperty.Builder.() -> Unit): Unit = fontConfiguration(FontConfigurationProperty(fontConfiguration)) /** * @param horizontalTextAlignment Sets the horizontal text alignment of the title within each * panel. */ override fun horizontalTextAlignment(horizontalTextAlignment: String) { cdkBuilder.horizontalTextAlignment(horizontalTextAlignment) } /** * @param visibility Determines whether or not panel titles are displayed. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PanelTitleOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PanelTitleOptionsProperty, ) : CdkObject(cdkObject), PanelTitleOptionsProperty { /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-paneltitleoptions.html#cfn-quicksight-dashboard-paneltitleoptions-fontconfiguration) */ override fun fontConfiguration(): Any? = unwrap(this).getFontConfiguration() /** * Sets the horizontal text alignment of the title within each panel. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-paneltitleoptions.html#cfn-quicksight-dashboard-paneltitleoptions-horizontaltextalignment) */ override fun horizontalTextAlignment(): String? = unwrap(this).getHorizontalTextAlignment() /** * Determines whether or not panel titles are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-paneltitleoptions.html#cfn-quicksight-dashboard-paneltitleoptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PanelTitleOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PanelTitleOptionsProperty): PanelTitleOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? PanelTitleOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PanelTitleOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PanelTitleOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PanelTitleOptionsProperty } } /** * The control of a parameter that users can interact with in a dashboard or an analysis. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ParameterControlProperty parameterControlProperty = ParameterControlProperty.builder() * .dateTimePicker(ParameterDateTimePickerControlProperty.builder() * .parameterControlId("parameterControlId") * .sourceParameterName("sourceParameterName") * .title("title") * // the properties below are optional * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .dropdown(ParameterDropDownControlProperty.builder() * .parameterControlId("parameterControlId") * .sourceParameterName("sourceParameterName") * .title("title") * // the properties below are optional * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() * .sourceControls(List.of(CascadingControlSourceProperty.builder() * .columnToMatch(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceSheetControlId("sourceSheetControlId") * .build())) * .build()) * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(ParameterSelectableValuesProperty.builder() * .linkToDataSetColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .values(List.of("values")) * .build()) * .type("type") * .build()) * .list(ParameterListControlProperty.builder() * .parameterControlId("parameterControlId") * .sourceParameterName("sourceParameterName") * .title("title") * // the properties below are optional * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() * .sourceControls(List.of(CascadingControlSourceProperty.builder() * .columnToMatch(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceSheetControlId("sourceSheetControlId") * .build())) * .build()) * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(ParameterSelectableValuesProperty.builder() * .linkToDataSetColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .values(List.of("values")) * .build()) * .type("type") * .build()) * .slider(ParameterSliderControlProperty.builder() * .maximumValue(123) * .minimumValue(123) * .parameterControlId("parameterControlId") * .sourceParameterName("sourceParameterName") * .stepSize(123) * .title("title") * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .textArea(ParameterTextAreaControlProperty.builder() * .parameterControlId("parameterControlId") * .sourceParameterName("sourceParameterName") * .title("title") * // the properties below are optional * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .textField(ParameterTextFieldControlProperty.builder() * .parameterControlId("parameterControlId") * .sourceParameterName("sourceParameterName") * .title("title") * // the properties below are optional * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html) */ public interface ParameterControlProperty { /** * A control from a date parameter that specifies date and time. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html#cfn-quicksight-dashboard-parametercontrol-datetimepicker) */ public fun dateTimePicker(): Any? = unwrap(this).getDateTimePicker() /** * A control to display a dropdown list with buttons that are used to select a single value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html#cfn-quicksight-dashboard-parametercontrol-dropdown) */ public fun dropdown(): Any? = unwrap(this).getDropdown() /** * A control to display a list with buttons or boxes that are used to select either a single * value or multiple values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html#cfn-quicksight-dashboard-parametercontrol-list) */ public fun list(): Any? = unwrap(this).getList() /** * A control to display a horizontal toggle bar. * * This is used to change a value by sliding the toggle. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html#cfn-quicksight-dashboard-parametercontrol-slider) */ public fun slider(): Any? = unwrap(this).getSlider() /** * A control to display a text box that is used to enter multiple entries. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html#cfn-quicksight-dashboard-parametercontrol-textarea) */ public fun textArea(): Any? = unwrap(this).getTextArea() /** * A control to display a text box that is used to enter a single entry. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html#cfn-quicksight-dashboard-parametercontrol-textfield) */ public fun textField(): Any? = unwrap(this).getTextField() /** * A builder for [ParameterControlProperty] */ @CdkDslMarker public interface Builder { /** * @param dateTimePicker A control from a date parameter that specifies date and time. */ public fun dateTimePicker(dateTimePicker: IResolvable) /** * @param dateTimePicker A control from a date parameter that specifies date and time. */ public fun dateTimePicker(dateTimePicker: ParameterDateTimePickerControlProperty) /** * @param dateTimePicker A control from a date parameter that specifies date and time. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("08057ef69c8e910b153bc813ac49f0106d0844066fdaf3a431ccb95406aef872") public fun dateTimePicker(dateTimePicker: ParameterDateTimePickerControlProperty.Builder.() -> Unit) /** * @param dropdown A control to display a dropdown list with buttons that are used to select a * single value. */ public fun dropdown(dropdown: IResolvable) /** * @param dropdown A control to display a dropdown list with buttons that are used to select a * single value. */ public fun dropdown(dropdown: ParameterDropDownControlProperty) /** * @param dropdown A control to display a dropdown list with buttons that are used to select a * single value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3bd664c217d8bb3e229ff98a2f400680e187274acce05d10e57fd09bcfe2f61a") public fun dropdown(dropdown: ParameterDropDownControlProperty.Builder.() -> Unit) /** * @param list A control to display a list with buttons or boxes that are used to select * either a single value or multiple values. */ public fun list(list: IResolvable) /** * @param list A control to display a list with buttons or boxes that are used to select * either a single value or multiple values. */ public fun list(list: ParameterListControlProperty) /** * @param list A control to display a list with buttons or boxes that are used to select * either a single value or multiple values. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("44aa6d1b16f55aa47b05abd9e5877350ccbc24541339d424b0b9253c3734f5b6") public fun list(list: ParameterListControlProperty.Builder.() -> Unit) /** * @param slider A control to display a horizontal toggle bar. * This is used to change a value by sliding the toggle. */ public fun slider(slider: IResolvable) /** * @param slider A control to display a horizontal toggle bar. * This is used to change a value by sliding the toggle. */ public fun slider(slider: ParameterSliderControlProperty) /** * @param slider A control to display a horizontal toggle bar. * This is used to change a value by sliding the toggle. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a5e9164a97cf4f1b20a54e50c3d39bd55259775297aa1641fa731eb716189413") public fun slider(slider: ParameterSliderControlProperty.Builder.() -> Unit) /** * @param textArea A control to display a text box that is used to enter multiple entries. */ public fun textArea(textArea: IResolvable) /** * @param textArea A control to display a text box that is used to enter multiple entries. */ public fun textArea(textArea: ParameterTextAreaControlProperty) /** * @param textArea A control to display a text box that is used to enter multiple entries. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d975cf4b7c92a13aa094a18f9c7a2afe9375dedb0b06f01e00268ffa51771520") public fun textArea(textArea: ParameterTextAreaControlProperty.Builder.() -> Unit) /** * @param textField A control to display a text box that is used to enter a single entry. */ public fun textField(textField: IResolvable) /** * @param textField A control to display a text box that is used to enter a single entry. */ public fun textField(textField: ParameterTextFieldControlProperty) /** * @param textField A control to display a text box that is used to enter a single entry. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5d4f18fe55bf73d5d2579deb36c21af5fd0a72beac3aaaf3576a15ea3bd2716e") public fun textField(textField: ParameterTextFieldControlProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterControlProperty.builder() /** * @param dateTimePicker A control from a date parameter that specifies date and time. */ override fun dateTimePicker(dateTimePicker: IResolvable) { cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable.Companion::unwrap)) } /** * @param dateTimePicker A control from a date parameter that specifies date and time. */ override fun dateTimePicker(dateTimePicker: ParameterDateTimePickerControlProperty) { cdkBuilder.dateTimePicker(dateTimePicker.let(ParameterDateTimePickerControlProperty.Companion::unwrap)) } /** * @param dateTimePicker A control from a date parameter that specifies date and time. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("08057ef69c8e910b153bc813ac49f0106d0844066fdaf3a431ccb95406aef872") override fun dateTimePicker(dateTimePicker: ParameterDateTimePickerControlProperty.Builder.() -> Unit): Unit = dateTimePicker(ParameterDateTimePickerControlProperty(dateTimePicker)) /** * @param dropdown A control to display a dropdown list with buttons that are used to select a * single value. */ override fun dropdown(dropdown: IResolvable) { cdkBuilder.dropdown(dropdown.let(IResolvable.Companion::unwrap)) } /** * @param dropdown A control to display a dropdown list with buttons that are used to select a * single value. */ override fun dropdown(dropdown: ParameterDropDownControlProperty) { cdkBuilder.dropdown(dropdown.let(ParameterDropDownControlProperty.Companion::unwrap)) } /** * @param dropdown A control to display a dropdown list with buttons that are used to select a * single value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3bd664c217d8bb3e229ff98a2f400680e187274acce05d10e57fd09bcfe2f61a") override fun dropdown(dropdown: ParameterDropDownControlProperty.Builder.() -> Unit): Unit = dropdown(ParameterDropDownControlProperty(dropdown)) /** * @param list A control to display a list with buttons or boxes that are used to select * either a single value or multiple values. */ override fun list(list: IResolvable) { cdkBuilder.list(list.let(IResolvable.Companion::unwrap)) } /** * @param list A control to display a list with buttons or boxes that are used to select * either a single value or multiple values. */ override fun list(list: ParameterListControlProperty) { cdkBuilder.list(list.let(ParameterListControlProperty.Companion::unwrap)) } /** * @param list A control to display a list with buttons or boxes that are used to select * either a single value or multiple values. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("44aa6d1b16f55aa47b05abd9e5877350ccbc24541339d424b0b9253c3734f5b6") override fun list(list: ParameterListControlProperty.Builder.() -> Unit): Unit = list(ParameterListControlProperty(list)) /** * @param slider A control to display a horizontal toggle bar. * This is used to change a value by sliding the toggle. */ override fun slider(slider: IResolvable) { cdkBuilder.slider(slider.let(IResolvable.Companion::unwrap)) } /** * @param slider A control to display a horizontal toggle bar. * This is used to change a value by sliding the toggle. */ override fun slider(slider: ParameterSliderControlProperty) { cdkBuilder.slider(slider.let(ParameterSliderControlProperty.Companion::unwrap)) } /** * @param slider A control to display a horizontal toggle bar. * This is used to change a value by sliding the toggle. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a5e9164a97cf4f1b20a54e50c3d39bd55259775297aa1641fa731eb716189413") override fun slider(slider: ParameterSliderControlProperty.Builder.() -> Unit): Unit = slider(ParameterSliderControlProperty(slider)) /** * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: IResolvable) { cdkBuilder.textArea(textArea.let(IResolvable.Companion::unwrap)) } /** * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: ParameterTextAreaControlProperty) { cdkBuilder.textArea(textArea.let(ParameterTextAreaControlProperty.Companion::unwrap)) } /** * @param textArea A control to display a text box that is used to enter multiple entries. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d975cf4b7c92a13aa094a18f9c7a2afe9375dedb0b06f01e00268ffa51771520") override fun textArea(textArea: ParameterTextAreaControlProperty.Builder.() -> Unit): Unit = textArea(ParameterTextAreaControlProperty(textArea)) /** * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: IResolvable) { cdkBuilder.textField(textField.let(IResolvable.Companion::unwrap)) } /** * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: ParameterTextFieldControlProperty) { cdkBuilder.textField(textField.let(ParameterTextFieldControlProperty.Companion::unwrap)) } /** * @param textField A control to display a text box that is used to enter a single entry. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5d4f18fe55bf73d5d2579deb36c21af5fd0a72beac3aaaf3576a15ea3bd2716e") override fun textField(textField: ParameterTextFieldControlProperty.Builder.() -> Unit): Unit = textField(ParameterTextFieldControlProperty(textField)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterControlProperty, ) : CdkObject(cdkObject), ParameterControlProperty { /** * A control from a date parameter that specifies date and time. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html#cfn-quicksight-dashboard-parametercontrol-datetimepicker) */ override fun dateTimePicker(): Any? = unwrap(this).getDateTimePicker() /** * A control to display a dropdown list with buttons that are used to select a single value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html#cfn-quicksight-dashboard-parametercontrol-dropdown) */ override fun dropdown(): Any? = unwrap(this).getDropdown() /** * A control to display a list with buttons or boxes that are used to select either a single * value or multiple values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html#cfn-quicksight-dashboard-parametercontrol-list) */ override fun list(): Any? = unwrap(this).getList() /** * A control to display a horizontal toggle bar. * * This is used to change a value by sliding the toggle. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html#cfn-quicksight-dashboard-parametercontrol-slider) */ override fun slider(): Any? = unwrap(this).getSlider() /** * A control to display a text box that is used to enter multiple entries. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html#cfn-quicksight-dashboard-parametercontrol-textarea) */ override fun textArea(): Any? = unwrap(this).getTextArea() /** * A control to display a text box that is used to enter a single entry. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametercontrol.html#cfn-quicksight-dashboard-parametercontrol-textfield) */ override fun textField(): Any? = unwrap(this).getTextField() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ParameterControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterControlProperty): ParameterControlProperty = CdkObjectWrappers.wrap(cdkObject) as? ParameterControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ParameterControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterControlProperty } } /** * A control from a date parameter that specifies date and time. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ParameterDateTimePickerControlProperty parameterDateTimePickerControlProperty = * ParameterDateTimePickerControlProperty.builder() * .parameterControlId("parameterControlId") * .sourceParameterName("sourceParameterName") * .title("title") * // the properties below are optional * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdatetimepickercontrol.html) */ public interface ParameterDateTimePickerControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdatetimepickercontrol.html#cfn-quicksight-dashboard-parameterdatetimepickercontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `ParameterDateTimePickerControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdatetimepickercontrol.html#cfn-quicksight-dashboard-parameterdatetimepickercontrol-parametercontrolid) */ public fun parameterControlId(): String /** * The name of the `ParameterDateTimePickerControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdatetimepickercontrol.html#cfn-quicksight-dashboard-parameterdatetimepickercontrol-sourceparametername) */ public fun sourceParameterName(): String /** * The title of the `ParameterDateTimePickerControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdatetimepickercontrol.html#cfn-quicksight-dashboard-parameterdatetimepickercontrol-title) */ public fun title(): String /** * A builder for [ParameterDateTimePickerControlProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("551f0ba033463d86496147ff54a702a58e319c9431d4ab8a38c123ad440f315f") public fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param parameterControlId The ID of the `ParameterDateTimePickerControl` . */ public fun parameterControlId(parameterControlId: String) /** * @param sourceParameterName The name of the `ParameterDateTimePickerControl` . */ public fun sourceParameterName(sourceParameterName: String) /** * @param title The title of the `ParameterDateTimePickerControl` . */ public fun title(title: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDateTimePickerControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDateTimePickerControlProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("551f0ba033463d86496147ff54a702a58e319c9431d4ab8a38c123ad440f315f") override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(DateTimePickerControlDisplayOptionsProperty(displayOptions)) /** * @param parameterControlId The ID of the `ParameterDateTimePickerControl` . */ override fun parameterControlId(parameterControlId: String) { cdkBuilder.parameterControlId(parameterControlId) } /** * @param sourceParameterName The name of the `ParameterDateTimePickerControl` . */ override fun sourceParameterName(sourceParameterName: String) { cdkBuilder.sourceParameterName(sourceParameterName) } /** * @param title The title of the `ParameterDateTimePickerControl` . */ override fun title(title: String) { cdkBuilder.title(title) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDateTimePickerControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDateTimePickerControlProperty, ) : CdkObject(cdkObject), ParameterDateTimePickerControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdatetimepickercontrol.html#cfn-quicksight-dashboard-parameterdatetimepickercontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `ParameterDateTimePickerControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdatetimepickercontrol.html#cfn-quicksight-dashboard-parameterdatetimepickercontrol-parametercontrolid) */ override fun parameterControlId(): String = unwrap(this).getParameterControlId() /** * The name of the `ParameterDateTimePickerControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdatetimepickercontrol.html#cfn-quicksight-dashboard-parameterdatetimepickercontrol-sourceparametername) */ override fun sourceParameterName(): String = unwrap(this).getSourceParameterName() /** * The title of the `ParameterDateTimePickerControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdatetimepickercontrol.html#cfn-quicksight-dashboard-parameterdatetimepickercontrol-title) */ override fun title(): String = unwrap(this).getTitle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ParameterDateTimePickerControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDateTimePickerControlProperty): ParameterDateTimePickerControlProperty = CdkObjectWrappers.wrap(cdkObject) as? ParameterDateTimePickerControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ParameterDateTimePickerControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDateTimePickerControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDateTimePickerControlProperty } } /** * The declaration definition of a parameter. * * For more information, see [Parameters in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in * the *Amazon QuickSight User Guide* . * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ParameterDeclarationProperty parameterDeclarationProperty = * ParameterDeclarationProperty.builder() * .dateTimeParameterDeclaration(DateTimeParameterDeclarationProperty.builder() * .name("name") * // the properties below are optional * .defaultValues(DateTimeDefaultValuesProperty.builder() * .dynamicValue(DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .rollingDate(RollingDateConfigurationProperty.builder() * .expression("expression") * // the properties below are optional * .dataSetIdentifier("dataSetIdentifier") * .build()) * .staticValues(List.of("staticValues")) * .build()) * .mappedDataSetParameters(List.of(MappedDataSetParameterProperty.builder() * .dataSetIdentifier("dataSetIdentifier") * .dataSetParameterName("dataSetParameterName") * .build())) * .timeGranularity("timeGranularity") * .valueWhenUnset(DateTimeValueWhenUnsetConfigurationProperty.builder() * .customValue("customValue") * .valueWhenUnsetOption("valueWhenUnsetOption") * .build()) * .build()) * .decimalParameterDeclaration(DecimalParameterDeclarationProperty.builder() * .name("name") * .parameterValueType("parameterValueType") * // the properties below are optional * .defaultValues(DecimalDefaultValuesProperty.builder() * .dynamicValue(DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .staticValues(List.of(123)) * .build()) * .mappedDataSetParameters(List.of(MappedDataSetParameterProperty.builder() * .dataSetIdentifier("dataSetIdentifier") * .dataSetParameterName("dataSetParameterName") * .build())) * .valueWhenUnset(DecimalValueWhenUnsetConfigurationProperty.builder() * .customValue(123) * .valueWhenUnsetOption("valueWhenUnsetOption") * .build()) * .build()) * .integerParameterDeclaration(IntegerParameterDeclarationProperty.builder() * .name("name") * .parameterValueType("parameterValueType") * // the properties below are optional * .defaultValues(IntegerDefaultValuesProperty.builder() * .dynamicValue(DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .staticValues(List.of(123)) * .build()) * .mappedDataSetParameters(List.of(MappedDataSetParameterProperty.builder() * .dataSetIdentifier("dataSetIdentifier") * .dataSetParameterName("dataSetParameterName") * .build())) * .valueWhenUnset(IntegerValueWhenUnsetConfigurationProperty.builder() * .customValue(123) * .valueWhenUnsetOption("valueWhenUnsetOption") * .build()) * .build()) * .stringParameterDeclaration(StringParameterDeclarationProperty.builder() * .name("name") * .parameterValueType("parameterValueType") * // the properties below are optional * .defaultValues(StringDefaultValuesProperty.builder() * .dynamicValue(DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .staticValues(List.of("staticValues")) * .build()) * .mappedDataSetParameters(List.of(MappedDataSetParameterProperty.builder() * .dataSetIdentifier("dataSetIdentifier") * .dataSetParameterName("dataSetParameterName") * .build())) * .valueWhenUnset(StringValueWhenUnsetConfigurationProperty.builder() * .customValue("customValue") * .valueWhenUnsetOption("valueWhenUnsetOption") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdeclaration.html) */ public interface ParameterDeclarationProperty { /** * A parameter declaration for the `DateTime` data type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdeclaration.html#cfn-quicksight-dashboard-parameterdeclaration-datetimeparameterdeclaration) */ public fun dateTimeParameterDeclaration(): Any? = unwrap(this).getDateTimeParameterDeclaration() /** * A parameter declaration for the `Decimal` data type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdeclaration.html#cfn-quicksight-dashboard-parameterdeclaration-decimalparameterdeclaration) */ public fun decimalParameterDeclaration(): Any? = unwrap(this).getDecimalParameterDeclaration() /** * A parameter declaration for the `Integer` data type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdeclaration.html#cfn-quicksight-dashboard-parameterdeclaration-integerparameterdeclaration) */ public fun integerParameterDeclaration(): Any? = unwrap(this).getIntegerParameterDeclaration() /** * A parameter declaration for the `String` data type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdeclaration.html#cfn-quicksight-dashboard-parameterdeclaration-stringparameterdeclaration) */ public fun stringParameterDeclaration(): Any? = unwrap(this).getStringParameterDeclaration() /** * A builder for [ParameterDeclarationProperty] */ @CdkDslMarker public interface Builder { /** * @param dateTimeParameterDeclaration A parameter declaration for the `DateTime` data type. */ public fun dateTimeParameterDeclaration(dateTimeParameterDeclaration: IResolvable) /** * @param dateTimeParameterDeclaration A parameter declaration for the `DateTime` data type. */ public fun dateTimeParameterDeclaration(dateTimeParameterDeclaration: DateTimeParameterDeclarationProperty) /** * @param dateTimeParameterDeclaration A parameter declaration for the `DateTime` data type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a8d79f98cff9bc7b364cb300f186562b326789140bf3efccf706a3a03fb5dc18") public fun dateTimeParameterDeclaration(dateTimeParameterDeclaration: DateTimeParameterDeclarationProperty.Builder.() -> Unit) /** * @param decimalParameterDeclaration A parameter declaration for the `Decimal` data type. */ public fun decimalParameterDeclaration(decimalParameterDeclaration: IResolvable) /** * @param decimalParameterDeclaration A parameter declaration for the `Decimal` data type. */ public fun decimalParameterDeclaration(decimalParameterDeclaration: DecimalParameterDeclarationProperty) /** * @param decimalParameterDeclaration A parameter declaration for the `Decimal` data type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("51c9f1ab811c8e9a9b131e208be82f66dbc61215df988b87ad1b19b09d6cedf8") public fun decimalParameterDeclaration(decimalParameterDeclaration: DecimalParameterDeclarationProperty.Builder.() -> Unit) /** * @param integerParameterDeclaration A parameter declaration for the `Integer` data type. */ public fun integerParameterDeclaration(integerParameterDeclaration: IResolvable) /** * @param integerParameterDeclaration A parameter declaration for the `Integer` data type. */ public fun integerParameterDeclaration(integerParameterDeclaration: IntegerParameterDeclarationProperty) /** * @param integerParameterDeclaration A parameter declaration for the `Integer` data type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f5c331323d0f9d93cd2145957502c6b484795fcd663d150bd859bab16ffdacd6") public fun integerParameterDeclaration(integerParameterDeclaration: IntegerParameterDeclarationProperty.Builder.() -> Unit) /** * @param stringParameterDeclaration A parameter declaration for the `String` data type. */ public fun stringParameterDeclaration(stringParameterDeclaration: IResolvable) /** * @param stringParameterDeclaration A parameter declaration for the `String` data type. */ public fun stringParameterDeclaration(stringParameterDeclaration: StringParameterDeclarationProperty) /** * @param stringParameterDeclaration A parameter declaration for the `String` data type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b1ce878cfcc36554fc067893dcb14d8c71784e24086abaa87a2bf6aa75017d80") public fun stringParameterDeclaration(stringParameterDeclaration: StringParameterDeclarationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDeclarationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDeclarationProperty.builder() /** * @param dateTimeParameterDeclaration A parameter declaration for the `DateTime` data type. */ override fun dateTimeParameterDeclaration(dateTimeParameterDeclaration: IResolvable) { cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** * @param dateTimeParameterDeclaration A parameter declaration for the `DateTime` data type. */ override fun dateTimeParameterDeclaration(dateTimeParameterDeclaration: DateTimeParameterDeclarationProperty) { cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(DateTimeParameterDeclarationProperty.Companion::unwrap)) } /** * @param dateTimeParameterDeclaration A parameter declaration for the `DateTime` data type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a8d79f98cff9bc7b364cb300f186562b326789140bf3efccf706a3a03fb5dc18") override fun dateTimeParameterDeclaration(dateTimeParameterDeclaration: DateTimeParameterDeclarationProperty.Builder.() -> Unit): Unit = dateTimeParameterDeclaration(DateTimeParameterDeclarationProperty(dateTimeParameterDeclaration)) /** * @param decimalParameterDeclaration A parameter declaration for the `Decimal` data type. */ override fun decimalParameterDeclaration(decimalParameterDeclaration: IResolvable) { cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** * @param decimalParameterDeclaration A parameter declaration for the `Decimal` data type. */ override fun decimalParameterDeclaration(decimalParameterDeclaration: DecimalParameterDeclarationProperty) { cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(DecimalParameterDeclarationProperty.Companion::unwrap)) } /** * @param decimalParameterDeclaration A parameter declaration for the `Decimal` data type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("51c9f1ab811c8e9a9b131e208be82f66dbc61215df988b87ad1b19b09d6cedf8") override fun decimalParameterDeclaration(decimalParameterDeclaration: DecimalParameterDeclarationProperty.Builder.() -> Unit): Unit = decimalParameterDeclaration(DecimalParameterDeclarationProperty(decimalParameterDeclaration)) /** * @param integerParameterDeclaration A parameter declaration for the `Integer` data type. */ override fun integerParameterDeclaration(integerParameterDeclaration: IResolvable) { cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** * @param integerParameterDeclaration A parameter declaration for the `Integer` data type. */ override fun integerParameterDeclaration(integerParameterDeclaration: IntegerParameterDeclarationProperty) { cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IntegerParameterDeclarationProperty.Companion::unwrap)) } /** * @param integerParameterDeclaration A parameter declaration for the `Integer` data type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f5c331323d0f9d93cd2145957502c6b484795fcd663d150bd859bab16ffdacd6") override fun integerParameterDeclaration(integerParameterDeclaration: IntegerParameterDeclarationProperty.Builder.() -> Unit): Unit = integerParameterDeclaration(IntegerParameterDeclarationProperty(integerParameterDeclaration)) /** * @param stringParameterDeclaration A parameter declaration for the `String` data type. */ override fun stringParameterDeclaration(stringParameterDeclaration: IResolvable) { cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** * @param stringParameterDeclaration A parameter declaration for the `String` data type. */ override fun stringParameterDeclaration(stringParameterDeclaration: StringParameterDeclarationProperty) { cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(StringParameterDeclarationProperty.Companion::unwrap)) } /** * @param stringParameterDeclaration A parameter declaration for the `String` data type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b1ce878cfcc36554fc067893dcb14d8c71784e24086abaa87a2bf6aa75017d80") override fun stringParameterDeclaration(stringParameterDeclaration: StringParameterDeclarationProperty.Builder.() -> Unit): Unit = stringParameterDeclaration(StringParameterDeclarationProperty(stringParameterDeclaration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDeclarationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDeclarationProperty, ) : CdkObject(cdkObject), ParameterDeclarationProperty { /** * A parameter declaration for the `DateTime` data type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdeclaration.html#cfn-quicksight-dashboard-parameterdeclaration-datetimeparameterdeclaration) */ override fun dateTimeParameterDeclaration(): Any? = unwrap(this).getDateTimeParameterDeclaration() /** * A parameter declaration for the `Decimal` data type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdeclaration.html#cfn-quicksight-dashboard-parameterdeclaration-decimalparameterdeclaration) */ override fun decimalParameterDeclaration(): Any? = unwrap(this).getDecimalParameterDeclaration() /** * A parameter declaration for the `Integer` data type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdeclaration.html#cfn-quicksight-dashboard-parameterdeclaration-integerparameterdeclaration) */ override fun integerParameterDeclaration(): Any? = unwrap(this).getIntegerParameterDeclaration() /** * A parameter declaration for the `String` data type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdeclaration.html#cfn-quicksight-dashboard-parameterdeclaration-stringparameterdeclaration) */ override fun stringParameterDeclaration(): Any? = unwrap(this).getStringParameterDeclaration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ParameterDeclarationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDeclarationProperty): ParameterDeclarationProperty = CdkObjectWrappers.wrap(cdkObject) as? ParameterDeclarationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ParameterDeclarationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDeclarationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDeclarationProperty } } /** * A control to display a dropdown list with buttons that are used to select a single value. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ParameterDropDownControlProperty parameterDropDownControlProperty = * ParameterDropDownControlProperty.builder() * .parameterControlId("parameterControlId") * .sourceParameterName("sourceParameterName") * .title("title") * // the properties below are optional * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() * .sourceControls(List.of(CascadingControlSourceProperty.builder() * .columnToMatch(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceSheetControlId("sourceSheetControlId") * .build())) * .build()) * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(ParameterSelectableValuesProperty.builder() * .linkToDataSetColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .values(List.of("values")) * .build()) * .type("type") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html) */ public interface ParameterDropDownControlProperty { /** * The values that are displayed in a control can be configured to only show values that are * valid based on what's selected in other controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-cascadingcontrolconfiguration) */ public fun cascadingControlConfiguration(): Any? = unwrap(this).getCascadingControlConfiguration() /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `ParameterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-parametercontrolid) */ public fun parameterControlId(): String /** * A list of selectable values that are used in a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-selectablevalues) */ public fun selectableValues(): Any? = unwrap(this).getSelectableValues() /** * The source parameter name of the `ParameterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-sourceparametername) */ public fun sourceParameterName(): String /** * The title of the `ParameterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-title) */ public fun title(): String /** * The type parameter name of the `ParameterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-type) */ public fun type(): String? = unwrap(this).getType() /** * A builder for [ParameterDropDownControlProperty] */ @CdkDslMarker public interface Builder { /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ public fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ public fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f9bb89f4c9949cd0c61660ad89a9635b236b4d81f71ef212cf639c8ecf1c76fa") public fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("027e7d12b823641c958e229d05ad1d9f0f41b7ac95976f84332b8fe291a3c685") public fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param parameterControlId The ID of the `ParameterDropDownControl` . */ public fun parameterControlId(parameterControlId: String) /** * @param selectableValues A list of selectable values that are used in a control. */ public fun selectableValues(selectableValues: IResolvable) /** * @param selectableValues A list of selectable values that are used in a control. */ public fun selectableValues(selectableValues: ParameterSelectableValuesProperty) /** * @param selectableValues A list of selectable values that are used in a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("357ed9a7e9e986900218462d892e660a142587ac054e12f366196386a179d052") public fun selectableValues(selectableValues: ParameterSelectableValuesProperty.Builder.() -> Unit) /** * @param sourceParameterName The source parameter name of the `ParameterDropDownControl` . */ public fun sourceParameterName(sourceParameterName: String) /** * @param title The title of the `ParameterDropDownControl` . */ public fun title(title: String) /** * @param type The type parameter name of the `ParameterDropDownControl` . */ public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDropDownControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDropDownControlProperty.builder() /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f9bb89f4c9949cd0c61660ad89a9635b236b4d81f71ef212cf639c8ecf1c76fa") override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit): Unit = cascadingControlConfiguration(CascadingControlConfigurationProperty(cascadingControlConfiguration)) /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("027e7d12b823641c958e229d05ad1d9f0f41b7ac95976f84332b8fe291a3c685") override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(DropDownControlDisplayOptionsProperty(displayOptions)) /** * @param parameterControlId The ID of the `ParameterDropDownControl` . */ override fun parameterControlId(parameterControlId: String) { cdkBuilder.parameterControlId(parameterControlId) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: ParameterSelectableValuesProperty) { cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("357ed9a7e9e986900218462d892e660a142587ac054e12f366196386a179d052") override fun selectableValues(selectableValues: ParameterSelectableValuesProperty.Builder.() -> Unit): Unit = selectableValues(ParameterSelectableValuesProperty(selectableValues)) /** * @param sourceParameterName The source parameter name of the `ParameterDropDownControl` . */ override fun sourceParameterName(sourceParameterName: String) { cdkBuilder.sourceParameterName(sourceParameterName) } /** * @param title The title of the `ParameterDropDownControl` . */ override fun title(title: String) { cdkBuilder.title(title) } /** * @param type The type parameter name of the `ParameterDropDownControl` . */ override fun type(type: String) { cdkBuilder.type(type) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDropDownControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDropDownControlProperty, ) : CdkObject(cdkObject), ParameterDropDownControlProperty { /** * The values that are displayed in a control can be configured to only show values that are * valid based on what's selected in other controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-cascadingcontrolconfiguration) */ override fun cascadingControlConfiguration(): Any? = unwrap(this).getCascadingControlConfiguration() /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `ParameterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-parametercontrolid) */ override fun parameterControlId(): String = unwrap(this).getParameterControlId() /** * A list of selectable values that are used in a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-selectablevalues) */ override fun selectableValues(): Any? = unwrap(this).getSelectableValues() /** * The source parameter name of the `ParameterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-sourceparametername) */ override fun sourceParameterName(): String = unwrap(this).getSourceParameterName() /** * The title of the `ParameterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-title) */ override fun title(): String = unwrap(this).getTitle() /** * The type parameter name of the `ParameterDropDownControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterdropdowncontrol.html#cfn-quicksight-dashboard-parameterdropdowncontrol-type) */ override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ParameterDropDownControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDropDownControlProperty): ParameterDropDownControlProperty = CdkObjectWrappers.wrap(cdkObject) as? ParameterDropDownControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ParameterDropDownControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDropDownControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterDropDownControlProperty } } /** * A control to display a list with buttons or boxes that are used to select either a single value * or multiple values. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ParameterListControlProperty parameterListControlProperty = * ParameterListControlProperty.builder() * .parameterControlId("parameterControlId") * .sourceParameterName("sourceParameterName") * .title("title") * // the properties below are optional * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() * .sourceControls(List.of(CascadingControlSourceProperty.builder() * .columnToMatch(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceSheetControlId("sourceSheetControlId") * .build())) * .build()) * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(ParameterSelectableValuesProperty.builder() * .linkToDataSetColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .values(List.of("values")) * .build()) * .type("type") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html) */ public interface ParameterListControlProperty { /** * The values that are displayed in a control can be configured to only show values that are * valid based on what's selected in other controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-cascadingcontrolconfiguration) */ public fun cascadingControlConfiguration(): Any? = unwrap(this).getCascadingControlConfiguration() /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `ParameterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-parametercontrolid) */ public fun parameterControlId(): String /** * A list of selectable values that are used in a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-selectablevalues) */ public fun selectableValues(): Any? = unwrap(this).getSelectableValues() /** * The source parameter name of the `ParameterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-sourceparametername) */ public fun sourceParameterName(): String /** * The title of the `ParameterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-title) */ public fun title(): String /** * The type of `ParameterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-type) */ public fun type(): String? = unwrap(this).getType() /** * A builder for [ParameterListControlProperty] */ @CdkDslMarker public interface Builder { /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ public fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ public fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("397f451128bf5fe4b07111980c0e8779be895070d0c104ed3eae5f70ce2a2364") public fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8d2fcc08aba3562453dd8881491918e367bc7cdb6a13c7843bd7d33833e73452") public fun displayOptions(displayOptions: ListControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param parameterControlId The ID of the `ParameterListControl` . */ public fun parameterControlId(parameterControlId: String) /** * @param selectableValues A list of selectable values that are used in a control. */ public fun selectableValues(selectableValues: IResolvable) /** * @param selectableValues A list of selectable values that are used in a control. */ public fun selectableValues(selectableValues: ParameterSelectableValuesProperty) /** * @param selectableValues A list of selectable values that are used in a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33bbbdb196c3477ecca6572b3f84b2473e4b8e49456a09058ed6f6be0309b5b8") public fun selectableValues(selectableValues: ParameterSelectableValuesProperty.Builder.() -> Unit) /** * @param sourceParameterName The source parameter name of the `ParameterListControl` . */ public fun sourceParameterName(sourceParameterName: String) /** * @param title The title of the `ParameterListControl` . */ public fun title(title: String) /** * @param type The type of `ParameterListControl` . */ public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterListControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterListControlProperty.builder() /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** * @param cascadingControlConfiguration The values that are displayed in a control can be * configured to only show values that are valid based on what's selected in other controls. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("397f451128bf5fe4b07111980c0e8779be895070d0c104ed3eae5f70ce2a2364") override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit): Unit = cascadingControlConfiguration(CascadingControlConfigurationProperty(cascadingControlConfiguration)) /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8d2fcc08aba3562453dd8881491918e367bc7cdb6a13c7843bd7d33833e73452") override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(ListControlDisplayOptionsProperty(displayOptions)) /** * @param parameterControlId The ID of the `ParameterListControl` . */ override fun parameterControlId(parameterControlId: String) { cdkBuilder.parameterControlId(parameterControlId) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: ParameterSelectableValuesProperty) { cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33bbbdb196c3477ecca6572b3f84b2473e4b8e49456a09058ed6f6be0309b5b8") override fun selectableValues(selectableValues: ParameterSelectableValuesProperty.Builder.() -> Unit): Unit = selectableValues(ParameterSelectableValuesProperty(selectableValues)) /** * @param sourceParameterName The source parameter name of the `ParameterListControl` . */ override fun sourceParameterName(sourceParameterName: String) { cdkBuilder.sourceParameterName(sourceParameterName) } /** * @param title The title of the `ParameterListControl` . */ override fun title(title: String) { cdkBuilder.title(title) } /** * @param type The type of `ParameterListControl` . */ override fun type(type: String) { cdkBuilder.type(type) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterListControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterListControlProperty, ) : CdkObject(cdkObject), ParameterListControlProperty { /** * The values that are displayed in a control can be configured to only show values that are * valid based on what's selected in other controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-cascadingcontrolconfiguration) */ override fun cascadingControlConfiguration(): Any? = unwrap(this).getCascadingControlConfiguration() /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `ParameterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-parametercontrolid) */ override fun parameterControlId(): String = unwrap(this).getParameterControlId() /** * A list of selectable values that are used in a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-selectablevalues) */ override fun selectableValues(): Any? = unwrap(this).getSelectableValues() /** * The source parameter name of the `ParameterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-sourceparametername) */ override fun sourceParameterName(): String = unwrap(this).getSourceParameterName() /** * The title of the `ParameterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-title) */ override fun title(): String = unwrap(this).getTitle() /** * The type of `ParameterListControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterlistcontrol.html#cfn-quicksight-dashboard-parameterlistcontrol-type) */ override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ParameterListControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterListControlProperty): ParameterListControlProperty = CdkObjectWrappers.wrap(cdkObject) as? ParameterListControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ParameterListControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterListControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterListControlProperty } } /** * A list of selectable values that are used in a control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ParameterSelectableValuesProperty parameterSelectableValuesProperty = * ParameterSelectableValuesProperty.builder() * .linkToDataSetColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .values(List.of("values")) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterselectablevalues.html) */ public interface ParameterSelectableValuesProperty { /** * The column identifier that fetches values from the data set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterselectablevalues.html#cfn-quicksight-dashboard-parameterselectablevalues-linktodatasetcolumn) */ public fun linkToDataSetColumn(): Any? = unwrap(this).getLinkToDataSetColumn() /** * The values that are used in `ParameterSelectableValues` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterselectablevalues.html#cfn-quicksight-dashboard-parameterselectablevalues-values) */ public fun values(): List = unwrap(this).getValues() ?: emptyList() /** * A builder for [ParameterSelectableValuesProperty] */ @CdkDslMarker public interface Builder { /** * @param linkToDataSetColumn The column identifier that fetches values from the data set. */ public fun linkToDataSetColumn(linkToDataSetColumn: IResolvable) /** * @param linkToDataSetColumn The column identifier that fetches values from the data set. */ public fun linkToDataSetColumn(linkToDataSetColumn: ColumnIdentifierProperty) /** * @param linkToDataSetColumn The column identifier that fetches values from the data set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("79ecab37b8a9e254a751807b6caaa600f6a6a1b01c5805d939b27918edf1a575") public fun linkToDataSetColumn(linkToDataSetColumn: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param values The values that are used in `ParameterSelectableValues` . */ public fun values(values: List) /** * @param values The values that are used in `ParameterSelectableValues` . */ public fun values(vararg values: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSelectableValuesProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSelectableValuesProperty.builder() /** * @param linkToDataSetColumn The column identifier that fetches values from the data set. */ override fun linkToDataSetColumn(linkToDataSetColumn: IResolvable) { cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(IResolvable.Companion::unwrap)) } /** * @param linkToDataSetColumn The column identifier that fetches values from the data set. */ override fun linkToDataSetColumn(linkToDataSetColumn: ColumnIdentifierProperty) { cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param linkToDataSetColumn The column identifier that fetches values from the data set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("79ecab37b8a9e254a751807b6caaa600f6a6a1b01c5805d939b27918edf1a575") override fun linkToDataSetColumn(linkToDataSetColumn: ColumnIdentifierProperty.Builder.() -> Unit): Unit = linkToDataSetColumn(ColumnIdentifierProperty(linkToDataSetColumn)) /** * @param values The values that are used in `ParameterSelectableValues` . */ override fun values(values: List) { cdkBuilder.values(values) } /** * @param values The values that are used in `ParameterSelectableValues` . */ override fun values(vararg values: String): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSelectableValuesProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSelectableValuesProperty, ) : CdkObject(cdkObject), ParameterSelectableValuesProperty { /** * The column identifier that fetches values from the data set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterselectablevalues.html#cfn-quicksight-dashboard-parameterselectablevalues-linktodatasetcolumn) */ override fun linkToDataSetColumn(): Any? = unwrap(this).getLinkToDataSetColumn() /** * The values that are used in `ParameterSelectableValues` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterselectablevalues.html#cfn-quicksight-dashboard-parameterselectablevalues-values) */ override fun values(): List = unwrap(this).getValues() ?: emptyList() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ParameterSelectableValuesProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSelectableValuesProperty): ParameterSelectableValuesProperty = CdkObjectWrappers.wrap(cdkObject) as? ParameterSelectableValuesProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ParameterSelectableValuesProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSelectableValuesProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSelectableValuesProperty } } /** * A control to display a horizontal toggle bar. * * This is used to change a value by sliding the toggle. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ParameterSliderControlProperty parameterSliderControlProperty = * ParameterSliderControlProperty.builder() * .maximumValue(123) * .minimumValue(123) * .parameterControlId("parameterControlId") * .sourceParameterName("sourceParameterName") * .stepSize(123) * .title("title") * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html) */ public interface ParameterSliderControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The larger value that is displayed at the right of the slider. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-maximumvalue) */ public fun maximumValue(): Number /** * The smaller value that is displayed at the left of the slider. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-minimumvalue) */ public fun minimumValue(): Number /** * The ID of the `ParameterSliderControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-parametercontrolid) */ public fun parameterControlId(): String /** * The source parameter name of the `ParameterSliderControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-sourceparametername) */ public fun sourceParameterName(): String /** * The number of increments that the slider bar is divided into. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-stepsize) */ public fun stepSize(): Number /** * The title of the `ParameterSliderControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-title) */ public fun title(): String /** * A builder for [ParameterSliderControlProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0f85da0297cc031757a0d40c1becba744246de8250acfdf9da035d2806a7858a") public fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param maximumValue The larger value that is displayed at the right of the slider. */ public fun maximumValue(maximumValue: Number) /** * @param minimumValue The smaller value that is displayed at the left of the slider. */ public fun minimumValue(minimumValue: Number) /** * @param parameterControlId The ID of the `ParameterSliderControl` . */ public fun parameterControlId(parameterControlId: String) /** * @param sourceParameterName The source parameter name of the `ParameterSliderControl` . */ public fun sourceParameterName(sourceParameterName: String) /** * @param stepSize The number of increments that the slider bar is divided into. */ public fun stepSize(stepSize: Number) /** * @param title The title of the `ParameterSliderControl` . */ public fun title(title: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSliderControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSliderControlProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0f85da0297cc031757a0d40c1becba744246de8250acfdf9da035d2806a7858a") override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(SliderControlDisplayOptionsProperty(displayOptions)) /** * @param maximumValue The larger value that is displayed at the right of the slider. */ override fun maximumValue(maximumValue: Number) { cdkBuilder.maximumValue(maximumValue) } /** * @param minimumValue The smaller value that is displayed at the left of the slider. */ override fun minimumValue(minimumValue: Number) { cdkBuilder.minimumValue(minimumValue) } /** * @param parameterControlId The ID of the `ParameterSliderControl` . */ override fun parameterControlId(parameterControlId: String) { cdkBuilder.parameterControlId(parameterControlId) } /** * @param sourceParameterName The source parameter name of the `ParameterSliderControl` . */ override fun sourceParameterName(sourceParameterName: String) { cdkBuilder.sourceParameterName(sourceParameterName) } /** * @param stepSize The number of increments that the slider bar is divided into. */ override fun stepSize(stepSize: Number) { cdkBuilder.stepSize(stepSize) } /** * @param title The title of the `ParameterSliderControl` . */ override fun title(title: String) { cdkBuilder.title(title) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSliderControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSliderControlProperty, ) : CdkObject(cdkObject), ParameterSliderControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The larger value that is displayed at the right of the slider. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-maximumvalue) */ override fun maximumValue(): Number = unwrap(this).getMaximumValue() /** * The smaller value that is displayed at the left of the slider. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-minimumvalue) */ override fun minimumValue(): Number = unwrap(this).getMinimumValue() /** * The ID of the `ParameterSliderControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-parametercontrolid) */ override fun parameterControlId(): String = unwrap(this).getParameterControlId() /** * The source parameter name of the `ParameterSliderControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-sourceparametername) */ override fun sourceParameterName(): String = unwrap(this).getSourceParameterName() /** * The number of increments that the slider bar is divided into. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-stepsize) */ override fun stepSize(): Number = unwrap(this).getStepSize() /** * The title of the `ParameterSliderControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameterslidercontrol.html#cfn-quicksight-dashboard-parameterslidercontrol-title) */ override fun title(): String = unwrap(this).getTitle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ParameterSliderControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSliderControlProperty): ParameterSliderControlProperty = CdkObjectWrappers.wrap(cdkObject) as? ParameterSliderControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ParameterSliderControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSliderControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterSliderControlProperty } } /** * A control to display a text box that is used to enter multiple entries. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ParameterTextAreaControlProperty parameterTextAreaControlProperty = * ParameterTextAreaControlProperty.builder() * .parameterControlId("parameterControlId") * .sourceParameterName("sourceParameterName") * .title("title") * // the properties below are optional * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextareacontrol.html) */ public interface ParameterTextAreaControlProperty { /** * The delimiter that is used to separate the lines in text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextareacontrol.html#cfn-quicksight-dashboard-parametertextareacontrol-delimiter) */ public fun delimiter(): String? = unwrap(this).getDelimiter() /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextareacontrol.html#cfn-quicksight-dashboard-parametertextareacontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `ParameterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextareacontrol.html#cfn-quicksight-dashboard-parametertextareacontrol-parametercontrolid) */ public fun parameterControlId(): String /** * The source parameter name of the `ParameterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextareacontrol.html#cfn-quicksight-dashboard-parametertextareacontrol-sourceparametername) */ public fun sourceParameterName(): String /** * The title of the `ParameterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextareacontrol.html#cfn-quicksight-dashboard-parametertextareacontrol-title) */ public fun title(): String /** * A builder for [ParameterTextAreaControlProperty] */ @CdkDslMarker public interface Builder { /** * @param delimiter The delimiter that is used to separate the lines in text. */ public fun delimiter(delimiter: String) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("584f18607cbd53b4f1051dd3fcac155be5c74e335172c72948c4be038bb557db") public fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param parameterControlId The ID of the `ParameterTextAreaControl` . */ public fun parameterControlId(parameterControlId: String) /** * @param sourceParameterName The source parameter name of the `ParameterTextAreaControl` . */ public fun sourceParameterName(sourceParameterName: String) /** * @param title The title of the `ParameterTextAreaControl` . */ public fun title(title: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextAreaControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextAreaControlProperty.builder() /** * @param delimiter The delimiter that is used to separate the lines in text. */ override fun delimiter(delimiter: String) { cdkBuilder.delimiter(delimiter) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("584f18607cbd53b4f1051dd3fcac155be5c74e335172c72948c4be038bb557db") override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(TextAreaControlDisplayOptionsProperty(displayOptions)) /** * @param parameterControlId The ID of the `ParameterTextAreaControl` . */ override fun parameterControlId(parameterControlId: String) { cdkBuilder.parameterControlId(parameterControlId) } /** * @param sourceParameterName The source parameter name of the `ParameterTextAreaControl` . */ override fun sourceParameterName(sourceParameterName: String) { cdkBuilder.sourceParameterName(sourceParameterName) } /** * @param title The title of the `ParameterTextAreaControl` . */ override fun title(title: String) { cdkBuilder.title(title) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextAreaControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextAreaControlProperty, ) : CdkObject(cdkObject), ParameterTextAreaControlProperty { /** * The delimiter that is used to separate the lines in text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextareacontrol.html#cfn-quicksight-dashboard-parametertextareacontrol-delimiter) */ override fun delimiter(): String? = unwrap(this).getDelimiter() /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextareacontrol.html#cfn-quicksight-dashboard-parametertextareacontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `ParameterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextareacontrol.html#cfn-quicksight-dashboard-parametertextareacontrol-parametercontrolid) */ override fun parameterControlId(): String = unwrap(this).getParameterControlId() /** * The source parameter name of the `ParameterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextareacontrol.html#cfn-quicksight-dashboard-parametertextareacontrol-sourceparametername) */ override fun sourceParameterName(): String = unwrap(this).getSourceParameterName() /** * The title of the `ParameterTextAreaControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextareacontrol.html#cfn-quicksight-dashboard-parametertextareacontrol-title) */ override fun title(): String = unwrap(this).getTitle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ParameterTextAreaControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextAreaControlProperty): ParameterTextAreaControlProperty = CdkObjectWrappers.wrap(cdkObject) as? ParameterTextAreaControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ParameterTextAreaControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextAreaControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextAreaControlProperty } } /** * A control to display a text box that is used to enter a single entry. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ParameterTextFieldControlProperty parameterTextFieldControlProperty = * ParameterTextFieldControlProperty.builder() * .parameterControlId("parameterControlId") * .sourceParameterName("sourceParameterName") * .title("title") * // the properties below are optional * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextfieldcontrol.html) */ public interface ParameterTextFieldControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextfieldcontrol.html#cfn-quicksight-dashboard-parametertextfieldcontrol-displayoptions) */ public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `ParameterTextFieldControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextfieldcontrol.html#cfn-quicksight-dashboard-parametertextfieldcontrol-parametercontrolid) */ public fun parameterControlId(): String /** * The source parameter name of the `ParameterTextFieldControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextfieldcontrol.html#cfn-quicksight-dashboard-parametertextfieldcontrol-sourceparametername) */ public fun sourceParameterName(): String /** * The title of the `ParameterTextFieldControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextfieldcontrol.html#cfn-quicksight-dashboard-parametertextfieldcontrol-title) */ public fun title(): String /** * A builder for [ParameterTextFieldControlProperty] */ @CdkDslMarker public interface Builder { /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: IResolvable) /** * @param displayOptions The display options of a control. */ public fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("08692930faeccb7d2c695cf8932434f68afd4fc9110f56278d3ca1296882c41c") public fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty.Builder.() -> Unit) /** * @param parameterControlId The ID of the `ParameterTextFieldControl` . */ public fun parameterControlId(parameterControlId: String) /** * @param sourceParameterName The source parameter name of the `ParameterTextFieldControl` . */ public fun sourceParameterName(sourceParameterName: String) /** * @param title The title of the `ParameterTextFieldControl` . */ public fun title(title: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextFieldControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextFieldControlProperty.builder() /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) { cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("08692930faeccb7d2c695cf8932434f68afd4fc9110f56278d3ca1296882c41c") override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty.Builder.() -> Unit): Unit = displayOptions(TextFieldControlDisplayOptionsProperty(displayOptions)) /** * @param parameterControlId The ID of the `ParameterTextFieldControl` . */ override fun parameterControlId(parameterControlId: String) { cdkBuilder.parameterControlId(parameterControlId) } /** * @param sourceParameterName The source parameter name of the `ParameterTextFieldControl` . */ override fun sourceParameterName(sourceParameterName: String) { cdkBuilder.sourceParameterName(sourceParameterName) } /** * @param title The title of the `ParameterTextFieldControl` . */ override fun title(title: String) { cdkBuilder.title(title) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextFieldControlProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextFieldControlProperty, ) : CdkObject(cdkObject), ParameterTextFieldControlProperty { /** * The display options of a control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextfieldcontrol.html#cfn-quicksight-dashboard-parametertextfieldcontrol-displayoptions) */ override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** * The ID of the `ParameterTextFieldControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextfieldcontrol.html#cfn-quicksight-dashboard-parametertextfieldcontrol-parametercontrolid) */ override fun parameterControlId(): String = unwrap(this).getParameterControlId() /** * The source parameter name of the `ParameterTextFieldControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextfieldcontrol.html#cfn-quicksight-dashboard-parametertextfieldcontrol-sourceparametername) */ override fun sourceParameterName(): String = unwrap(this).getSourceParameterName() /** * The title of the `ParameterTextFieldControl` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parametertextfieldcontrol.html#cfn-quicksight-dashboard-parametertextfieldcontrol-title) */ override fun title(): String = unwrap(this).getTitle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ParameterTextFieldControlProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextFieldControlProperty): ParameterTextFieldControlProperty = CdkObjectWrappers.wrap(cdkObject) as? ParameterTextFieldControlProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ParameterTextFieldControlProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextFieldControlProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterTextFieldControlProperty } } /** * A list of Amazon QuickSight parameters and the list's override values. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ParametersProperty parametersProperty = ParametersProperty.builder() * .dateTimeParameters(List.of(DateTimeParameterProperty.builder() * .name("name") * .values(List.of("values")) * .build())) * .decimalParameters(List.of(DecimalParameterProperty.builder() * .name("name") * .values(List.of(123)) * .build())) * .integerParameters(List.of(IntegerParameterProperty.builder() * .name("name") * .values(List.of(123)) * .build())) * .stringParameters(List.of(StringParameterProperty.builder() * .name("name") * .values(List.of("values")) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html) */ public interface ParametersProperty { /** * The parameters that have a data type of date-time. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html#cfn-quicksight-dashboard-parameters-datetimeparameters) */ public fun dateTimeParameters(): Any? = unwrap(this).getDateTimeParameters() /** * The parameters that have a data type of decimal. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html#cfn-quicksight-dashboard-parameters-decimalparameters) */ public fun decimalParameters(): Any? = unwrap(this).getDecimalParameters() /** * The parameters that have a data type of integer. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html#cfn-quicksight-dashboard-parameters-integerparameters) */ public fun integerParameters(): Any? = unwrap(this).getIntegerParameters() /** * The parameters that have a data type of string. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html#cfn-quicksight-dashboard-parameters-stringparameters) */ public fun stringParameters(): Any? = unwrap(this).getStringParameters() /** * A builder for [ParametersProperty] */ @CdkDslMarker public interface Builder { /** * @param dateTimeParameters The parameters that have a data type of date-time. */ public fun dateTimeParameters(dateTimeParameters: IResolvable) /** * @param dateTimeParameters The parameters that have a data type of date-time. */ public fun dateTimeParameters(dateTimeParameters: List) /** * @param dateTimeParameters The parameters that have a data type of date-time. */ public fun dateTimeParameters(vararg dateTimeParameters: Any) /** * @param decimalParameters The parameters that have a data type of decimal. */ public fun decimalParameters(decimalParameters: IResolvable) /** * @param decimalParameters The parameters that have a data type of decimal. */ public fun decimalParameters(decimalParameters: List) /** * @param decimalParameters The parameters that have a data type of decimal. */ public fun decimalParameters(vararg decimalParameters: Any) /** * @param integerParameters The parameters that have a data type of integer. */ public fun integerParameters(integerParameters: IResolvable) /** * @param integerParameters The parameters that have a data type of integer. */ public fun integerParameters(integerParameters: List) /** * @param integerParameters The parameters that have a data type of integer. */ public fun integerParameters(vararg integerParameters: Any) /** * @param stringParameters The parameters that have a data type of string. */ public fun stringParameters(stringParameters: IResolvable) /** * @param stringParameters The parameters that have a data type of string. */ public fun stringParameters(stringParameters: List) /** * @param stringParameters The parameters that have a data type of string. */ public fun stringParameters(vararg stringParameters: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ParametersProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ParametersProperty.builder() /** * @param dateTimeParameters The parameters that have a data type of date-time. */ override fun dateTimeParameters(dateTimeParameters: IResolvable) { cdkBuilder.dateTimeParameters(dateTimeParameters.let(IResolvable.Companion::unwrap)) } /** * @param dateTimeParameters The parameters that have a data type of date-time. */ override fun dateTimeParameters(dateTimeParameters: List) { cdkBuilder.dateTimeParameters(dateTimeParameters.map{CdkObjectWrappers.unwrap(it)}) } /** * @param dateTimeParameters The parameters that have a data type of date-time. */ override fun dateTimeParameters(vararg dateTimeParameters: Any): Unit = dateTimeParameters(dateTimeParameters.toList()) /** * @param decimalParameters The parameters that have a data type of decimal. */ override fun decimalParameters(decimalParameters: IResolvable) { cdkBuilder.decimalParameters(decimalParameters.let(IResolvable.Companion::unwrap)) } /** * @param decimalParameters The parameters that have a data type of decimal. */ override fun decimalParameters(decimalParameters: List) { cdkBuilder.decimalParameters(decimalParameters.map{CdkObjectWrappers.unwrap(it)}) } /** * @param decimalParameters The parameters that have a data type of decimal. */ override fun decimalParameters(vararg decimalParameters: Any): Unit = decimalParameters(decimalParameters.toList()) /** * @param integerParameters The parameters that have a data type of integer. */ override fun integerParameters(integerParameters: IResolvable) { cdkBuilder.integerParameters(integerParameters.let(IResolvable.Companion::unwrap)) } /** * @param integerParameters The parameters that have a data type of integer. */ override fun integerParameters(integerParameters: List) { cdkBuilder.integerParameters(integerParameters.map{CdkObjectWrappers.unwrap(it)}) } /** * @param integerParameters The parameters that have a data type of integer. */ override fun integerParameters(vararg integerParameters: Any): Unit = integerParameters(integerParameters.toList()) /** * @param stringParameters The parameters that have a data type of string. */ override fun stringParameters(stringParameters: IResolvable) { cdkBuilder.stringParameters(stringParameters.let(IResolvable.Companion::unwrap)) } /** * @param stringParameters The parameters that have a data type of string. */ override fun stringParameters(stringParameters: List) { cdkBuilder.stringParameters(stringParameters.map{CdkObjectWrappers.unwrap(it)}) } /** * @param stringParameters The parameters that have a data type of string. */ override fun stringParameters(vararg stringParameters: Any): Unit = stringParameters(stringParameters.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ParametersProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParametersProperty, ) : CdkObject(cdkObject), ParametersProperty { /** * The parameters that have a data type of date-time. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html#cfn-quicksight-dashboard-parameters-datetimeparameters) */ override fun dateTimeParameters(): Any? = unwrap(this).getDateTimeParameters() /** * The parameters that have a data type of decimal. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html#cfn-quicksight-dashboard-parameters-decimalparameters) */ override fun decimalParameters(): Any? = unwrap(this).getDecimalParameters() /** * The parameters that have a data type of integer. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html#cfn-quicksight-dashboard-parameters-integerparameters) */ override fun integerParameters(): Any? = unwrap(this).getIntegerParameters() /** * The parameters that have a data type of string. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html#cfn-quicksight-dashboard-parameters-stringparameters) */ override fun stringParameters(): Any? = unwrap(this).getStringParameters() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ParametersProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ParametersProperty): ParametersProperty = CdkObjectWrappers.wrap(cdkObject) as? ParametersProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ParametersProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ParametersProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ParametersProperty } } /** * The percent range in the visible range. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PercentVisibleRangeProperty percentVisibleRangeProperty = PercentVisibleRangeProperty.builder() * .from(123) * .to(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentvisiblerange.html) */ public interface PercentVisibleRangeProperty { /** * The lower bound of the range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentvisiblerange.html#cfn-quicksight-dashboard-percentvisiblerange-from) */ public fun from(): Number? = unwrap(this).getFrom() /** * The top bound of the range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentvisiblerange.html#cfn-quicksight-dashboard-percentvisiblerange-to) */ public fun to(): Number? = unwrap(this).getTo() /** * A builder for [PercentVisibleRangeProperty] */ @CdkDslMarker public interface Builder { /** * @param from The lower bound of the range. */ public fun from(from: Number) /** * @param to The top bound of the range. */ public fun to(to: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PercentVisibleRangeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PercentVisibleRangeProperty.builder() /** * @param from The lower bound of the range. */ override fun from(from: Number) { cdkBuilder.from(from) } /** * @param to The top bound of the range. */ override fun to(to: Number) { cdkBuilder.to(to) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PercentVisibleRangeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PercentVisibleRangeProperty, ) : CdkObject(cdkObject), PercentVisibleRangeProperty { /** * The lower bound of the range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentvisiblerange.html#cfn-quicksight-dashboard-percentvisiblerange-from) */ override fun from(): Number? = unwrap(this).getFrom() /** * The top bound of the range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentvisiblerange.html#cfn-quicksight-dashboard-percentvisiblerange-to) */ override fun to(): Number? = unwrap(this).getTo() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PercentVisibleRangeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PercentVisibleRangeProperty): PercentVisibleRangeProperty = CdkObjectWrappers.wrap(cdkObject) as? PercentVisibleRangeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PercentVisibleRangeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PercentVisibleRangeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PercentVisibleRangeProperty } } /** * The options that determine the percentage display format configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PercentageDisplayFormatConfigurationProperty percentageDisplayFormatConfigurationProperty = * PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html) */ public interface PercentageDisplayFormatConfigurationProperty { /** * The option that determines the decimal places configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html#cfn-quicksight-dashboard-percentagedisplayformatconfiguration-decimalplacesconfiguration) */ public fun decimalPlacesConfiguration(): Any? = unwrap(this).getDecimalPlacesConfiguration() /** * The options that determine the negative value configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html#cfn-quicksight-dashboard-percentagedisplayformatconfiguration-negativevalueconfiguration) */ public fun negativeValueConfiguration(): Any? = unwrap(this).getNegativeValueConfiguration() /** * The options that determine the null value format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html#cfn-quicksight-dashboard-percentagedisplayformatconfiguration-nullvalueformatconfiguration) */ public fun nullValueFormatConfiguration(): Any? = unwrap(this).getNullValueFormatConfiguration() /** * Determines the prefix value of the percentage format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html#cfn-quicksight-dashboard-percentagedisplayformatconfiguration-prefix) */ public fun prefix(): String? = unwrap(this).getPrefix() /** * The options that determine the numeric separator configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html#cfn-quicksight-dashboard-percentagedisplayformatconfiguration-separatorconfiguration) */ public fun separatorConfiguration(): Any? = unwrap(this).getSeparatorConfiguration() /** * Determines the suffix value of the percentage format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html#cfn-quicksight-dashboard-percentagedisplayformatconfiguration-suffix) */ public fun suffix(): String? = unwrap(this).getSuffix() /** * A builder for [PercentageDisplayFormatConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ public fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ public fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b499a0be9bd7547fbb462f27ae531b0c13ef61d156ef6e616ed5b0cb014cfcf8") public fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty.Builder.() -> Unit) /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ public fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ public fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("41bbe4ce942a183b90c97df413b941526af6585fdfd1315e76555c5d3b312355") public fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty.Builder.() -> Unit) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ public fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ public fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a2c41fa440371d5bd059fdafda8a5045fd06bc7e1d11ed5fb5b05464b9e59737") public fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty.Builder.() -> Unit) /** * @param prefix Determines the prefix value of the percentage format. */ public fun prefix(prefix: String) /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ public fun separatorConfiguration(separatorConfiguration: IResolvable) /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ public fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4f1433844f8939d2defdaca7b8b8958f5480221ec6c1b04c1f6c4cffde6ee246") public fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty.Builder.() -> Unit) /** * @param suffix Determines the suffix value of the percentage format. */ public fun suffix(suffix: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PercentageDisplayFormatConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PercentageDisplayFormatConfigurationProperty.builder() /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) { cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) { cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty.Companion::unwrap)) } /** * @param decimalPlacesConfiguration The option that determines the decimal places * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b499a0be9bd7547fbb462f27ae531b0c13ef61d156ef6e616ed5b0cb014cfcf8") override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty.Builder.() -> Unit): Unit = decimalPlacesConfiguration(DecimalPlacesConfigurationProperty(decimalPlacesConfiguration)) /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) { cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) { cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty.Companion::unwrap)) } /** * @param negativeValueConfiguration The options that determine the negative value * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("41bbe4ce942a183b90c97df413b941526af6585fdfd1315e76555c5d3b312355") override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty.Builder.() -> Unit): Unit = negativeValueConfiguration(NegativeValueConfigurationProperty(negativeValueConfiguration)) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a2c41fa440371d5bd059fdafda8a5045fd06bc7e1d11ed5fb5b05464b9e59737") override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty.Builder.() -> Unit): Unit = nullValueFormatConfiguration(NullValueFormatConfigurationProperty(nullValueFormatConfiguration)) /** * @param prefix Determines the prefix value of the percentage format. */ override fun prefix(prefix: String) { cdkBuilder.prefix(prefix) } /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ override fun separatorConfiguration(separatorConfiguration: IResolvable) { cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) { cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty.Companion::unwrap)) } /** * @param separatorConfiguration The options that determine the numeric separator * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4f1433844f8939d2defdaca7b8b8958f5480221ec6c1b04c1f6c4cffde6ee246") override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty.Builder.() -> Unit): Unit = separatorConfiguration(NumericSeparatorConfigurationProperty(separatorConfiguration)) /** * @param suffix Determines the suffix value of the percentage format. */ override fun suffix(suffix: String) { cdkBuilder.suffix(suffix) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PercentageDisplayFormatConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PercentageDisplayFormatConfigurationProperty, ) : CdkObject(cdkObject), PercentageDisplayFormatConfigurationProperty { /** * The option that determines the decimal places configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html#cfn-quicksight-dashboard-percentagedisplayformatconfiguration-decimalplacesconfiguration) */ override fun decimalPlacesConfiguration(): Any? = unwrap(this).getDecimalPlacesConfiguration() /** * The options that determine the negative value configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html#cfn-quicksight-dashboard-percentagedisplayformatconfiguration-negativevalueconfiguration) */ override fun negativeValueConfiguration(): Any? = unwrap(this).getNegativeValueConfiguration() /** * The options that determine the null value format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html#cfn-quicksight-dashboard-percentagedisplayformatconfiguration-nullvalueformatconfiguration) */ override fun nullValueFormatConfiguration(): Any? = unwrap(this).getNullValueFormatConfiguration() /** * Determines the prefix value of the percentage format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html#cfn-quicksight-dashboard-percentagedisplayformatconfiguration-prefix) */ override fun prefix(): String? = unwrap(this).getPrefix() /** * The options that determine the numeric separator configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html#cfn-quicksight-dashboard-percentagedisplayformatconfiguration-separatorconfiguration) */ override fun separatorConfiguration(): Any? = unwrap(this).getSeparatorConfiguration() /** * Determines the suffix value of the percentage format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentagedisplayformatconfiguration.html#cfn-quicksight-dashboard-percentagedisplayformatconfiguration-suffix) */ override fun suffix(): String? = unwrap(this).getSuffix() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PercentageDisplayFormatConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PercentageDisplayFormatConfigurationProperty): PercentageDisplayFormatConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? PercentageDisplayFormatConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PercentageDisplayFormatConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PercentageDisplayFormatConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PercentageDisplayFormatConfigurationProperty } } /** * An aggregation based on the percentile of values in a dimension or measure. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PercentileAggregationProperty percentileAggregationProperty = * PercentileAggregationProperty.builder() * .percentileValue(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentileaggregation.html) */ public interface PercentileAggregationProperty { /** * The percentile value. * * This value can be any numeric constant 0–100. A percentile value of 50 computes the median * value of the measure. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentileaggregation.html#cfn-quicksight-dashboard-percentileaggregation-percentilevalue) */ public fun percentileValue(): Number? = unwrap(this).getPercentileValue() /** * A builder for [PercentileAggregationProperty] */ @CdkDslMarker public interface Builder { /** * @param percentileValue The percentile value. * This value can be any numeric constant 0–100. A percentile value of 50 computes the median * value of the measure. */ public fun percentileValue(percentileValue: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PercentileAggregationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PercentileAggregationProperty.builder() /** * @param percentileValue The percentile value. * This value can be any numeric constant 0–100. A percentile value of 50 computes the median * value of the measure. */ override fun percentileValue(percentileValue: Number) { cdkBuilder.percentileValue(percentileValue) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PercentileAggregationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PercentileAggregationProperty, ) : CdkObject(cdkObject), PercentileAggregationProperty { /** * The percentile value. * * This value can be any numeric constant 0–100. A percentile value of 50 computes the median * value of the measure. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-percentileaggregation.html#cfn-quicksight-dashboard-percentileaggregation-percentilevalue) */ override fun percentileValue(): Number? = unwrap(this).getPercentileValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PercentileAggregationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PercentileAggregationProperty): PercentileAggregationProperty = CdkObjectWrappers.wrap(cdkObject) as? PercentileAggregationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PercentileAggregationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PercentileAggregationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PercentileAggregationProperty } } /** * The period over period computation configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PeriodOverPeriodComputationProperty periodOverPeriodComputationProperty = * PeriodOverPeriodComputationProperty.builder() * .computationId("computationId") * // the properties below are optional * .name("name") * .time(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build()) * .value(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodoverperiodcomputation.html) */ public interface PeriodOverPeriodComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodoverperiodcomputation.html#cfn-quicksight-dashboard-periodoverperiodcomputation-computationid) */ public fun computationId(): String /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodoverperiodcomputation.html#cfn-quicksight-dashboard-periodoverperiodcomputation-name) */ public fun name(): String? = unwrap(this).getName() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodoverperiodcomputation.html#cfn-quicksight-dashboard-periodoverperiodcomputation-time) */ public fun time(): Any? = unwrap(this).getTime() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodoverperiodcomputation.html#cfn-quicksight-dashboard-periodoverperiodcomputation-value) */ public fun `value`(): Any? = unwrap(this).getValue() /** * A builder for [PeriodOverPeriodComputationProperty] */ @CdkDslMarker public interface Builder { /** * @param computationId The ID for a computation. */ public fun computationId(computationId: String) /** * @param name The name of a computation. */ public fun name(name: String) /** * @param time The time field that is used in a computation. */ public fun time(time: IResolvable) /** * @param time The time field that is used in a computation. */ public fun time(time: DimensionFieldProperty) /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ed068782deaab71474825d36f03ddf9d6eca11eece7024f4399ba1bf97b03cf1") public fun time(time: DimensionFieldProperty.Builder.() -> Unit) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: IResolvable) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: MeasureFieldProperty) /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("de4df98fc70b1dcbf9971c607b4f5d001b9d3a1a08e3b4786d38655b4e9f630a") public fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodOverPeriodComputationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodOverPeriodComputationProperty.builder() /** * @param computationId The ID for a computation. */ override fun computationId(computationId: String) { cdkBuilder.computationId(computationId) } /** * @param name The name of a computation. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ed068782deaab71474825d36f03ddf9d6eca11eece7024f4399ba1bf97b03cf1") override fun time(time: DimensionFieldProperty.Builder.() -> Unit): Unit = time(DimensionFieldProperty(time)) /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("de4df98fc70b1dcbf9971c607b4f5d001b9d3a1a08e3b4786d38655b4e9f630a") override fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit): Unit = `value`(MeasureFieldProperty(`value`)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodOverPeriodComputationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodOverPeriodComputationProperty, ) : CdkObject(cdkObject), PeriodOverPeriodComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodoverperiodcomputation.html#cfn-quicksight-dashboard-periodoverperiodcomputation-computationid) */ override fun computationId(): String = unwrap(this).getComputationId() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodoverperiodcomputation.html#cfn-quicksight-dashboard-periodoverperiodcomputation-name) */ override fun name(): String? = unwrap(this).getName() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodoverperiodcomputation.html#cfn-quicksight-dashboard-periodoverperiodcomputation-time) */ override fun time(): Any? = unwrap(this).getTime() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodoverperiodcomputation.html#cfn-quicksight-dashboard-periodoverperiodcomputation-value) */ override fun `value`(): Any? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PeriodOverPeriodComputationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodOverPeriodComputationProperty): PeriodOverPeriodComputationProperty = CdkObjectWrappers.wrap(cdkObject) as? PeriodOverPeriodComputationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PeriodOverPeriodComputationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodOverPeriodComputationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodOverPeriodComputationProperty } } /** * The period to date computation configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PeriodToDateComputationProperty periodToDateComputationProperty = * PeriodToDateComputationProperty.builder() * .computationId("computationId") * // the properties below are optional * .name("name") * .periodTimeGranularity("periodTimeGranularity") * .time(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build()) * .value(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodtodatecomputation.html) */ public interface PeriodToDateComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodtodatecomputation.html#cfn-quicksight-dashboard-periodtodatecomputation-computationid) */ public fun computationId(): String /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodtodatecomputation.html#cfn-quicksight-dashboard-periodtodatecomputation-name) */ public fun name(): String? = unwrap(this).getName() /** * The time granularity setup of period to date computation. Choose from the following options:. * * * YEAR: Year to date. * * MONTH: Month to date. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodtodatecomputation.html#cfn-quicksight-dashboard-periodtodatecomputation-periodtimegranularity) */ public fun periodTimeGranularity(): String? = unwrap(this).getPeriodTimeGranularity() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodtodatecomputation.html#cfn-quicksight-dashboard-periodtodatecomputation-time) */ public fun time(): Any? = unwrap(this).getTime() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodtodatecomputation.html#cfn-quicksight-dashboard-periodtodatecomputation-value) */ public fun `value`(): Any? = unwrap(this).getValue() /** * A builder for [PeriodToDateComputationProperty] */ @CdkDslMarker public interface Builder { /** * @param computationId The ID for a computation. */ public fun computationId(computationId: String) /** * @param name The name of a computation. */ public fun name(name: String) /** * @param periodTimeGranularity The time granularity setup of period to date computation. * Choose from the following options:. * * YEAR: Year to date. * * MONTH: Month to date. */ public fun periodTimeGranularity(periodTimeGranularity: String) /** * @param time The time field that is used in a computation. */ public fun time(time: IResolvable) /** * @param time The time field that is used in a computation. */ public fun time(time: DimensionFieldProperty) /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c9d76b0cbc9b9f5cf7be3daa63ecbd70a3565d42c7ff39fcfa5374d518be8670") public fun time(time: DimensionFieldProperty.Builder.() -> Unit) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: IResolvable) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: MeasureFieldProperty) /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e8b35e64fb08df2bffa71a80ae70240f37e5c0e42e91298deeaa93662f8d46e8") public fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodToDateComputationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodToDateComputationProperty.builder() /** * @param computationId The ID for a computation. */ override fun computationId(computationId: String) { cdkBuilder.computationId(computationId) } /** * @param name The name of a computation. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param periodTimeGranularity The time granularity setup of period to date computation. * Choose from the following options:. * * YEAR: Year to date. * * MONTH: Month to date. */ override fun periodTimeGranularity(periodTimeGranularity: String) { cdkBuilder.periodTimeGranularity(periodTimeGranularity) } /** * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c9d76b0cbc9b9f5cf7be3daa63ecbd70a3565d42c7ff39fcfa5374d518be8670") override fun time(time: DimensionFieldProperty.Builder.() -> Unit): Unit = time(DimensionFieldProperty(time)) /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e8b35e64fb08df2bffa71a80ae70240f37e5c0e42e91298deeaa93662f8d46e8") override fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit): Unit = `value`(MeasureFieldProperty(`value`)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodToDateComputationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodToDateComputationProperty, ) : CdkObject(cdkObject), PeriodToDateComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodtodatecomputation.html#cfn-quicksight-dashboard-periodtodatecomputation-computationid) */ override fun computationId(): String = unwrap(this).getComputationId() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodtodatecomputation.html#cfn-quicksight-dashboard-periodtodatecomputation-name) */ override fun name(): String? = unwrap(this).getName() /** * The time granularity setup of period to date computation. Choose from the following * options:. * * * YEAR: Year to date. * * MONTH: Month to date. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodtodatecomputation.html#cfn-quicksight-dashboard-periodtodatecomputation-periodtimegranularity) */ override fun periodTimeGranularity(): String? = unwrap(this).getPeriodTimeGranularity() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodtodatecomputation.html#cfn-quicksight-dashboard-periodtodatecomputation-time) */ override fun time(): Any? = unwrap(this).getTime() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodtodatecomputation.html#cfn-quicksight-dashboard-periodtodatecomputation-value) */ override fun `value`(): Any? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PeriodToDateComputationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodToDateComputationProperty): PeriodToDateComputationProperty = CdkObjectWrappers.wrap(cdkObject) as? PeriodToDateComputationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PeriodToDateComputationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodToDateComputationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PeriodToDateComputationProperty } } /** * The field well configuration of a pie chart. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartaggregatedfieldwells.html) */ public interface PieChartAggregatedFieldWellsProperty { /** * The category (group/color) field wells of a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartaggregatedfieldwells.html#cfn-quicksight-dashboard-piechartaggregatedfieldwells-category) */ public fun category(): Any? = unwrap(this).getCategory() /** * The small multiples field well of a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartaggregatedfieldwells.html#cfn-quicksight-dashboard-piechartaggregatedfieldwells-smallmultiples) */ public fun smallMultiples(): Any? = unwrap(this).getSmallMultiples() /** * The value field wells of a pie chart. * * Values are aggregated based on categories. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartaggregatedfieldwells.html#cfn-quicksight-dashboard-piechartaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [PieChartAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param category The category (group/color) field wells of a pie chart. */ public fun category(category: IResolvable) /** * @param category The category (group/color) field wells of a pie chart. */ public fun category(category: List) /** * @param category The category (group/color) field wells of a pie chart. */ public fun category(vararg category: Any) /** * @param smallMultiples The small multiples field well of a pie chart. */ public fun smallMultiples(smallMultiples: IResolvable) /** * @param smallMultiples The small multiples field well of a pie chart. */ public fun smallMultiples(smallMultiples: List) /** * @param smallMultiples The small multiples field well of a pie chart. */ public fun smallMultiples(vararg smallMultiples: Any) /** * @param values The value field wells of a pie chart. * Values are aggregated based on categories. */ public fun values(values: IResolvable) /** * @param values The value field wells of a pie chart. * Values are aggregated based on categories. */ public fun values(values: List) /** * @param values The value field wells of a pie chart. * Values are aggregated based on categories. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartAggregatedFieldWellsProperty.builder() /** * @param category The category (group/color) field wells of a pie chart. */ override fun category(category: IResolvable) { cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category (group/color) field wells of a pie chart. */ override fun category(category: List) { cdkBuilder.category(category.map{CdkObjectWrappers.unwrap(it)}) } /** * @param category The category (group/color) field wells of a pie chart. */ override fun category(vararg category: Any): Unit = category(category.toList()) /** * @param smallMultiples The small multiples field well of a pie chart. */ override fun smallMultiples(smallMultiples: IResolvable) { cdkBuilder.smallMultiples(smallMultiples.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiples The small multiples field well of a pie chart. */ override fun smallMultiples(smallMultiples: List) { cdkBuilder.smallMultiples(smallMultiples.map{CdkObjectWrappers.unwrap(it)}) } /** * @param smallMultiples The small multiples field well of a pie chart. */ override fun smallMultiples(vararg smallMultiples: Any): Unit = smallMultiples(smallMultiples.toList()) /** * @param values The value field wells of a pie chart. * Values are aggregated based on categories. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The value field wells of a pie chart. * Values are aggregated based on categories. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The value field wells of a pie chart. * Values are aggregated based on categories. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), PieChartAggregatedFieldWellsProperty { /** * The category (group/color) field wells of a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartaggregatedfieldwells.html#cfn-quicksight-dashboard-piechartaggregatedfieldwells-category) */ override fun category(): Any? = unwrap(this).getCategory() /** * The small multiples field well of a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartaggregatedfieldwells.html#cfn-quicksight-dashboard-piechartaggregatedfieldwells-smallmultiples) */ override fun smallMultiples(): Any? = unwrap(this).getSmallMultiples() /** * The value field wells of a pie chart. * * Values are aggregated based on categories. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartaggregatedfieldwells.html#cfn-quicksight-dashboard-piechartaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PieChartAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartAggregatedFieldWellsProperty): PieChartAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? PieChartAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PieChartAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartAggregatedFieldWellsProperty } } /** * The configuration of a pie chart. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html) */ public interface PieChartConfigurationProperty { /** * The label options of the group/color that is displayed in a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-categorylabeloptions) */ public fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The contribution analysis (anomaly configuration) setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-contributionanalysisdefaults) */ public fun contributionAnalysisDefaults(): Any? = unwrap(this).getContributionAnalysisDefaults() /** * The options that determine if visual data labels are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-datalabels) */ public fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The options that determine the shape of the chart. * * This option determines whether the chart is a pie chart or a donut chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-donutoptions) */ public fun donutOptions(): Any? = unwrap(this).getDonutOptions() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-legend) */ public fun legend(): Any? = unwrap(this).getLegend() /** * The small multiples setup for the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-smallmultiplesoptions) */ public fun smallMultiplesOptions(): Any? = unwrap(this).getSmallMultiplesOptions() /** * The sort configuration of a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-tooltip) */ public fun tooltip(): Any? = unwrap(this).getTooltip() /** * The label options for the value that is displayed in a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-valuelabeloptions) */ public fun valueLabelOptions(): Any? = unwrap(this).getValueLabelOptions() /** * The palette (chart color) display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-visualpalette) */ public fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * A builder for [PieChartConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryLabelOptions The label options of the group/color that is displayed in a pie * chart. */ public fun categoryLabelOptions(categoryLabelOptions: IResolvable) /** * @param categoryLabelOptions The label options of the group/color that is displayed in a pie * chart. */ public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) /** * @param categoryLabelOptions The label options of the group/color that is displayed in a pie * chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0641636db6021ab359de67250d525737e037ccf12b75ec7311e27a7677fb5455") public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup * of the visual. */ public fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) /** * @param contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup * of the visual. */ public fun contributionAnalysisDefaults(contributionAnalysisDefaults: List) /** * @param contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup * of the visual. */ public fun contributionAnalysisDefaults(vararg contributionAnalysisDefaults: Any) /** * @param dataLabels The options that determine if visual data labels are displayed. */ public fun dataLabels(dataLabels: IResolvable) /** * @param dataLabels The options that determine if visual data labels are displayed. */ public fun dataLabels(dataLabels: DataLabelOptionsProperty) /** * @param dataLabels The options that determine if visual data labels are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1878cc35929f68420d7e107b2519c03b94c51bbda7a512705ddf2a6b33aaaa1d") public fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit) /** * @param donutOptions The options that determine the shape of the chart. * This option determines whether the chart is a pie chart or a donut chart. */ public fun donutOptions(donutOptions: IResolvable) /** * @param donutOptions The options that determine the shape of the chart. * This option determines whether the chart is a pie chart or a donut chart. */ public fun donutOptions(donutOptions: DonutOptionsProperty) /** * @param donutOptions The options that determine the shape of the chart. * This option determines whether the chart is a pie chart or a donut chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a2ec8605f6388a8c85c9110fa4a5c97869192b095d86a8ce2b5c4bf82699219e") public fun donutOptions(donutOptions: DonutOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: PieChartFieldWellsProperty) /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("55fe0550a0820e776b49470826fa7066973922fa50720c6faa4e51776c7a0022") public fun fieldWells(fieldWells: PieChartFieldWellsProperty.Builder.() -> Unit) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: IResolvable) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: LegendOptionsProperty) /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c761b0c2b0aef0e2db5d6e6f433134acc71488163a4ae964086f2e99b6cf99e0") public fun legend(legend: LegendOptionsProperty.Builder.() -> Unit) /** * @param smallMultiplesOptions The small multiples setup for the visual. */ public fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) /** * @param smallMultiplesOptions The small multiples setup for the visual. */ public fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) /** * @param smallMultiplesOptions The small multiples setup for the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("20d7b62054b4b88a3649b9a79ea7c521cb9245c8e4d96b3aa431b1b7a57a939b") public fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration of a pie chart. */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a pie chart. */ public fun sortConfiguration(sortConfiguration: PieChartSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a pie chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e2246bd0db57b682c71f9e256a92e19e635dc19dc5a5890ea465fb3176419fe1") public fun sortConfiguration(sortConfiguration: PieChartSortConfigurationProperty.Builder.() -> Unit) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: IResolvable) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: TooltipOptionsProperty) /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dbb094ae479952d9b25ecc0d46aec03816c2db09e647ccf02b769947c5c2e546") public fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit) /** * @param valueLabelOptions The label options for the value that is displayed in a pie chart. */ public fun valueLabelOptions(valueLabelOptions: IResolvable) /** * @param valueLabelOptions The label options for the value that is displayed in a pie chart. */ public fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) /** * @param valueLabelOptions The label options for the value that is displayed in a pie chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cee356a84ff8830ba5cf5d7ff2eeeaaa3b4fab452556c551594c26e423baa734") public fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param visualPalette The palette (chart color) display setup of the visual. */ public fun visualPalette(visualPalette: IResolvable) /** * @param visualPalette The palette (chart color) display setup of the visual. */ public fun visualPalette(visualPalette: VisualPaletteProperty) /** * @param visualPalette The palette (chart color) display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dcdcf0ada6fa0f2f5af5829ac44d0e5b556474fdff7a8a48b256968bc3c64829") public fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartConfigurationProperty.builder() /** * @param categoryLabelOptions The label options of the group/color that is displayed in a pie * chart. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param categoryLabelOptions The label options of the group/color that is displayed in a pie * chart. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param categoryLabelOptions The label options of the group/color that is displayed in a pie * chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0641636db6021ab359de67250d525737e037ccf12b75ec7311e27a7677fb5455") override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = categoryLabelOptions(ChartAxisLabelOptionsProperty(categoryLabelOptions)) /** * @param contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup * of the visual. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) { cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable.Companion::unwrap)) } /** * @param contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup * of the visual. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: List) { cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.map{CdkObjectWrappers.unwrap(it)}) } /** * @param contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup * of the visual. */ override fun contributionAnalysisDefaults(vararg contributionAnalysisDefaults: Any): Unit = contributionAnalysisDefaults(contributionAnalysisDefaults.toList()) /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1878cc35929f68420d7e107b2519c03b94c51bbda7a512705ddf2a6b33aaaa1d") override fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit): Unit = dataLabels(DataLabelOptionsProperty(dataLabels)) /** * @param donutOptions The options that determine the shape of the chart. * This option determines whether the chart is a pie chart or a donut chart. */ override fun donutOptions(donutOptions: IResolvable) { cdkBuilder.donutOptions(donutOptions.let(IResolvable.Companion::unwrap)) } /** * @param donutOptions The options that determine the shape of the chart. * This option determines whether the chart is a pie chart or a donut chart. */ override fun donutOptions(donutOptions: DonutOptionsProperty) { cdkBuilder.donutOptions(donutOptions.let(DonutOptionsProperty.Companion::unwrap)) } /** * @param donutOptions The options that determine the shape of the chart. * This option determines whether the chart is a pie chart or a donut chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a2ec8605f6388a8c85c9110fa4a5c97869192b095d86a8ce2b5c4bf82699219e") override fun donutOptions(donutOptions: DonutOptionsProperty.Builder.() -> Unit): Unit = donutOptions(DonutOptionsProperty(donutOptions)) /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: PieChartFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(PieChartFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("55fe0550a0820e776b49470826fa7066973922fa50720c6faa4e51776c7a0022") override fun fieldWells(fieldWells: PieChartFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(PieChartFieldWellsProperty(fieldWells)) /** * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c761b0c2b0aef0e2db5d6e6f433134acc71488163a4ae964086f2e99b6cf99e0") override fun legend(legend: LegendOptionsProperty.Builder.() -> Unit): Unit = legend(LegendOptionsProperty(legend)) /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) { cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) { cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("20d7b62054b4b88a3649b9a79ea7c521cb9245c8e4d96b3aa431b1b7a57a939b") override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty.Builder.() -> Unit): Unit = smallMultiplesOptions(SmallMultiplesOptionsProperty(smallMultiplesOptions)) /** * @param sortConfiguration The sort configuration of a pie chart. */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a pie chart. */ override fun sortConfiguration(sortConfiguration: PieChartSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(PieChartSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a pie chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e2246bd0db57b682c71f9e256a92e19e635dc19dc5a5890ea465fb3176419fe1") override fun sortConfiguration(sortConfiguration: PieChartSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(PieChartSortConfigurationProperty(sortConfiguration)) /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dbb094ae479952d9b25ecc0d46aec03816c2db09e647ccf02b769947c5c2e546") override fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltip(TooltipOptionsProperty(tooltip)) /** * @param valueLabelOptions The label options for the value that is displayed in a pie chart. */ override fun valueLabelOptions(valueLabelOptions: IResolvable) { cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param valueLabelOptions The label options for the value that is displayed in a pie chart. */ override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param valueLabelOptions The label options for the value that is displayed in a pie chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cee356a84ff8830ba5cf5d7ff2eeeaaa3b4fab452556c551594c26e423baa734") override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = valueLabelOptions(ChartAxisLabelOptionsProperty(valueLabelOptions)) /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dcdcf0ada6fa0f2f5af5829ac44d0e5b556474fdff7a8a48b256968bc3c64829") override fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit): Unit = visualPalette(VisualPaletteProperty(visualPalette)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartConfigurationProperty, ) : CdkObject(cdkObject), PieChartConfigurationProperty { /** * The label options of the group/color that is displayed in a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-categorylabeloptions) */ override fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The contribution analysis (anomaly configuration) setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-contributionanalysisdefaults) */ override fun contributionAnalysisDefaults(): Any? = unwrap(this).getContributionAnalysisDefaults() /** * The options that determine if visual data labels are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-datalabels) */ override fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The options that determine the shape of the chart. * * This option determines whether the chart is a pie chart or a donut chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-donutoptions) */ override fun donutOptions(): Any? = unwrap(this).getDonutOptions() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-legend) */ override fun legend(): Any? = unwrap(this).getLegend() /** * The small multiples setup for the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-smallmultiplesoptions) */ override fun smallMultiplesOptions(): Any? = unwrap(this).getSmallMultiplesOptions() /** * The sort configuration of a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-tooltip) */ override fun tooltip(): Any? = unwrap(this).getTooltip() /** * The label options for the value that is displayed in a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-valuelabeloptions) */ override fun valueLabelOptions(): Any? = unwrap(this).getValueLabelOptions() /** * The palette (chart color) display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartconfiguration.html#cfn-quicksight-dashboard-piechartconfiguration-visualpalette) */ override fun visualPalette(): Any? = unwrap(this).getVisualPalette() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PieChartConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartConfigurationProperty): PieChartConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? PieChartConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PieChartConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartConfigurationProperty } } /** * The field well configuration of a pie chart. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartfieldwells.html) */ public interface PieChartFieldWellsProperty { /** * The field well configuration of a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartfieldwells.html#cfn-quicksight-dashboard-piechartfieldwells-piechartaggregatedfieldwells) */ public fun pieChartAggregatedFieldWells(): Any? = unwrap(this).getPieChartAggregatedFieldWells() /** * A builder for [PieChartFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param pieChartAggregatedFieldWells The field well configuration of a pie chart. */ public fun pieChartAggregatedFieldWells(pieChartAggregatedFieldWells: IResolvable) /** * @param pieChartAggregatedFieldWells The field well configuration of a pie chart. */ public fun pieChartAggregatedFieldWells(pieChartAggregatedFieldWells: PieChartAggregatedFieldWellsProperty) /** * @param pieChartAggregatedFieldWells The field well configuration of a pie chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("430cb55ecc0ccf3760ede8a2283a6d8bd84da0ad59c1eec70f12dd5754cc294a") public fun pieChartAggregatedFieldWells(pieChartAggregatedFieldWells: PieChartAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartFieldWellsProperty.builder() /** * @param pieChartAggregatedFieldWells The field well configuration of a pie chart. */ override fun pieChartAggregatedFieldWells(pieChartAggregatedFieldWells: IResolvable) { cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param pieChartAggregatedFieldWells The field well configuration of a pie chart. */ override fun pieChartAggregatedFieldWells(pieChartAggregatedFieldWells: PieChartAggregatedFieldWellsProperty) { cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(PieChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param pieChartAggregatedFieldWells The field well configuration of a pie chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("430cb55ecc0ccf3760ede8a2283a6d8bd84da0ad59c1eec70f12dd5754cc294a") override fun pieChartAggregatedFieldWells(pieChartAggregatedFieldWells: PieChartAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = pieChartAggregatedFieldWells(PieChartAggregatedFieldWellsProperty(pieChartAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartFieldWellsProperty, ) : CdkObject(cdkObject), PieChartFieldWellsProperty { /** * The field well configuration of a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartfieldwells.html#cfn-quicksight-dashboard-piechartfieldwells-piechartaggregatedfieldwells) */ override fun pieChartAggregatedFieldWells(): Any? = unwrap(this).getPieChartAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PieChartFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartFieldWellsProperty): PieChartFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? PieChartFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PieChartFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartFieldWellsProperty } } /** * The sort configuration of a pie chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PieChartSortConfigurationProperty pieChartSortConfigurationProperty = * PieChartSortConfigurationProperty.builder() * .categoryItemsLimit(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .categorySort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .smallMultiplesLimitConfiguration(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .smallMultiplesSort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartsortconfiguration.html) */ public interface PieChartSortConfigurationProperty { /** * The limit on the number of categories that are displayed in a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartsortconfiguration.html#cfn-quicksight-dashboard-piechartsortconfiguration-categoryitemslimit) */ public fun categoryItemsLimit(): Any? = unwrap(this).getCategoryItemsLimit() /** * The sort configuration of the category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartsortconfiguration.html#cfn-quicksight-dashboard-piechartsortconfiguration-categorysort) */ public fun categorySort(): Any? = unwrap(this).getCategorySort() /** * The limit on the number of small multiples panels that are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartsortconfiguration.html#cfn-quicksight-dashboard-piechartsortconfiguration-smallmultipleslimitconfiguration) */ public fun smallMultiplesLimitConfiguration(): Any? = unwrap(this).getSmallMultiplesLimitConfiguration() /** * The sort configuration of the small multiples field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartsortconfiguration.html#cfn-quicksight-dashboard-piechartsortconfiguration-smallmultiplessort) */ public fun smallMultiplesSort(): Any? = unwrap(this).getSmallMultiplesSort() /** * A builder for [PieChartSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryItemsLimit The limit on the number of categories that are displayed in a pie * chart. */ public fun categoryItemsLimit(categoryItemsLimit: IResolvable) /** * @param categoryItemsLimit The limit on the number of categories that are displayed in a pie * chart. */ public fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) /** * @param categoryItemsLimit The limit on the number of categories that are displayed in a pie * chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f47a186be836b3cb8507e344bdb1ba370454f2fe479f5192086f5051c2e246b3") public fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param categorySort The sort configuration of the category fields. */ public fun categorySort(categorySort: IResolvable) /** * @param categorySort The sort configuration of the category fields. */ public fun categorySort(categorySort: List) /** * @param categorySort The sort configuration of the category fields. */ public fun categorySort(vararg categorySort: Any) /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ public fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ public fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4f3b47b1eb6932b46ccdf134d65f84281c6c60b5c10602cac44f41ce8b58bfc3") public fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ public fun smallMultiplesSort(smallMultiplesSort: IResolvable) /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ public fun smallMultiplesSort(smallMultiplesSort: List) /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ public fun smallMultiplesSort(vararg smallMultiplesSort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartSortConfigurationProperty.builder() /** * @param categoryItemsLimit The limit on the number of categories that are displayed in a pie * chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of categories that are displayed in a pie * chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of categories that are displayed in a pie * chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f47a186be836b3cb8507e344bdb1ba370454f2fe479f5192086f5051c2e246b3") override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = categoryItemsLimit(ItemsLimitConfigurationProperty(categoryItemsLimit)) /** * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: List) { cdkBuilder.categorySort(categorySort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param categorySort The sort configuration of the category fields. */ override fun categorySort(vararg categorySort: Any): Unit = categorySort(categorySort.toList()) /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) { cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) { cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param smallMultiplesLimitConfiguration The limit on the number of small multiples panels * that are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4f3b47b1eb6932b46ccdf134d65f84281c6c60b5c10602cac44f41ce8b58bfc3") override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = smallMultiplesLimitConfiguration(ItemsLimitConfigurationProperty(smallMultiplesLimitConfiguration)) /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: IResolvable) { cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: List) { cdkBuilder.smallMultiplesSort(smallMultiplesSort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(vararg smallMultiplesSort: Any): Unit = smallMultiplesSort(smallMultiplesSort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartSortConfigurationProperty, ) : CdkObject(cdkObject), PieChartSortConfigurationProperty { /** * The limit on the number of categories that are displayed in a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartsortconfiguration.html#cfn-quicksight-dashboard-piechartsortconfiguration-categoryitemslimit) */ override fun categoryItemsLimit(): Any? = unwrap(this).getCategoryItemsLimit() /** * The sort configuration of the category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartsortconfiguration.html#cfn-quicksight-dashboard-piechartsortconfiguration-categorysort) */ override fun categorySort(): Any? = unwrap(this).getCategorySort() /** * The limit on the number of small multiples panels that are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartsortconfiguration.html#cfn-quicksight-dashboard-piechartsortconfiguration-smallmultipleslimitconfiguration) */ override fun smallMultiplesLimitConfiguration(): Any? = unwrap(this).getSmallMultiplesLimitConfiguration() /** * The sort configuration of the small multiples field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartsortconfiguration.html#cfn-quicksight-dashboard-piechartsortconfiguration-smallmultiplessort) */ override fun smallMultiplesSort(): Any? = unwrap(this).getSmallMultiplesSort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PieChartSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartSortConfigurationProperty): PieChartSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? PieChartSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PieChartSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartSortConfigurationProperty } } /** * A pie or donut chart. * * The `PieChartVisual` structure describes a visual that is a member of the pie chart family. * * The following charts can be described by using this structure: * * * Pie charts * * Donut charts * * For more information, see [Using pie * charts](https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) in the *Amazon * QuickSight User Guide* . * * For more information, see [Using donut * charts](https://docs.aws.amazon.com/quicksight/latest/user/donut-chart.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html) */ public interface PieChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html#cfn-quicksight-dashboard-piechartvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html#cfn-quicksight-dashboard-piechartvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html#cfn-quicksight-dashboard-piechartvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html#cfn-quicksight-dashboard-piechartvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html#cfn-quicksight-dashboard-piechartvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html#cfn-quicksight-dashboard-piechartvisual-visualid) */ public fun visualId(): String /** * A builder for [PieChartVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration of a pie chart. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration of a pie chart. */ public fun chartConfiguration(chartConfiguration: PieChartConfigurationProperty) /** * @param chartConfiguration The configuration of a pie chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("70c2b33c33f14e1ae7a32c7b687838ac466c6dc3dcfd17aef8a051bf6b5c7e40") public fun chartConfiguration(chartConfiguration: PieChartConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0f1c844838273c61c9be3b30be97787fd4a35cfe9b0c82c7e31a3a00f503a206") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8f3c5ed52b95ce2afd95811011c313f7fc1ca6db17570cd19fabbfda87eb393f") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration of a pie chart. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a pie chart. */ override fun chartConfiguration(chartConfiguration: PieChartConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(PieChartConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a pie chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("70c2b33c33f14e1ae7a32c7b687838ac466c6dc3dcfd17aef8a051bf6b5c7e40") override fun chartConfiguration(chartConfiguration: PieChartConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(PieChartConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0f1c844838273c61c9be3b30be97787fd4a35cfe9b0c82c7e31a3a00f503a206") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8f3c5ed52b95ce2afd95811011c313f7fc1ca6db17570cd19fabbfda87eb393f") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartVisualProperty, ) : CdkObject(cdkObject), PieChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html#cfn-quicksight-dashboard-piechartvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a pie chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html#cfn-quicksight-dashboard-piechartvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html#cfn-quicksight-dashboard-piechartvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html#cfn-quicksight-dashboard-piechartvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html#cfn-quicksight-dashboard-piechartvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-piechartvisual.html#cfn-quicksight-dashboard-piechartvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PieChartVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartVisualProperty): PieChartVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? PieChartVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PieChartVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PieChartVisualProperty } } /** * The field sort options for a pivot table sort configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotFieldSortOptionsProperty pivotFieldSortOptionsProperty = * PivotFieldSortOptionsProperty.builder() * .fieldId("fieldId") * .sortBy(PivotTableSortByProperty.builder() * .column(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .dataPath(DataPathSortProperty.builder() * .direction("direction") * .sortPaths(List.of(DataPathValueProperty.builder() * .dataPathType(DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build()) * .fieldId("fieldId") * .fieldValue("fieldValue") * .build())) * .build()) * .field(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivotfieldsortoptions.html) */ public interface PivotFieldSortOptionsProperty { /** * The field ID for the field sort options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivotfieldsortoptions.html#cfn-quicksight-dashboard-pivotfieldsortoptions-fieldid) */ public fun fieldId(): String /** * The sort by field for the field sort options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivotfieldsortoptions.html#cfn-quicksight-dashboard-pivotfieldsortoptions-sortby) */ public fun sortBy(): Any /** * A builder for [PivotFieldSortOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldId The field ID for the field sort options. */ public fun fieldId(fieldId: String) /** * @param sortBy The sort by field for the field sort options. */ public fun sortBy(sortBy: IResolvable) /** * @param sortBy The sort by field for the field sort options. */ public fun sortBy(sortBy: PivotTableSortByProperty) /** * @param sortBy The sort by field for the field sort options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("57d6d0024c87d96193643c82498c2a00ffb7612d27fc6613d7c9e17dd323aa1e") public fun sortBy(sortBy: PivotTableSortByProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotFieldSortOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotFieldSortOptionsProperty.builder() /** * @param fieldId The field ID for the field sort options. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param sortBy The sort by field for the field sort options. */ override fun sortBy(sortBy: IResolvable) { cdkBuilder.sortBy(sortBy.let(IResolvable.Companion::unwrap)) } /** * @param sortBy The sort by field for the field sort options. */ override fun sortBy(sortBy: PivotTableSortByProperty) { cdkBuilder.sortBy(sortBy.let(PivotTableSortByProperty.Companion::unwrap)) } /** * @param sortBy The sort by field for the field sort options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("57d6d0024c87d96193643c82498c2a00ffb7612d27fc6613d7c9e17dd323aa1e") override fun sortBy(sortBy: PivotTableSortByProperty.Builder.() -> Unit): Unit = sortBy(PivotTableSortByProperty(sortBy)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotFieldSortOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotFieldSortOptionsProperty, ) : CdkObject(cdkObject), PivotFieldSortOptionsProperty { /** * The field ID for the field sort options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivotfieldsortoptions.html#cfn-quicksight-dashboard-pivotfieldsortoptions-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The sort by field for the field sort options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivotfieldsortoptions.html#cfn-quicksight-dashboard-pivotfieldsortoptions-sortby) */ override fun sortBy(): Any = unwrap(this).getSortBy() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotFieldSortOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotFieldSortOptionsProperty): PivotFieldSortOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotFieldSortOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotFieldSortOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotFieldSortOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotFieldSortOptionsProperty } } /** * The aggregated field well for the pivot table. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableaggregatedfieldwells.html) */ public interface PivotTableAggregatedFieldWellsProperty { /** * The columns field well for a pivot table. * * Values are grouped by columns fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableaggregatedfieldwells.html#cfn-quicksight-dashboard-pivottableaggregatedfieldwells-columns) */ public fun columns(): Any? = unwrap(this).getColumns() /** * The rows field well for a pivot table. * * Values are grouped by rows fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableaggregatedfieldwells.html#cfn-quicksight-dashboard-pivottableaggregatedfieldwells-rows) */ public fun rows(): Any? = unwrap(this).getRows() /** * The values field well for a pivot table. * * Values are aggregated based on rows and columns fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableaggregatedfieldwells.html#cfn-quicksight-dashboard-pivottableaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [PivotTableAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param columns The columns field well for a pivot table. * Values are grouped by columns fields. */ public fun columns(columns: IResolvable) /** * @param columns The columns field well for a pivot table. * Values are grouped by columns fields. */ public fun columns(columns: List) /** * @param columns The columns field well for a pivot table. * Values are grouped by columns fields. */ public fun columns(vararg columns: Any) /** * @param rows The rows field well for a pivot table. * Values are grouped by rows fields. */ public fun rows(rows: IResolvable) /** * @param rows The rows field well for a pivot table. * Values are grouped by rows fields. */ public fun rows(rows: List) /** * @param rows The rows field well for a pivot table. * Values are grouped by rows fields. */ public fun rows(vararg rows: Any) /** * @param values The values field well for a pivot table. * Values are aggregated based on rows and columns fields. */ public fun values(values: IResolvable) /** * @param values The values field well for a pivot table. * Values are aggregated based on rows and columns fields. */ public fun values(values: List) /** * @param values The values field well for a pivot table. * Values are aggregated based on rows and columns fields. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableAggregatedFieldWellsProperty.builder() /** * @param columns The columns field well for a pivot table. * Values are grouped by columns fields. */ override fun columns(columns: IResolvable) { cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** * @param columns The columns field well for a pivot table. * Values are grouped by columns fields. */ override fun columns(columns: List) { cdkBuilder.columns(columns.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columns The columns field well for a pivot table. * Values are grouped by columns fields. */ override fun columns(vararg columns: Any): Unit = columns(columns.toList()) /** * @param rows The rows field well for a pivot table. * Values are grouped by rows fields. */ override fun rows(rows: IResolvable) { cdkBuilder.rows(rows.let(IResolvable.Companion::unwrap)) } /** * @param rows The rows field well for a pivot table. * Values are grouped by rows fields. */ override fun rows(rows: List) { cdkBuilder.rows(rows.map{CdkObjectWrappers.unwrap(it)}) } /** * @param rows The rows field well for a pivot table. * Values are grouped by rows fields. */ override fun rows(vararg rows: Any): Unit = rows(rows.toList()) /** * @param values The values field well for a pivot table. * Values are aggregated based on rows and columns fields. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The values field well for a pivot table. * Values are aggregated based on rows and columns fields. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The values field well for a pivot table. * Values are aggregated based on rows and columns fields. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), PivotTableAggregatedFieldWellsProperty { /** * The columns field well for a pivot table. * * Values are grouped by columns fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableaggregatedfieldwells.html#cfn-quicksight-dashboard-pivottableaggregatedfieldwells-columns) */ override fun columns(): Any? = unwrap(this).getColumns() /** * The rows field well for a pivot table. * * Values are grouped by rows fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableaggregatedfieldwells.html#cfn-quicksight-dashboard-pivottableaggregatedfieldwells-rows) */ override fun rows(): Any? = unwrap(this).getRows() /** * The values field well for a pivot table. * * Values are aggregated based on rows and columns fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableaggregatedfieldwells.html#cfn-quicksight-dashboard-pivottableaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableAggregatedFieldWellsProperty): PivotTableAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableAggregatedFieldWellsProperty } } /** * The cell conditional formatting option for a pivot table. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableCellConditionalFormattingProperty pivotTableCellConditionalFormattingProperty = * PivotTableCellConditionalFormattingProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .scope(PivotTableConditionalFormattingScopeProperty.builder() * .role("role") * .build()) * .scopes(List.of(PivotTableConditionalFormattingScopeProperty.builder() * .role("role") * .build())) * .textFormat(TextConditionalFormatProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablecellconditionalformatting.html) */ public interface PivotTableCellConditionalFormattingProperty { /** * The field ID of the cell for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablecellconditionalformatting.html#cfn-quicksight-dashboard-pivottablecellconditionalformatting-fieldid) */ public fun fieldId(): String /** * The scope of the cell for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablecellconditionalformatting.html#cfn-quicksight-dashboard-pivottablecellconditionalformatting-scope) */ public fun scope(): Any? = unwrap(this).getScope() /** * A list of cell scopes for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablecellconditionalformatting.html#cfn-quicksight-dashboard-pivottablecellconditionalformatting-scopes) */ public fun scopes(): Any? = unwrap(this).getScopes() /** * The text format of the cell for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablecellconditionalformatting.html#cfn-quicksight-dashboard-pivottablecellconditionalformatting-textformat) */ public fun textFormat(): Any? = unwrap(this).getTextFormat() /** * A builder for [PivotTableCellConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldId The field ID of the cell for conditional formatting. */ public fun fieldId(fieldId: String) /** * @param scope The scope of the cell for conditional formatting. */ public fun scope(scope: IResolvable) /** * @param scope The scope of the cell for conditional formatting. */ public fun scope(scope: PivotTableConditionalFormattingScopeProperty) /** * @param scope The scope of the cell for conditional formatting. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("39b48e006aaa27601d8412ce63fdea800da6b21b623b696c1a835c314f93efb4") public fun scope(scope: PivotTableConditionalFormattingScopeProperty.Builder.() -> Unit) /** * @param scopes A list of cell scopes for conditional formatting. */ public fun scopes(scopes: IResolvable) /** * @param scopes A list of cell scopes for conditional formatting. */ public fun scopes(scopes: List) /** * @param scopes A list of cell scopes for conditional formatting. */ public fun scopes(vararg scopes: Any) /** * @param textFormat The text format of the cell for conditional formatting. */ public fun textFormat(textFormat: IResolvable) /** * @param textFormat The text format of the cell for conditional formatting. */ public fun textFormat(textFormat: TextConditionalFormatProperty) /** * @param textFormat The text format of the cell for conditional formatting. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aa183e6ba78078d319a87d238a5d3a4ba1abdc12204a4ecb57deea648618d547") public fun textFormat(textFormat: TextConditionalFormatProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableCellConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableCellConditionalFormattingProperty.builder() /** * @param fieldId The field ID of the cell for conditional formatting. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param scope The scope of the cell for conditional formatting. */ override fun scope(scope: IResolvable) { cdkBuilder.scope(scope.let(IResolvable.Companion::unwrap)) } /** * @param scope The scope of the cell for conditional formatting. */ override fun scope(scope: PivotTableConditionalFormattingScopeProperty) { cdkBuilder.scope(scope.let(PivotTableConditionalFormattingScopeProperty.Companion::unwrap)) } /** * @param scope The scope of the cell for conditional formatting. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("39b48e006aaa27601d8412ce63fdea800da6b21b623b696c1a835c314f93efb4") override fun scope(scope: PivotTableConditionalFormattingScopeProperty.Builder.() -> Unit): Unit = scope(PivotTableConditionalFormattingScopeProperty(scope)) /** * @param scopes A list of cell scopes for conditional formatting. */ override fun scopes(scopes: IResolvable) { cdkBuilder.scopes(scopes.let(IResolvable.Companion::unwrap)) } /** * @param scopes A list of cell scopes for conditional formatting. */ override fun scopes(scopes: List) { cdkBuilder.scopes(scopes.map{CdkObjectWrappers.unwrap(it)}) } /** * @param scopes A list of cell scopes for conditional formatting. */ override fun scopes(vararg scopes: Any): Unit = scopes(scopes.toList()) /** * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: IResolvable) { cdkBuilder.textFormat(textFormat.let(IResolvable.Companion::unwrap)) } /** * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: TextConditionalFormatProperty) { cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty.Companion::unwrap)) } /** * @param textFormat The text format of the cell for conditional formatting. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aa183e6ba78078d319a87d238a5d3a4ba1abdc12204a4ecb57deea648618d547") override fun textFormat(textFormat: TextConditionalFormatProperty.Builder.() -> Unit): Unit = textFormat(TextConditionalFormatProperty(textFormat)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableCellConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableCellConditionalFormattingProperty, ) : CdkObject(cdkObject), PivotTableCellConditionalFormattingProperty { /** * The field ID of the cell for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablecellconditionalformatting.html#cfn-quicksight-dashboard-pivottablecellconditionalformatting-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The scope of the cell for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablecellconditionalformatting.html#cfn-quicksight-dashboard-pivottablecellconditionalformatting-scope) */ override fun scope(): Any? = unwrap(this).getScope() /** * A list of cell scopes for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablecellconditionalformatting.html#cfn-quicksight-dashboard-pivottablecellconditionalformatting-scopes) */ override fun scopes(): Any? = unwrap(this).getScopes() /** * The text format of the cell for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablecellconditionalformatting.html#cfn-quicksight-dashboard-pivottablecellconditionalformatting-textformat) */ override fun textFormat(): Any? = unwrap(this).getTextFormat() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableCellConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableCellConditionalFormattingProperty): PivotTableCellConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableCellConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableCellConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableCellConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableCellConditionalFormattingProperty } } /** * Conditional formatting options for a `PivotTableVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableConditionalFormattingOptionProperty pivotTableConditionalFormattingOptionProperty = * PivotTableConditionalFormattingOptionProperty.builder() * .cell(PivotTableCellConditionalFormattingProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .scope(PivotTableConditionalFormattingScopeProperty.builder() * .role("role") * .build()) * .scopes(List.of(PivotTableConditionalFormattingScopeProperty.builder() * .role("role") * .build())) * .textFormat(TextConditionalFormatProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconditionalformattingoption.html) */ public interface PivotTableConditionalFormattingOptionProperty { /** * The cell conditional formatting option for a pivot table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconditionalformattingoption.html#cfn-quicksight-dashboard-pivottableconditionalformattingoption-cell) */ public fun cell(): Any? = unwrap(this).getCell() /** * A builder for [PivotTableConditionalFormattingOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param cell The cell conditional formatting option for a pivot table. */ public fun cell(cell: IResolvable) /** * @param cell The cell conditional formatting option for a pivot table. */ public fun cell(cell: PivotTableCellConditionalFormattingProperty) /** * @param cell The cell conditional formatting option for a pivot table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5be6196e7395577ecd51b1ac216b2b097cd7395772a637988bc1b381d392d695") public fun cell(cell: PivotTableCellConditionalFormattingProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingOptionProperty.builder() /** * @param cell The cell conditional formatting option for a pivot table. */ override fun cell(cell: IResolvable) { cdkBuilder.cell(cell.let(IResolvable.Companion::unwrap)) } /** * @param cell The cell conditional formatting option for a pivot table. */ override fun cell(cell: PivotTableCellConditionalFormattingProperty) { cdkBuilder.cell(cell.let(PivotTableCellConditionalFormattingProperty.Companion::unwrap)) } /** * @param cell The cell conditional formatting option for a pivot table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5be6196e7395577ecd51b1ac216b2b097cd7395772a637988bc1b381d392d695") override fun cell(cell: PivotTableCellConditionalFormattingProperty.Builder.() -> Unit): Unit = cell(PivotTableCellConditionalFormattingProperty(cell)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingOptionProperty, ) : CdkObject(cdkObject), PivotTableConditionalFormattingOptionProperty { /** * The cell conditional formatting option for a pivot table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconditionalformattingoption.html#cfn-quicksight-dashboard-pivottableconditionalformattingoption-cell) */ override fun cell(): Any? = unwrap(this).getCell() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableConditionalFormattingOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingOptionProperty): PivotTableConditionalFormattingOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableConditionalFormattingOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableConditionalFormattingOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingOptionProperty } } /** * The conditional formatting for a `PivotTableVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableConditionalFormattingProperty pivotTableConditionalFormattingProperty = * PivotTableConditionalFormattingProperty.builder() * .conditionalFormattingOptions(List.of(PivotTableConditionalFormattingOptionProperty.builder() * .cell(PivotTableCellConditionalFormattingProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .scope(PivotTableConditionalFormattingScopeProperty.builder() * .role("role") * .build()) * .scopes(List.of(PivotTableConditionalFormattingScopeProperty.builder() * .role("role") * .build())) * .textFormat(TextConditionalFormatProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconditionalformatting.html) */ public interface PivotTableConditionalFormattingProperty { /** * Conditional formatting options for a `PivotTableVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconditionalformatting.html#cfn-quicksight-dashboard-pivottableconditionalformatting-conditionalformattingoptions) */ public fun conditionalFormattingOptions(): Any? = unwrap(this).getConditionalFormattingOptions() /** * A builder for [PivotTableConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param conditionalFormattingOptions Conditional formatting options for a `PivotTableVisual` * . */ public fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) /** * @param conditionalFormattingOptions Conditional formatting options for a `PivotTableVisual` * . */ public fun conditionalFormattingOptions(conditionalFormattingOptions: List) /** * @param conditionalFormattingOptions Conditional formatting options for a `PivotTableVisual` * . */ public fun conditionalFormattingOptions(vararg conditionalFormattingOptions: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingProperty.builder() /** * @param conditionalFormattingOptions Conditional formatting options for a `PivotTableVisual` * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormattingOptions Conditional formatting options for a `PivotTableVisual` * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: List) { cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param conditionalFormattingOptions Conditional formatting options for a `PivotTableVisual` * . */ override fun conditionalFormattingOptions(vararg conditionalFormattingOptions: Any): Unit = conditionalFormattingOptions(conditionalFormattingOptions.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingProperty, ) : CdkObject(cdkObject), PivotTableConditionalFormattingProperty { /** * Conditional formatting options for a `PivotTableVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconditionalformatting.html#cfn-quicksight-dashboard-pivottableconditionalformatting-conditionalformattingoptions) */ override fun conditionalFormattingOptions(): Any? = unwrap(this).getConditionalFormattingOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingProperty): PivotTableConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingProperty } } /** * The scope of the cell for conditional formatting. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableConditionalFormattingScopeProperty pivotTableConditionalFormattingScopeProperty = * PivotTableConditionalFormattingScopeProperty.builder() * .role("role") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconditionalformattingscope.html) */ public interface PivotTableConditionalFormattingScopeProperty { /** * The role (field, field total, grand total) of the cell for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconditionalformattingscope.html#cfn-quicksight-dashboard-pivottableconditionalformattingscope-role) */ public fun role(): String? = unwrap(this).getRole() /** * A builder for [PivotTableConditionalFormattingScopeProperty] */ @CdkDslMarker public interface Builder { /** * @param role The role (field, field total, grand total) of the cell for conditional * formatting. */ public fun role(role: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingScopeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingScopeProperty.builder() /** * @param role The role (field, field total, grand total) of the cell for conditional * formatting. */ override fun role(role: String) { cdkBuilder.role(role) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingScopeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingScopeProperty, ) : CdkObject(cdkObject), PivotTableConditionalFormattingScopeProperty { /** * The role (field, field total, grand total) of the cell for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconditionalformattingscope.html#cfn-quicksight-dashboard-pivottableconditionalformattingscope-role) */ override fun role(): String? = unwrap(this).getRole() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableConditionalFormattingScopeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingScopeProperty): PivotTableConditionalFormattingScopeProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableConditionalFormattingScopeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableConditionalFormattingScopeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingScopeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingScopeProperty } } /** * The configuration for a `PivotTableVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html) */ public interface PivotTableConfigurationProperty { /** * The field options for a pivot table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html#cfn-quicksight-dashboard-pivottableconfiguration-fieldoptions) */ public fun fieldOptions(): Any? = unwrap(this).getFieldOptions() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html#cfn-quicksight-dashboard-pivottableconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The paginated report options for a pivot table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html#cfn-quicksight-dashboard-pivottableconfiguration-paginatedreportoptions) */ public fun paginatedReportOptions(): Any? = unwrap(this).getPaginatedReportOptions() /** * The sort configuration for a `PivotTableVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html#cfn-quicksight-dashboard-pivottableconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The table options for a pivot table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html#cfn-quicksight-dashboard-pivottableconfiguration-tableoptions) */ public fun tableOptions(): Any? = unwrap(this).getTableOptions() /** * The total options for a pivot table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html#cfn-quicksight-dashboard-pivottableconfiguration-totaloptions) */ public fun totalOptions(): Any? = unwrap(this).getTotalOptions() /** * A builder for [PivotTableConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldOptions The field options for a pivot table visual. */ public fun fieldOptions(fieldOptions: IResolvable) /** * @param fieldOptions The field options for a pivot table visual. */ public fun fieldOptions(fieldOptions: PivotTableFieldOptionsProperty) /** * @param fieldOptions The field options for a pivot table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5d42435eab098c1b12b40132f56d14f4b0ab210a64f07cb92132e9c4631b7019") public fun fieldOptions(fieldOptions: PivotTableFieldOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: PivotTableFieldWellsProperty) /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fa9280a7867c1d0f795d9f9546ccada6a3382276519fb079d98d30f8f760686d") public fun fieldWells(fieldWells: PivotTableFieldWellsProperty.Builder.() -> Unit) /** * @param paginatedReportOptions The paginated report options for a pivot table visual. */ public fun paginatedReportOptions(paginatedReportOptions: IResolvable) /** * @param paginatedReportOptions The paginated report options for a pivot table visual. */ public fun paginatedReportOptions(paginatedReportOptions: PivotTablePaginatedReportOptionsProperty) /** * @param paginatedReportOptions The paginated report options for a pivot table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("59ebc053b24f20a200fe6daefe1e6e56d1b718fecf2a9cc726770412aeb6871f") public fun paginatedReportOptions(paginatedReportOptions: PivotTablePaginatedReportOptionsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration for a `PivotTableVisual` . */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration for a `PivotTableVisual` . */ public fun sortConfiguration(sortConfiguration: PivotTableSortConfigurationProperty) /** * @param sortConfiguration The sort configuration for a `PivotTableVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5240da9bdc277a34dfed8c7aa6d48a640d06d9383f637620cb37c291489e57e2") public fun sortConfiguration(sortConfiguration: PivotTableSortConfigurationProperty.Builder.() -> Unit) /** * @param tableOptions The table options for a pivot table visual. */ public fun tableOptions(tableOptions: IResolvable) /** * @param tableOptions The table options for a pivot table visual. */ public fun tableOptions(tableOptions: PivotTableOptionsProperty) /** * @param tableOptions The table options for a pivot table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3b87ae4654b6034ad74934aeb82eac5a1f04b6e103f71fa4a1ba43644bf3b894") public fun tableOptions(tableOptions: PivotTableOptionsProperty.Builder.() -> Unit) /** * @param totalOptions The total options for a pivot table visual. */ public fun totalOptions(totalOptions: IResolvable) /** * @param totalOptions The total options for a pivot table visual. */ public fun totalOptions(totalOptions: PivotTableTotalOptionsProperty) /** * @param totalOptions The total options for a pivot table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6ae8ad57a393d4bb46e8294f2e0a5a10114a83fc960eea5234d5793261622901") public fun totalOptions(totalOptions: PivotTableTotalOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConfigurationProperty.builder() /** * @param fieldOptions The field options for a pivot table visual. */ override fun fieldOptions(fieldOptions: IResolvable) { cdkBuilder.fieldOptions(fieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param fieldOptions The field options for a pivot table visual. */ override fun fieldOptions(fieldOptions: PivotTableFieldOptionsProperty) { cdkBuilder.fieldOptions(fieldOptions.let(PivotTableFieldOptionsProperty.Companion::unwrap)) } /** * @param fieldOptions The field options for a pivot table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5d42435eab098c1b12b40132f56d14f4b0ab210a64f07cb92132e9c4631b7019") override fun fieldOptions(fieldOptions: PivotTableFieldOptionsProperty.Builder.() -> Unit): Unit = fieldOptions(PivotTableFieldOptionsProperty(fieldOptions)) /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: PivotTableFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(PivotTableFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fa9280a7867c1d0f795d9f9546ccada6a3382276519fb079d98d30f8f760686d") override fun fieldWells(fieldWells: PivotTableFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(PivotTableFieldWellsProperty(fieldWells)) /** * @param paginatedReportOptions The paginated report options for a pivot table visual. */ override fun paginatedReportOptions(paginatedReportOptions: IResolvable) { cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable.Companion::unwrap)) } /** * @param paginatedReportOptions The paginated report options for a pivot table visual. */ override fun paginatedReportOptions(paginatedReportOptions: PivotTablePaginatedReportOptionsProperty) { cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(PivotTablePaginatedReportOptionsProperty.Companion::unwrap)) } /** * @param paginatedReportOptions The paginated report options for a pivot table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("59ebc053b24f20a200fe6daefe1e6e56d1b718fecf2a9cc726770412aeb6871f") override fun paginatedReportOptions(paginatedReportOptions: PivotTablePaginatedReportOptionsProperty.Builder.() -> Unit): Unit = paginatedReportOptions(PivotTablePaginatedReportOptionsProperty(paginatedReportOptions)) /** * @param sortConfiguration The sort configuration for a `PivotTableVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration for a `PivotTableVisual` . */ override fun sortConfiguration(sortConfiguration: PivotTableSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(PivotTableSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration for a `PivotTableVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5240da9bdc277a34dfed8c7aa6d48a640d06d9383f637620cb37c291489e57e2") override fun sortConfiguration(sortConfiguration: PivotTableSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(PivotTableSortConfigurationProperty(sortConfiguration)) /** * @param tableOptions The table options for a pivot table visual. */ override fun tableOptions(tableOptions: IResolvable) { cdkBuilder.tableOptions(tableOptions.let(IResolvable.Companion::unwrap)) } /** * @param tableOptions The table options for a pivot table visual. */ override fun tableOptions(tableOptions: PivotTableOptionsProperty) { cdkBuilder.tableOptions(tableOptions.let(PivotTableOptionsProperty.Companion::unwrap)) } /** * @param tableOptions The table options for a pivot table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3b87ae4654b6034ad74934aeb82eac5a1f04b6e103f71fa4a1ba43644bf3b894") override fun tableOptions(tableOptions: PivotTableOptionsProperty.Builder.() -> Unit): Unit = tableOptions(PivotTableOptionsProperty(tableOptions)) /** * @param totalOptions The total options for a pivot table visual. */ override fun totalOptions(totalOptions: IResolvable) { cdkBuilder.totalOptions(totalOptions.let(IResolvable.Companion::unwrap)) } /** * @param totalOptions The total options for a pivot table visual. */ override fun totalOptions(totalOptions: PivotTableTotalOptionsProperty) { cdkBuilder.totalOptions(totalOptions.let(PivotTableTotalOptionsProperty.Companion::unwrap)) } /** * @param totalOptions The total options for a pivot table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6ae8ad57a393d4bb46e8294f2e0a5a10114a83fc960eea5234d5793261622901") override fun totalOptions(totalOptions: PivotTableTotalOptionsProperty.Builder.() -> Unit): Unit = totalOptions(PivotTableTotalOptionsProperty(totalOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConfigurationProperty, ) : CdkObject(cdkObject), PivotTableConfigurationProperty { /** * The field options for a pivot table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html#cfn-quicksight-dashboard-pivottableconfiguration-fieldoptions) */ override fun fieldOptions(): Any? = unwrap(this).getFieldOptions() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html#cfn-quicksight-dashboard-pivottableconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The paginated report options for a pivot table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html#cfn-quicksight-dashboard-pivottableconfiguration-paginatedreportoptions) */ override fun paginatedReportOptions(): Any? = unwrap(this).getPaginatedReportOptions() /** * The sort configuration for a `PivotTableVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html#cfn-quicksight-dashboard-pivottableconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The table options for a pivot table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html#cfn-quicksight-dashboard-pivottableconfiguration-tableoptions) */ override fun tableOptions(): Any? = unwrap(this).getTableOptions() /** * The total options for a pivot table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableconfiguration.html#cfn-quicksight-dashboard-pivottableconfiguration-totaloptions) */ override fun totalOptions(): Any? = unwrap(this).getTotalOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConfigurationProperty): PivotTableConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConfigurationProperty } } /** * The data path options for the pivot table field options. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableDataPathOptionProperty pivotTableDataPathOptionProperty = * PivotTableDataPathOptionProperty.builder() * .dataPathList(List.of(DataPathValueProperty.builder() * .dataPathType(DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build()) * .fieldId("fieldId") * .fieldValue("fieldValue") * .build())) * // the properties below are optional * .width("width") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabledatapathoption.html) */ public interface PivotTableDataPathOptionProperty { /** * The list of data path values for the data path options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabledatapathoption.html#cfn-quicksight-dashboard-pivottabledatapathoption-datapathlist) */ public fun dataPathList(): Any /** * The width of the data path option. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabledatapathoption.html#cfn-quicksight-dashboard-pivottabledatapathoption-width) */ public fun width(): String? = unwrap(this).getWidth() /** * A builder for [PivotTableDataPathOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param dataPathList The list of data path values for the data path options. */ public fun dataPathList(dataPathList: IResolvable) /** * @param dataPathList The list of data path values for the data path options. */ public fun dataPathList(dataPathList: List) /** * @param dataPathList The list of data path values for the data path options. */ public fun dataPathList(vararg dataPathList: Any) /** * @param width The width of the data path option. */ public fun width(width: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableDataPathOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableDataPathOptionProperty.builder() /** * @param dataPathList The list of data path values for the data path options. */ override fun dataPathList(dataPathList: IResolvable) { cdkBuilder.dataPathList(dataPathList.let(IResolvable.Companion::unwrap)) } /** * @param dataPathList The list of data path values for the data path options. */ override fun dataPathList(dataPathList: List) { cdkBuilder.dataPathList(dataPathList.map{CdkObjectWrappers.unwrap(it)}) } /** * @param dataPathList The list of data path values for the data path options. */ override fun dataPathList(vararg dataPathList: Any): Unit = dataPathList(dataPathList.toList()) /** * @param width The width of the data path option. */ override fun width(width: String) { cdkBuilder.width(width) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableDataPathOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableDataPathOptionProperty, ) : CdkObject(cdkObject), PivotTableDataPathOptionProperty { /** * The list of data path values for the data path options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabledatapathoption.html#cfn-quicksight-dashboard-pivottabledatapathoption-datapathlist) */ override fun dataPathList(): Any = unwrap(this).getDataPathList() /** * The width of the data path option. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabledatapathoption.html#cfn-quicksight-dashboard-pivottabledatapathoption-width) */ override fun width(): String? = unwrap(this).getWidth() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableDataPathOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableDataPathOptionProperty): PivotTableDataPathOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableDataPathOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableDataPathOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableDataPathOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableDataPathOptionProperty } } /** * The collapse state options for the pivot table field options. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableFieldCollapseStateOptionProperty pivotTableFieldCollapseStateOptionProperty = * PivotTableFieldCollapseStateOptionProperty.builder() * .target(PivotTableFieldCollapseStateTargetProperty.builder() * .fieldDataPathValues(List.of(DataPathValueProperty.builder() * .dataPathType(DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build()) * .fieldId("fieldId") * .fieldValue("fieldValue") * .build())) * .fieldId("fieldId") * .build()) * // the properties below are optional * .state("state") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldcollapsestateoption.html) */ public interface PivotTableFieldCollapseStateOptionProperty { /** * The state of the field target of a pivot table. Choose one of the following options:. * * * `COLLAPSED` * * `EXPANDED` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldcollapsestateoption.html#cfn-quicksight-dashboard-pivottablefieldcollapsestateoption-state) */ public fun state(): String? = unwrap(this).getState() /** * A tagged-union object that sets the collapse state. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldcollapsestateoption.html#cfn-quicksight-dashboard-pivottablefieldcollapsestateoption-target) */ public fun target(): Any /** * A builder for [PivotTableFieldCollapseStateOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param state The state of the field target of a pivot table. Choose one of the following * options:. * * `COLLAPSED` * * `EXPANDED` */ public fun state(state: String) /** * @param target A tagged-union object that sets the collapse state. */ public fun target(target: IResolvable) /** * @param target A tagged-union object that sets the collapse state. */ public fun target(target: PivotTableFieldCollapseStateTargetProperty) /** * @param target A tagged-union object that sets the collapse state. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("02426d269f0f706da62bd823e452a937c08d3cbf7942816f7d883fea1aa2b337") public fun target(target: PivotTableFieldCollapseStateTargetProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateOptionProperty.builder() /** * @param state The state of the field target of a pivot table. Choose one of the following * options:. * * `COLLAPSED` * * `EXPANDED` */ override fun state(state: String) { cdkBuilder.state(state) } /** * @param target A tagged-union object that sets the collapse state. */ override fun target(target: IResolvable) { cdkBuilder.target(target.let(IResolvable.Companion::unwrap)) } /** * @param target A tagged-union object that sets the collapse state. */ override fun target(target: PivotTableFieldCollapseStateTargetProperty) { cdkBuilder.target(target.let(PivotTableFieldCollapseStateTargetProperty.Companion::unwrap)) } /** * @param target A tagged-union object that sets the collapse state. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("02426d269f0f706da62bd823e452a937c08d3cbf7942816f7d883fea1aa2b337") override fun target(target: PivotTableFieldCollapseStateTargetProperty.Builder.() -> Unit): Unit = target(PivotTableFieldCollapseStateTargetProperty(target)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateOptionProperty, ) : CdkObject(cdkObject), PivotTableFieldCollapseStateOptionProperty { /** * The state of the field target of a pivot table. Choose one of the following options:. * * * `COLLAPSED` * * `EXPANDED` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldcollapsestateoption.html#cfn-quicksight-dashboard-pivottablefieldcollapsestateoption-state) */ override fun state(): String? = unwrap(this).getState() /** * A tagged-union object that sets the collapse state. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldcollapsestateoption.html#cfn-quicksight-dashboard-pivottablefieldcollapsestateoption-target) */ override fun target(): Any = unwrap(this).getTarget() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableFieldCollapseStateOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateOptionProperty): PivotTableFieldCollapseStateOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableFieldCollapseStateOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableFieldCollapseStateOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateOptionProperty } } /** * The target of a pivot table field collapse state. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableFieldCollapseStateTargetProperty pivotTableFieldCollapseStateTargetProperty = * PivotTableFieldCollapseStateTargetProperty.builder() * .fieldDataPathValues(List.of(DataPathValueProperty.builder() * .dataPathType(DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build()) * .fieldId("fieldId") * .fieldValue("fieldValue") * .build())) * .fieldId("fieldId") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldcollapsestatetarget.html) */ public interface PivotTableFieldCollapseStateTargetProperty { /** * The data path of the pivot table's header. * * Used to set the collapse state. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldcollapsestatetarget.html#cfn-quicksight-dashboard-pivottablefieldcollapsestatetarget-fielddatapathvalues) */ public fun fieldDataPathValues(): Any? = unwrap(this).getFieldDataPathValues() /** * The field ID of the pivot table that the collapse state needs to be set to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldcollapsestatetarget.html#cfn-quicksight-dashboard-pivottablefieldcollapsestatetarget-fieldid) */ public fun fieldId(): String? = unwrap(this).getFieldId() /** * A builder for [PivotTableFieldCollapseStateTargetProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldDataPathValues The data path of the pivot table's header. * Used to set the collapse state. */ public fun fieldDataPathValues(fieldDataPathValues: IResolvable) /** * @param fieldDataPathValues The data path of the pivot table's header. * Used to set the collapse state. */ public fun fieldDataPathValues(fieldDataPathValues: List) /** * @param fieldDataPathValues The data path of the pivot table's header. * Used to set the collapse state. */ public fun fieldDataPathValues(vararg fieldDataPathValues: Any) /** * @param fieldId The field ID of the pivot table that the collapse state needs to be set to. */ public fun fieldId(fieldId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateTargetProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateTargetProperty.builder() /** * @param fieldDataPathValues The data path of the pivot table's header. * Used to set the collapse state. */ override fun fieldDataPathValues(fieldDataPathValues: IResolvable) { cdkBuilder.fieldDataPathValues(fieldDataPathValues.let(IResolvable.Companion::unwrap)) } /** * @param fieldDataPathValues The data path of the pivot table's header. * Used to set the collapse state. */ override fun fieldDataPathValues(fieldDataPathValues: List) { cdkBuilder.fieldDataPathValues(fieldDataPathValues.map{CdkObjectWrappers.unwrap(it)}) } /** * @param fieldDataPathValues The data path of the pivot table's header. * Used to set the collapse state. */ override fun fieldDataPathValues(vararg fieldDataPathValues: Any): Unit = fieldDataPathValues(fieldDataPathValues.toList()) /** * @param fieldId The field ID of the pivot table that the collapse state needs to be set to. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateTargetProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateTargetProperty, ) : CdkObject(cdkObject), PivotTableFieldCollapseStateTargetProperty { /** * The data path of the pivot table's header. * * Used to set the collapse state. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldcollapsestatetarget.html#cfn-quicksight-dashboard-pivottablefieldcollapsestatetarget-fielddatapathvalues) */ override fun fieldDataPathValues(): Any? = unwrap(this).getFieldDataPathValues() /** * The field ID of the pivot table that the collapse state needs to be set to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldcollapsestatetarget.html#cfn-quicksight-dashboard-pivottablefieldcollapsestatetarget-fieldid) */ override fun fieldId(): String? = unwrap(this).getFieldId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableFieldCollapseStateTargetProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateTargetProperty): PivotTableFieldCollapseStateTargetProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableFieldCollapseStateTargetProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableFieldCollapseStateTargetProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateTargetProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldCollapseStateTargetProperty } } /** * The selected field options for the pivot table field options. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableFieldOptionProperty pivotTableFieldOptionProperty = * PivotTableFieldOptionProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .customLabel("customLabel") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoption.html) */ public interface PivotTableFieldOptionProperty { /** * The custom label of the pivot table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoption.html#cfn-quicksight-dashboard-pivottablefieldoption-customlabel) */ public fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The field ID of the pivot table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoption.html#cfn-quicksight-dashboard-pivottablefieldoption-fieldid) */ public fun fieldId(): String /** * The visibility of the pivot table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoption.html#cfn-quicksight-dashboard-pivottablefieldoption-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [PivotTableFieldOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param customLabel The custom label of the pivot table field. */ public fun customLabel(customLabel: String) /** * @param fieldId The field ID of the pivot table field. */ public fun fieldId(fieldId: String) /** * @param visibility The visibility of the pivot table field. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionProperty.builder() /** * @param customLabel The custom label of the pivot table field. */ override fun customLabel(customLabel: String) { cdkBuilder.customLabel(customLabel) } /** * @param fieldId The field ID of the pivot table field. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param visibility The visibility of the pivot table field. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionProperty, ) : CdkObject(cdkObject), PivotTableFieldOptionProperty { /** * The custom label of the pivot table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoption.html#cfn-quicksight-dashboard-pivottablefieldoption-customlabel) */ override fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The field ID of the pivot table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoption.html#cfn-quicksight-dashboard-pivottablefieldoption-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The visibility of the pivot table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoption.html#cfn-quicksight-dashboard-pivottablefieldoption-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableFieldOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionProperty): PivotTableFieldOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableFieldOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableFieldOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionProperty } } /** * The field options for a pivot table visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableFieldOptionsProperty pivotTableFieldOptionsProperty = * PivotTableFieldOptionsProperty.builder() * .collapseStateOptions(List.of(PivotTableFieldCollapseStateOptionProperty.builder() * .target(PivotTableFieldCollapseStateTargetProperty.builder() * .fieldDataPathValues(List.of(DataPathValueProperty.builder() * .dataPathType(DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build()) * .fieldId("fieldId") * .fieldValue("fieldValue") * .build())) * .fieldId("fieldId") * .build()) * // the properties below are optional * .state("state") * .build())) * .dataPathOptions(List.of(PivotTableDataPathOptionProperty.builder() * .dataPathList(List.of(DataPathValueProperty.builder() * .dataPathType(DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build()) * .fieldId("fieldId") * .fieldValue("fieldValue") * .build())) * // the properties below are optional * .width("width") * .build())) * .selectedFieldOptions(List.of(PivotTableFieldOptionProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .customLabel("customLabel") * .visibility("visibility") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoptions.html) */ public interface PivotTableFieldOptionsProperty { /** * The collapse state options for the pivot table field options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoptions.html#cfn-quicksight-dashboard-pivottablefieldoptions-collapsestateoptions) */ public fun collapseStateOptions(): Any? = unwrap(this).getCollapseStateOptions() /** * The data path options for the pivot table field options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoptions.html#cfn-quicksight-dashboard-pivottablefieldoptions-datapathoptions) */ public fun dataPathOptions(): Any? = unwrap(this).getDataPathOptions() /** * The selected field options for the pivot table field options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoptions.html#cfn-quicksight-dashboard-pivottablefieldoptions-selectedfieldoptions) */ public fun selectedFieldOptions(): Any? = unwrap(this).getSelectedFieldOptions() /** * A builder for [PivotTableFieldOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param collapseStateOptions The collapse state options for the pivot table field options. */ public fun collapseStateOptions(collapseStateOptions: IResolvable) /** * @param collapseStateOptions The collapse state options for the pivot table field options. */ public fun collapseStateOptions(collapseStateOptions: List) /** * @param collapseStateOptions The collapse state options for the pivot table field options. */ public fun collapseStateOptions(vararg collapseStateOptions: Any) /** * @param dataPathOptions The data path options for the pivot table field options. */ public fun dataPathOptions(dataPathOptions: IResolvable) /** * @param dataPathOptions The data path options for the pivot table field options. */ public fun dataPathOptions(dataPathOptions: List) /** * @param dataPathOptions The data path options for the pivot table field options. */ public fun dataPathOptions(vararg dataPathOptions: Any) /** * @param selectedFieldOptions The selected field options for the pivot table field options. */ public fun selectedFieldOptions(selectedFieldOptions: IResolvable) /** * @param selectedFieldOptions The selected field options for the pivot table field options. */ public fun selectedFieldOptions(selectedFieldOptions: List) /** * @param selectedFieldOptions The selected field options for the pivot table field options. */ public fun selectedFieldOptions(vararg selectedFieldOptions: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionsProperty.builder() /** * @param collapseStateOptions The collapse state options for the pivot table field options. */ override fun collapseStateOptions(collapseStateOptions: IResolvable) { cdkBuilder.collapseStateOptions(collapseStateOptions.let(IResolvable.Companion::unwrap)) } /** * @param collapseStateOptions The collapse state options for the pivot table field options. */ override fun collapseStateOptions(collapseStateOptions: List) { cdkBuilder.collapseStateOptions(collapseStateOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param collapseStateOptions The collapse state options for the pivot table field options. */ override fun collapseStateOptions(vararg collapseStateOptions: Any): Unit = collapseStateOptions(collapseStateOptions.toList()) /** * @param dataPathOptions The data path options for the pivot table field options. */ override fun dataPathOptions(dataPathOptions: IResolvable) { cdkBuilder.dataPathOptions(dataPathOptions.let(IResolvable.Companion::unwrap)) } /** * @param dataPathOptions The data path options for the pivot table field options. */ override fun dataPathOptions(dataPathOptions: List) { cdkBuilder.dataPathOptions(dataPathOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param dataPathOptions The data path options for the pivot table field options. */ override fun dataPathOptions(vararg dataPathOptions: Any): Unit = dataPathOptions(dataPathOptions.toList()) /** * @param selectedFieldOptions The selected field options for the pivot table field options. */ override fun selectedFieldOptions(selectedFieldOptions: IResolvable) { cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param selectedFieldOptions The selected field options for the pivot table field options. */ override fun selectedFieldOptions(selectedFieldOptions: List) { cdkBuilder.selectedFieldOptions(selectedFieldOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param selectedFieldOptions The selected field options for the pivot table field options. */ override fun selectedFieldOptions(vararg selectedFieldOptions: Any): Unit = selectedFieldOptions(selectedFieldOptions.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionsProperty, ) : CdkObject(cdkObject), PivotTableFieldOptionsProperty { /** * The collapse state options for the pivot table field options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoptions.html#cfn-quicksight-dashboard-pivottablefieldoptions-collapsestateoptions) */ override fun collapseStateOptions(): Any? = unwrap(this).getCollapseStateOptions() /** * The data path options for the pivot table field options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoptions.html#cfn-quicksight-dashboard-pivottablefieldoptions-datapathoptions) */ override fun dataPathOptions(): Any? = unwrap(this).getDataPathOptions() /** * The selected field options for the pivot table field options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldoptions.html#cfn-quicksight-dashboard-pivottablefieldoptions-selectedfieldoptions) */ override fun selectedFieldOptions(): Any? = unwrap(this).getSelectedFieldOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableFieldOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionsProperty): PivotTableFieldOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableFieldOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableFieldOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldOptionsProperty } } /** * The optional configuration of subtotals cells. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableFieldSubtotalOptionsProperty pivotTableFieldSubtotalOptionsProperty = * PivotTableFieldSubtotalOptionsProperty.builder() * .fieldId("fieldId") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldsubtotaloptions.html) */ public interface PivotTableFieldSubtotalOptionsProperty { /** * The field ID of the subtotal options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldsubtotaloptions.html#cfn-quicksight-dashboard-pivottablefieldsubtotaloptions-fieldid) */ public fun fieldId(): String? = unwrap(this).getFieldId() /** * A builder for [PivotTableFieldSubtotalOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldId The field ID of the subtotal options. */ public fun fieldId(fieldId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldSubtotalOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldSubtotalOptionsProperty.builder() /** * @param fieldId The field ID of the subtotal options. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldSubtotalOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldSubtotalOptionsProperty, ) : CdkObject(cdkObject), PivotTableFieldSubtotalOptionsProperty { /** * The field ID of the subtotal options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldsubtotaloptions.html#cfn-quicksight-dashboard-pivottablefieldsubtotaloptions-fieldid) */ override fun fieldId(): String? = unwrap(this).getFieldId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableFieldSubtotalOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldSubtotalOptionsProperty): PivotTableFieldSubtotalOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableFieldSubtotalOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableFieldSubtotalOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldSubtotalOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldSubtotalOptionsProperty } } /** * The field wells for a pivot table visual. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldwells.html) */ public interface PivotTableFieldWellsProperty { /** * The aggregated field well for the pivot table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldwells.html#cfn-quicksight-dashboard-pivottablefieldwells-pivottableaggregatedfieldwells) */ public fun pivotTableAggregatedFieldWells(): Any? = unwrap(this).getPivotTableAggregatedFieldWells() /** * A builder for [PivotTableFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param pivotTableAggregatedFieldWells The aggregated field well for the pivot table. */ public fun pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells: IResolvable) /** * @param pivotTableAggregatedFieldWells The aggregated field well for the pivot table. */ public fun pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells: PivotTableAggregatedFieldWellsProperty) /** * @param pivotTableAggregatedFieldWells The aggregated field well for the pivot table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e730fe94781b5384f6b29ffbabb3afede04ed138de948ca788dab9a450f22f55") public fun pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells: PivotTableAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldWellsProperty.builder() /** * @param pivotTableAggregatedFieldWells The aggregated field well for the pivot table. */ override fun pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells: IResolvable) { cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param pivotTableAggregatedFieldWells The aggregated field well for the pivot table. */ override fun pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells: PivotTableAggregatedFieldWellsProperty) { cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(PivotTableAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param pivotTableAggregatedFieldWells The aggregated field well for the pivot table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e730fe94781b5384f6b29ffbabb3afede04ed138de948ca788dab9a450f22f55") override fun pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells: PivotTableAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = pivotTableAggregatedFieldWells(PivotTableAggregatedFieldWellsProperty(pivotTableAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldWellsProperty, ) : CdkObject(cdkObject), PivotTableFieldWellsProperty { /** * The aggregated field well for the pivot table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablefieldwells.html#cfn-quicksight-dashboard-pivottablefieldwells-pivottableaggregatedfieldwells) */ override fun pivotTableAggregatedFieldWells(): Any? = unwrap(this).getPivotTableAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldWellsProperty): PivotTableFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableFieldWellsProperty } } /** * The table options for a pivot table visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableOptionsProperty pivotTableOptionsProperty = PivotTableOptionsProperty.builder() * .cellStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .collapsedRowDimensionsVisibility("collapsedRowDimensionsVisibility") * .columnHeaderStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .columnNamesVisibility("columnNamesVisibility") * .defaultCellWidth("defaultCellWidth") * .metricPlacement("metricPlacement") * .rowAlternateColorOptions(RowAlternateColorOptionsProperty.builder() * .rowAlternateColors(List.of("rowAlternateColors")) * .status("status") * .usePrimaryBackgroundColor("usePrimaryBackgroundColor") * .build()) * .rowFieldNamesStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .rowHeaderStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .rowsLabelOptions(PivotTableRowsLabelOptionsProperty.builder() * .customLabel("customLabel") * .visibility("visibility") * .build()) * .rowsLayout("rowsLayout") * .singleMetricVisibility("singleMetricVisibility") * .toggleButtonsVisibility("toggleButtonsVisibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html) */ public interface PivotTableOptionsProperty { /** * The table cell style of cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-cellstyle) */ public fun cellStyle(): Any? = unwrap(this).getCellStyle() /** * The visibility setting of a pivot table's collapsed row dimension fields. * * If the value of this structure is `HIDDEN` , all collapsed columns in a pivot table are * automatically hidden. The default value is `VISIBLE` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-collapsedrowdimensionsvisibility) */ public fun collapsedRowDimensionsVisibility(): String? = unwrap(this).getCollapsedRowDimensionsVisibility() /** * The table cell style of the column header. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-columnheaderstyle) */ public fun columnHeaderStyle(): Any? = unwrap(this).getColumnHeaderStyle() /** * The visibility of the column names. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-columnnamesvisibility) */ public fun columnNamesVisibility(): String? = unwrap(this).getColumnNamesVisibility() /** * The default cell width of the pivot table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-defaultcellwidth) */ public fun defaultCellWidth(): String? = unwrap(this).getDefaultCellWidth() /** * The metric placement (row, column) options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-metricplacement) */ public fun metricPlacement(): String? = unwrap(this).getMetricPlacement() /** * The row alternate color options (widget status, row alternate colors). * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-rowalternatecoloroptions) */ public fun rowAlternateColorOptions(): Any? = unwrap(this).getRowAlternateColorOptions() /** * The table cell style of row field names. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-rowfieldnamesstyle) */ public fun rowFieldNamesStyle(): Any? = unwrap(this).getRowFieldNamesStyle() /** * The table cell style of the row headers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-rowheaderstyle) */ public fun rowHeaderStyle(): Any? = unwrap(this).getRowHeaderStyle() /** * The options for the label that is located above the row headers. * * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-rowslabeloptions) */ public fun rowsLabelOptions(): Any? = unwrap(this).getRowsLabelOptions() /** * The layout for the row dimension headers of a pivot table. Choose one of the following * options. * * * `TABULAR` : (Default) Each row field is displayed in a separate column. * * `HIERARCHY` : All row fields are displayed in a single column. Indentation is used to * differentiate row headers of different fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-rowslayout) */ public fun rowsLayout(): String? = unwrap(this).getRowsLayout() /** * The visibility of the single metric options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-singlemetricvisibility) */ public fun singleMetricVisibility(): String? = unwrap(this).getSingleMetricVisibility() /** * Determines the visibility of the pivot table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-togglebuttonsvisibility) */ public fun toggleButtonsVisibility(): String? = unwrap(this).getToggleButtonsVisibility() /** * A builder for [PivotTableOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param cellStyle The table cell style of cells. */ public fun cellStyle(cellStyle: IResolvable) /** * @param cellStyle The table cell style of cells. */ public fun cellStyle(cellStyle: TableCellStyleProperty) /** * @param cellStyle The table cell style of cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9ef8d2a158091533d838cbbdde9cd1aef68c4797967340658a0640e37d6558da") public fun cellStyle(cellStyle: TableCellStyleProperty.Builder.() -> Unit) /** * @param collapsedRowDimensionsVisibility The visibility setting of a pivot table's collapsed * row dimension fields. * If the value of this structure is `HIDDEN` , all collapsed columns in a pivot table are * automatically hidden. The default value is `VISIBLE` . */ public fun collapsedRowDimensionsVisibility(collapsedRowDimensionsVisibility: String) /** * @param columnHeaderStyle The table cell style of the column header. */ public fun columnHeaderStyle(columnHeaderStyle: IResolvable) /** * @param columnHeaderStyle The table cell style of the column header. */ public fun columnHeaderStyle(columnHeaderStyle: TableCellStyleProperty) /** * @param columnHeaderStyle The table cell style of the column header. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("62a589d129ffafc958ac25a286e12b4187358d1b04107d2cd46a14e09a013257") public fun columnHeaderStyle(columnHeaderStyle: TableCellStyleProperty.Builder.() -> Unit) /** * @param columnNamesVisibility The visibility of the column names. */ public fun columnNamesVisibility(columnNamesVisibility: String) /** * @param defaultCellWidth The default cell width of the pivot table. */ public fun defaultCellWidth(defaultCellWidth: String) /** * @param metricPlacement The metric placement (row, column) options. */ public fun metricPlacement(metricPlacement: String) /** * @param rowAlternateColorOptions The row alternate color options (widget status, row * alternate colors). */ public fun rowAlternateColorOptions(rowAlternateColorOptions: IResolvable) /** * @param rowAlternateColorOptions The row alternate color options (widget status, row * alternate colors). */ public fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty) /** * @param rowAlternateColorOptions The row alternate color options (widget status, row * alternate colors). */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5c1d913157bd5528c673c8978c378f7629cacd2b72ede8d5d26300ee03ea6a50") public fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty.Builder.() -> Unit) /** * @param rowFieldNamesStyle The table cell style of row field names. */ public fun rowFieldNamesStyle(rowFieldNamesStyle: IResolvable) /** * @param rowFieldNamesStyle The table cell style of row field names. */ public fun rowFieldNamesStyle(rowFieldNamesStyle: TableCellStyleProperty) /** * @param rowFieldNamesStyle The table cell style of row field names. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("339f9e2a16889d93e65da328a1ee74c60239b8d55c016e974971d4d6b0e32a5e") public fun rowFieldNamesStyle(rowFieldNamesStyle: TableCellStyleProperty.Builder.() -> Unit) /** * @param rowHeaderStyle The table cell style of the row headers. */ public fun rowHeaderStyle(rowHeaderStyle: IResolvable) /** * @param rowHeaderStyle The table cell style of the row headers. */ public fun rowHeaderStyle(rowHeaderStyle: TableCellStyleProperty) /** * @param rowHeaderStyle The table cell style of the row headers. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("32b970c1f18fd7405a3ab7e0ac8465fc5cf520407df97b4515239554b7fab5c5") public fun rowHeaderStyle(rowHeaderStyle: TableCellStyleProperty.Builder.() -> Unit) /** * @param rowsLabelOptions The options for the label that is located above the row headers. * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . */ public fun rowsLabelOptions(rowsLabelOptions: IResolvable) /** * @param rowsLabelOptions The options for the label that is located above the row headers. * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . */ public fun rowsLabelOptions(rowsLabelOptions: PivotTableRowsLabelOptionsProperty) /** * @param rowsLabelOptions The options for the label that is located above the row headers. * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("98ded948c7eb6d406b4450c9be89773b864dc14bc8710c95a6eca4b9a5f3b8de") public fun rowsLabelOptions(rowsLabelOptions: PivotTableRowsLabelOptionsProperty.Builder.() -> Unit) /** * @param rowsLayout The layout for the row dimension headers of a pivot table. Choose one of * the following options. * * `TABULAR` : (Default) Each row field is displayed in a separate column. * * `HIERARCHY` : All row fields are displayed in a single column. Indentation is used to * differentiate row headers of different fields. */ public fun rowsLayout(rowsLayout: String) /** * @param singleMetricVisibility The visibility of the single metric options. */ public fun singleMetricVisibility(singleMetricVisibility: String) /** * @param toggleButtonsVisibility Determines the visibility of the pivot table. */ public fun toggleButtonsVisibility(toggleButtonsVisibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableOptionsProperty.builder() /** * @param cellStyle The table cell style of cells. */ override fun cellStyle(cellStyle: IResolvable) { cdkBuilder.cellStyle(cellStyle.let(IResolvable.Companion::unwrap)) } /** * @param cellStyle The table cell style of cells. */ override fun cellStyle(cellStyle: TableCellStyleProperty) { cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param cellStyle The table cell style of cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9ef8d2a158091533d838cbbdde9cd1aef68c4797967340658a0640e37d6558da") override fun cellStyle(cellStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = cellStyle(TableCellStyleProperty(cellStyle)) /** * @param collapsedRowDimensionsVisibility The visibility setting of a pivot table's collapsed * row dimension fields. * If the value of this structure is `HIDDEN` , all collapsed columns in a pivot table are * automatically hidden. The default value is `VISIBLE` . */ override fun collapsedRowDimensionsVisibility(collapsedRowDimensionsVisibility: String) { cdkBuilder.collapsedRowDimensionsVisibility(collapsedRowDimensionsVisibility) } /** * @param columnHeaderStyle The table cell style of the column header. */ override fun columnHeaderStyle(columnHeaderStyle: IResolvable) { cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(IResolvable.Companion::unwrap)) } /** * @param columnHeaderStyle The table cell style of the column header. */ override fun columnHeaderStyle(columnHeaderStyle: TableCellStyleProperty) { cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param columnHeaderStyle The table cell style of the column header. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("62a589d129ffafc958ac25a286e12b4187358d1b04107d2cd46a14e09a013257") override fun columnHeaderStyle(columnHeaderStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = columnHeaderStyle(TableCellStyleProperty(columnHeaderStyle)) /** * @param columnNamesVisibility The visibility of the column names. */ override fun columnNamesVisibility(columnNamesVisibility: String) { cdkBuilder.columnNamesVisibility(columnNamesVisibility) } /** * @param defaultCellWidth The default cell width of the pivot table. */ override fun defaultCellWidth(defaultCellWidth: String) { cdkBuilder.defaultCellWidth(defaultCellWidth) } /** * @param metricPlacement The metric placement (row, column) options. */ override fun metricPlacement(metricPlacement: String) { cdkBuilder.metricPlacement(metricPlacement) } /** * @param rowAlternateColorOptions The row alternate color options (widget status, row * alternate colors). */ override fun rowAlternateColorOptions(rowAlternateColorOptions: IResolvable) { cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowAlternateColorOptions The row alternate color options (widget status, row * alternate colors). */ override fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty) { cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty.Companion::unwrap)) } /** * @param rowAlternateColorOptions The row alternate color options (widget status, row * alternate colors). */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5c1d913157bd5528c673c8978c378f7629cacd2b72ede8d5d26300ee03ea6a50") override fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty.Builder.() -> Unit): Unit = rowAlternateColorOptions(RowAlternateColorOptionsProperty(rowAlternateColorOptions)) /** * @param rowFieldNamesStyle The table cell style of row field names. */ override fun rowFieldNamesStyle(rowFieldNamesStyle: IResolvable) { cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(IResolvable.Companion::unwrap)) } /** * @param rowFieldNamesStyle The table cell style of row field names. */ override fun rowFieldNamesStyle(rowFieldNamesStyle: TableCellStyleProperty) { cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param rowFieldNamesStyle The table cell style of row field names. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("339f9e2a16889d93e65da328a1ee74c60239b8d55c016e974971d4d6b0e32a5e") override fun rowFieldNamesStyle(rowFieldNamesStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = rowFieldNamesStyle(TableCellStyleProperty(rowFieldNamesStyle)) /** * @param rowHeaderStyle The table cell style of the row headers. */ override fun rowHeaderStyle(rowHeaderStyle: IResolvable) { cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(IResolvable.Companion::unwrap)) } /** * @param rowHeaderStyle The table cell style of the row headers. */ override fun rowHeaderStyle(rowHeaderStyle: TableCellStyleProperty) { cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param rowHeaderStyle The table cell style of the row headers. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("32b970c1f18fd7405a3ab7e0ac8465fc5cf520407df97b4515239554b7fab5c5") override fun rowHeaderStyle(rowHeaderStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = rowHeaderStyle(TableCellStyleProperty(rowHeaderStyle)) /** * @param rowsLabelOptions The options for the label that is located above the row headers. * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . */ override fun rowsLabelOptions(rowsLabelOptions: IResolvable) { cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowsLabelOptions The options for the label that is located above the row headers. * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . */ override fun rowsLabelOptions(rowsLabelOptions: PivotTableRowsLabelOptionsProperty) { cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(PivotTableRowsLabelOptionsProperty.Companion::unwrap)) } /** * @param rowsLabelOptions The options for the label that is located above the row headers. * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("98ded948c7eb6d406b4450c9be89773b864dc14bc8710c95a6eca4b9a5f3b8de") override fun rowsLabelOptions(rowsLabelOptions: PivotTableRowsLabelOptionsProperty.Builder.() -> Unit): Unit = rowsLabelOptions(PivotTableRowsLabelOptionsProperty(rowsLabelOptions)) /** * @param rowsLayout The layout for the row dimension headers of a pivot table. Choose one of * the following options. * * `TABULAR` : (Default) Each row field is displayed in a separate column. * * `HIERARCHY` : All row fields are displayed in a single column. Indentation is used to * differentiate row headers of different fields. */ override fun rowsLayout(rowsLayout: String) { cdkBuilder.rowsLayout(rowsLayout) } /** * @param singleMetricVisibility The visibility of the single metric options. */ override fun singleMetricVisibility(singleMetricVisibility: String) { cdkBuilder.singleMetricVisibility(singleMetricVisibility) } /** * @param toggleButtonsVisibility Determines the visibility of the pivot table. */ override fun toggleButtonsVisibility(toggleButtonsVisibility: String) { cdkBuilder.toggleButtonsVisibility(toggleButtonsVisibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableOptionsProperty, ) : CdkObject(cdkObject), PivotTableOptionsProperty { /** * The table cell style of cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-cellstyle) */ override fun cellStyle(): Any? = unwrap(this).getCellStyle() /** * The visibility setting of a pivot table's collapsed row dimension fields. * * If the value of this structure is `HIDDEN` , all collapsed columns in a pivot table are * automatically hidden. The default value is `VISIBLE` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-collapsedrowdimensionsvisibility) */ override fun collapsedRowDimensionsVisibility(): String? = unwrap(this).getCollapsedRowDimensionsVisibility() /** * The table cell style of the column header. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-columnheaderstyle) */ override fun columnHeaderStyle(): Any? = unwrap(this).getColumnHeaderStyle() /** * The visibility of the column names. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-columnnamesvisibility) */ override fun columnNamesVisibility(): String? = unwrap(this).getColumnNamesVisibility() /** * The default cell width of the pivot table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-defaultcellwidth) */ override fun defaultCellWidth(): String? = unwrap(this).getDefaultCellWidth() /** * The metric placement (row, column) options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-metricplacement) */ override fun metricPlacement(): String? = unwrap(this).getMetricPlacement() /** * The row alternate color options (widget status, row alternate colors). * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-rowalternatecoloroptions) */ override fun rowAlternateColorOptions(): Any? = unwrap(this).getRowAlternateColorOptions() /** * The table cell style of row field names. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-rowfieldnamesstyle) */ override fun rowFieldNamesStyle(): Any? = unwrap(this).getRowFieldNamesStyle() /** * The table cell style of the row headers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-rowheaderstyle) */ override fun rowHeaderStyle(): Any? = unwrap(this).getRowHeaderStyle() /** * The options for the label that is located above the row headers. * * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-rowslabeloptions) */ override fun rowsLabelOptions(): Any? = unwrap(this).getRowsLabelOptions() /** * The layout for the row dimension headers of a pivot table. Choose one of the following * options. * * * `TABULAR` : (Default) Each row field is displayed in a separate column. * * `HIERARCHY` : All row fields are displayed in a single column. Indentation is used to * differentiate row headers of different fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-rowslayout) */ override fun rowsLayout(): String? = unwrap(this).getRowsLayout() /** * The visibility of the single metric options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-singlemetricvisibility) */ override fun singleMetricVisibility(): String? = unwrap(this).getSingleMetricVisibility() /** * Determines the visibility of the pivot table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottableoptions.html#cfn-quicksight-dashboard-pivottableoptions-togglebuttonsvisibility) */ override fun toggleButtonsVisibility(): String? = unwrap(this).getToggleButtonsVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableOptionsProperty): PivotTableOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableOptionsProperty } } /** * The paginated report options for a pivot table visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTablePaginatedReportOptionsProperty pivotTablePaginatedReportOptionsProperty = * PivotTablePaginatedReportOptionsProperty.builder() * .overflowColumnHeaderVisibility("overflowColumnHeaderVisibility") * .verticalOverflowVisibility("verticalOverflowVisibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablepaginatedreportoptions.html) */ public interface PivotTablePaginatedReportOptionsProperty { /** * The visibility of the repeating header rows on each page. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablepaginatedreportoptions.html#cfn-quicksight-dashboard-pivottablepaginatedreportoptions-overflowcolumnheadervisibility) */ public fun overflowColumnHeaderVisibility(): String? = unwrap(this).getOverflowColumnHeaderVisibility() /** * The visibility of the printing table overflow across pages. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablepaginatedreportoptions.html#cfn-quicksight-dashboard-pivottablepaginatedreportoptions-verticaloverflowvisibility) */ public fun verticalOverflowVisibility(): String? = unwrap(this).getVerticalOverflowVisibility() /** * A builder for [PivotTablePaginatedReportOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param overflowColumnHeaderVisibility The visibility of the repeating header rows on each * page. */ public fun overflowColumnHeaderVisibility(overflowColumnHeaderVisibility: String) /** * @param verticalOverflowVisibility The visibility of the printing table overflow across * pages. */ public fun verticalOverflowVisibility(verticalOverflowVisibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTablePaginatedReportOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTablePaginatedReportOptionsProperty.builder() /** * @param overflowColumnHeaderVisibility The visibility of the repeating header rows on each * page. */ override fun overflowColumnHeaderVisibility(overflowColumnHeaderVisibility: String) { cdkBuilder.overflowColumnHeaderVisibility(overflowColumnHeaderVisibility) } /** * @param verticalOverflowVisibility The visibility of the printing table overflow across * pages. */ override fun verticalOverflowVisibility(verticalOverflowVisibility: String) { cdkBuilder.verticalOverflowVisibility(verticalOverflowVisibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTablePaginatedReportOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTablePaginatedReportOptionsProperty, ) : CdkObject(cdkObject), PivotTablePaginatedReportOptionsProperty { /** * The visibility of the repeating header rows on each page. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablepaginatedreportoptions.html#cfn-quicksight-dashboard-pivottablepaginatedreportoptions-overflowcolumnheadervisibility) */ override fun overflowColumnHeaderVisibility(): String? = unwrap(this).getOverflowColumnHeaderVisibility() /** * The visibility of the printing table overflow across pages. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablepaginatedreportoptions.html#cfn-quicksight-dashboard-pivottablepaginatedreportoptions-verticaloverflowvisibility) */ override fun verticalOverflowVisibility(): String? = unwrap(this).getVerticalOverflowVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTablePaginatedReportOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTablePaginatedReportOptionsProperty): PivotTablePaginatedReportOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTablePaginatedReportOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTablePaginatedReportOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTablePaginatedReportOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTablePaginatedReportOptionsProperty } } /** * The options for the label thta is located above the row headers. * * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableRowsLabelOptionsProperty pivotTableRowsLabelOptionsProperty = * PivotTableRowsLabelOptionsProperty.builder() * .customLabel("customLabel") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablerowslabeloptions.html) */ public interface PivotTableRowsLabelOptionsProperty { /** * The custom label string for the rows label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablerowslabeloptions.html#cfn-quicksight-dashboard-pivottablerowslabeloptions-customlabel) */ public fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The visibility of the rows label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablerowslabeloptions.html#cfn-quicksight-dashboard-pivottablerowslabeloptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [PivotTableRowsLabelOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param customLabel The custom label string for the rows label. */ public fun customLabel(customLabel: String) /** * @param visibility The visibility of the rows label. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableRowsLabelOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableRowsLabelOptionsProperty.builder() /** * @param customLabel The custom label string for the rows label. */ override fun customLabel(customLabel: String) { cdkBuilder.customLabel(customLabel) } /** * @param visibility The visibility of the rows label. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableRowsLabelOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableRowsLabelOptionsProperty, ) : CdkObject(cdkObject), PivotTableRowsLabelOptionsProperty { /** * The custom label string for the rows label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablerowslabeloptions.html#cfn-quicksight-dashboard-pivottablerowslabeloptions-customlabel) */ override fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The visibility of the rows label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablerowslabeloptions.html#cfn-quicksight-dashboard-pivottablerowslabeloptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableRowsLabelOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableRowsLabelOptionsProperty): PivotTableRowsLabelOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableRowsLabelOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableRowsLabelOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableRowsLabelOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableRowsLabelOptionsProperty } } /** * The sort by field for the field sort options. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableSortByProperty pivotTableSortByProperty = PivotTableSortByProperty.builder() * .column(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .dataPath(DataPathSortProperty.builder() * .direction("direction") * .sortPaths(List.of(DataPathValueProperty.builder() * .dataPathType(DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build()) * .fieldId("fieldId") * .fieldValue("fieldValue") * .build())) * .build()) * .field(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablesortby.html) */ public interface PivotTableSortByProperty { /** * The column sort (field id, direction) for the pivot table sort by options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablesortby.html#cfn-quicksight-dashboard-pivottablesortby-column) */ public fun column(): Any? = unwrap(this).getColumn() /** * The data path sort (data path value, direction) for the pivot table sort by options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablesortby.html#cfn-quicksight-dashboard-pivottablesortby-datapath) */ public fun dataPath(): Any? = unwrap(this).getDataPath() /** * The field sort (field id, direction) for the pivot table sort by options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablesortby.html#cfn-quicksight-dashboard-pivottablesortby-field) */ public fun `field`(): Any? = unwrap(this).getField() /** * A builder for [PivotTableSortByProperty] */ @CdkDslMarker public interface Builder { /** * @param column The column sort (field id, direction) for the pivot table sort by options. */ public fun column(column: IResolvable) /** * @param column The column sort (field id, direction) for the pivot table sort by options. */ public fun column(column: ColumnSortProperty) /** * @param column The column sort (field id, direction) for the pivot table sort by options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8363e5bb5f6d95fc4197e5ca678389962cf8739ebf76da8b2801f3147e8b4de7") public fun column(column: ColumnSortProperty.Builder.() -> Unit) /** * @param dataPath The data path sort (data path value, direction) for the pivot table sort by * options. */ public fun dataPath(dataPath: IResolvable) /** * @param dataPath The data path sort (data path value, direction) for the pivot table sort by * options. */ public fun dataPath(dataPath: DataPathSortProperty) /** * @param dataPath The data path sort (data path value, direction) for the pivot table sort by * options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5a6a93b0e5a7e0ab99d4ca5b2804ba20ab5dbb953fd6258f8e5ffb34c286fb24") public fun dataPath(dataPath: DataPathSortProperty.Builder.() -> Unit) /** * @param field The field sort (field id, direction) for the pivot table sort by options. */ public fun `field`(`field`: IResolvable) /** * @param field The field sort (field id, direction) for the pivot table sort by options. */ public fun `field`(`field`: FieldSortProperty) /** * @param field The field sort (field id, direction) for the pivot table sort by options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ef70e2e230650f0dfcfc65ff15fc6696783e70805eee29690f6ac396b013092d") public fun `field`(`field`: FieldSortProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortByProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortByProperty.builder() /** * @param column The column sort (field id, direction) for the pivot table sort by options. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column sort (field id, direction) for the pivot table sort by options. */ override fun column(column: ColumnSortProperty) { cdkBuilder.column(column.let(ColumnSortProperty.Companion::unwrap)) } /** * @param column The column sort (field id, direction) for the pivot table sort by options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8363e5bb5f6d95fc4197e5ca678389962cf8739ebf76da8b2801f3147e8b4de7") override fun column(column: ColumnSortProperty.Builder.() -> Unit): Unit = column(ColumnSortProperty(column)) /** * @param dataPath The data path sort (data path value, direction) for the pivot table sort by * options. */ override fun dataPath(dataPath: IResolvable) { cdkBuilder.dataPath(dataPath.let(IResolvable.Companion::unwrap)) } /** * @param dataPath The data path sort (data path value, direction) for the pivot table sort by * options. */ override fun dataPath(dataPath: DataPathSortProperty) { cdkBuilder.dataPath(dataPath.let(DataPathSortProperty.Companion::unwrap)) } /** * @param dataPath The data path sort (data path value, direction) for the pivot table sort by * options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5a6a93b0e5a7e0ab99d4ca5b2804ba20ab5dbb953fd6258f8e5ffb34c286fb24") override fun dataPath(dataPath: DataPathSortProperty.Builder.() -> Unit): Unit = dataPath(DataPathSortProperty(dataPath)) /** * @param field The field sort (field id, direction) for the pivot table sort by options. */ override fun `field`(`field`: IResolvable) { cdkBuilder.`field`(`field`.let(IResolvable.Companion::unwrap)) } /** * @param field The field sort (field id, direction) for the pivot table sort by options. */ override fun `field`(`field`: FieldSortProperty) { cdkBuilder.`field`(`field`.let(FieldSortProperty.Companion::unwrap)) } /** * @param field The field sort (field id, direction) for the pivot table sort by options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ef70e2e230650f0dfcfc65ff15fc6696783e70805eee29690f6ac396b013092d") override fun `field`(`field`: FieldSortProperty.Builder.() -> Unit): Unit = `field`(FieldSortProperty(`field`)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortByProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortByProperty, ) : CdkObject(cdkObject), PivotTableSortByProperty { /** * The column sort (field id, direction) for the pivot table sort by options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablesortby.html#cfn-quicksight-dashboard-pivottablesortby-column) */ override fun column(): Any? = unwrap(this).getColumn() /** * The data path sort (data path value, direction) for the pivot table sort by options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablesortby.html#cfn-quicksight-dashboard-pivottablesortby-datapath) */ override fun dataPath(): Any? = unwrap(this).getDataPath() /** * The field sort (field id, direction) for the pivot table sort by options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablesortby.html#cfn-quicksight-dashboard-pivottablesortby-field) */ override fun `field`(): Any? = unwrap(this).getField() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableSortByProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortByProperty): PivotTableSortByProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableSortByProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableSortByProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortByProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortByProperty } } /** * The sort configuration for a `PivotTableVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTableSortConfigurationProperty pivotTableSortConfigurationProperty = * PivotTableSortConfigurationProperty.builder() * .fieldSortOptions(List.of(PivotFieldSortOptionsProperty.builder() * .fieldId("fieldId") * .sortBy(PivotTableSortByProperty.builder() * .column(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .dataPath(DataPathSortProperty.builder() * .direction("direction") * .sortPaths(List.of(DataPathValueProperty.builder() * .dataPathType(DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build()) * .fieldId("fieldId") * .fieldValue("fieldValue") * .build())) * .build()) * .field(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablesortconfiguration.html) */ public interface PivotTableSortConfigurationProperty { /** * The field sort options for a pivot table sort configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablesortconfiguration.html#cfn-quicksight-dashboard-pivottablesortconfiguration-fieldsortoptions) */ public fun fieldSortOptions(): Any? = unwrap(this).getFieldSortOptions() /** * A builder for [PivotTableSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldSortOptions The field sort options for a pivot table sort configuration. */ public fun fieldSortOptions(fieldSortOptions: IResolvable) /** * @param fieldSortOptions The field sort options for a pivot table sort configuration. */ public fun fieldSortOptions(fieldSortOptions: List) /** * @param fieldSortOptions The field sort options for a pivot table sort configuration. */ public fun fieldSortOptions(vararg fieldSortOptions: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortConfigurationProperty.builder() /** * @param fieldSortOptions The field sort options for a pivot table sort configuration. */ override fun fieldSortOptions(fieldSortOptions: IResolvable) { cdkBuilder.fieldSortOptions(fieldSortOptions.let(IResolvable.Companion::unwrap)) } /** * @param fieldSortOptions The field sort options for a pivot table sort configuration. */ override fun fieldSortOptions(fieldSortOptions: List) { cdkBuilder.fieldSortOptions(fieldSortOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param fieldSortOptions The field sort options for a pivot table sort configuration. */ override fun fieldSortOptions(vararg fieldSortOptions: Any): Unit = fieldSortOptions(fieldSortOptions.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortConfigurationProperty, ) : CdkObject(cdkObject), PivotTableSortConfigurationProperty { /** * The field sort options for a pivot table sort configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablesortconfiguration.html#cfn-quicksight-dashboard-pivottablesortconfiguration-fieldsortoptions) */ override fun fieldSortOptions(): Any? = unwrap(this).getFieldSortOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortConfigurationProperty): PivotTableSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortConfigurationProperty } } /** * The total options for a pivot table visual. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabletotaloptions.html) */ public interface PivotTableTotalOptionsProperty { /** * The column subtotal options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabletotaloptions.html#cfn-quicksight-dashboard-pivottabletotaloptions-columnsubtotaloptions) */ public fun columnSubtotalOptions(): Any? = unwrap(this).getColumnSubtotalOptions() /** * The column total options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabletotaloptions.html#cfn-quicksight-dashboard-pivottabletotaloptions-columntotaloptions) */ public fun columnTotalOptions(): Any? = unwrap(this).getColumnTotalOptions() /** * The row subtotal options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabletotaloptions.html#cfn-quicksight-dashboard-pivottabletotaloptions-rowsubtotaloptions) */ public fun rowSubtotalOptions(): Any? = unwrap(this).getRowSubtotalOptions() /** * The row total options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabletotaloptions.html#cfn-quicksight-dashboard-pivottabletotaloptions-rowtotaloptions) */ public fun rowTotalOptions(): Any? = unwrap(this).getRowTotalOptions() /** * A builder for [PivotTableTotalOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param columnSubtotalOptions The column subtotal options. */ public fun columnSubtotalOptions(columnSubtotalOptions: IResolvable) /** * @param columnSubtotalOptions The column subtotal options. */ public fun columnSubtotalOptions(columnSubtotalOptions: SubtotalOptionsProperty) /** * @param columnSubtotalOptions The column subtotal options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6422d94191dcc797c342dbc3ffad238195879379ee71844f3cfc48e3535312a0") public fun columnSubtotalOptions(columnSubtotalOptions: SubtotalOptionsProperty.Builder.() -> Unit) /** * @param columnTotalOptions The column total options. */ public fun columnTotalOptions(columnTotalOptions: IResolvable) /** * @param columnTotalOptions The column total options. */ public fun columnTotalOptions(columnTotalOptions: PivotTotalOptionsProperty) /** * @param columnTotalOptions The column total options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5e5ddb6915fc7add198c6beddca6c7a9cc7203f527292f84e3d9af5165894e79") public fun columnTotalOptions(columnTotalOptions: PivotTotalOptionsProperty.Builder.() -> Unit) /** * @param rowSubtotalOptions The row subtotal options. */ public fun rowSubtotalOptions(rowSubtotalOptions: IResolvable) /** * @param rowSubtotalOptions The row subtotal options. */ public fun rowSubtotalOptions(rowSubtotalOptions: SubtotalOptionsProperty) /** * @param rowSubtotalOptions The row subtotal options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3090424ea3c707336289569df24963734091726008d1fceb53f9898fe7e26d89") public fun rowSubtotalOptions(rowSubtotalOptions: SubtotalOptionsProperty.Builder.() -> Unit) /** * @param rowTotalOptions The row total options. */ public fun rowTotalOptions(rowTotalOptions: IResolvable) /** * @param rowTotalOptions The row total options. */ public fun rowTotalOptions(rowTotalOptions: PivotTotalOptionsProperty) /** * @param rowTotalOptions The row total options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3ce6f3562b924d35c9ebb285bce241a59df512e7faa6e2e62043ed8b59f05ce4") public fun rowTotalOptions(rowTotalOptions: PivotTotalOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableTotalOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableTotalOptionsProperty.builder() /** * @param columnSubtotalOptions The column subtotal options. */ override fun columnSubtotalOptions(columnSubtotalOptions: IResolvable) { cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param columnSubtotalOptions The column subtotal options. */ override fun columnSubtotalOptions(columnSubtotalOptions: SubtotalOptionsProperty) { cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(SubtotalOptionsProperty.Companion::unwrap)) } /** * @param columnSubtotalOptions The column subtotal options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6422d94191dcc797c342dbc3ffad238195879379ee71844f3cfc48e3535312a0") override fun columnSubtotalOptions(columnSubtotalOptions: SubtotalOptionsProperty.Builder.() -> Unit): Unit = columnSubtotalOptions(SubtotalOptionsProperty(columnSubtotalOptions)) /** * @param columnTotalOptions The column total options. */ override fun columnTotalOptions(columnTotalOptions: IResolvable) { cdkBuilder.columnTotalOptions(columnTotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param columnTotalOptions The column total options. */ override fun columnTotalOptions(columnTotalOptions: PivotTotalOptionsProperty) { cdkBuilder.columnTotalOptions(columnTotalOptions.let(PivotTotalOptionsProperty.Companion::unwrap)) } /** * @param columnTotalOptions The column total options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5e5ddb6915fc7add198c6beddca6c7a9cc7203f527292f84e3d9af5165894e79") override fun columnTotalOptions(columnTotalOptions: PivotTotalOptionsProperty.Builder.() -> Unit): Unit = columnTotalOptions(PivotTotalOptionsProperty(columnTotalOptions)) /** * @param rowSubtotalOptions The row subtotal options. */ override fun rowSubtotalOptions(rowSubtotalOptions: IResolvable) { cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowSubtotalOptions The row subtotal options. */ override fun rowSubtotalOptions(rowSubtotalOptions: SubtotalOptionsProperty) { cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(SubtotalOptionsProperty.Companion::unwrap)) } /** * @param rowSubtotalOptions The row subtotal options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3090424ea3c707336289569df24963734091726008d1fceb53f9898fe7e26d89") override fun rowSubtotalOptions(rowSubtotalOptions: SubtotalOptionsProperty.Builder.() -> Unit): Unit = rowSubtotalOptions(SubtotalOptionsProperty(rowSubtotalOptions)) /** * @param rowTotalOptions The row total options. */ override fun rowTotalOptions(rowTotalOptions: IResolvable) { cdkBuilder.rowTotalOptions(rowTotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowTotalOptions The row total options. */ override fun rowTotalOptions(rowTotalOptions: PivotTotalOptionsProperty) { cdkBuilder.rowTotalOptions(rowTotalOptions.let(PivotTotalOptionsProperty.Companion::unwrap)) } /** * @param rowTotalOptions The row total options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3ce6f3562b924d35c9ebb285bce241a59df512e7faa6e2e62043ed8b59f05ce4") override fun rowTotalOptions(rowTotalOptions: PivotTotalOptionsProperty.Builder.() -> Unit): Unit = rowTotalOptions(PivotTotalOptionsProperty(rowTotalOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableTotalOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableTotalOptionsProperty, ) : CdkObject(cdkObject), PivotTableTotalOptionsProperty { /** * The column subtotal options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabletotaloptions.html#cfn-quicksight-dashboard-pivottabletotaloptions-columnsubtotaloptions) */ override fun columnSubtotalOptions(): Any? = unwrap(this).getColumnSubtotalOptions() /** * The column total options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabletotaloptions.html#cfn-quicksight-dashboard-pivottabletotaloptions-columntotaloptions) */ override fun columnTotalOptions(): Any? = unwrap(this).getColumnTotalOptions() /** * The row subtotal options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabletotaloptions.html#cfn-quicksight-dashboard-pivottabletotaloptions-rowsubtotaloptions) */ override fun rowSubtotalOptions(): Any? = unwrap(this).getRowSubtotalOptions() /** * The row total options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottabletotaloptions.html#cfn-quicksight-dashboard-pivottabletotaloptions-rowtotaloptions) */ override fun rowTotalOptions(): Any? = unwrap(this).getRowTotalOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableTotalOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableTotalOptionsProperty): PivotTableTotalOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableTotalOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableTotalOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableTotalOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableTotalOptionsProperty } } /** * A pivot table. * * For more information, see [Using pivot * tables](https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html) */ public interface PivotTableVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html#cfn-quicksight-dashboard-pivottablevisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html#cfn-quicksight-dashboard-pivottablevisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The conditional formatting for a `PivotTableVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html#cfn-quicksight-dashboard-pivottablevisual-conditionalformatting) */ public fun conditionalFormatting(): Any? = unwrap(this).getConditionalFormatting() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html#cfn-quicksight-dashboard-pivottablevisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html#cfn-quicksight-dashboard-pivottablevisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html#cfn-quicksight-dashboard-pivottablevisual-visualid) */ public fun visualId(): String /** * A builder for [PivotTableVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: PivotTableConfigurationProperty) /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("45c1e32fa234cad9ba384738a2fd79a1ce01b1036db1a246d84c05c668ee6ef1") public fun chartConfiguration(chartConfiguration: PivotTableConfigurationProperty.Builder.() -> Unit) /** * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ public fun conditionalFormatting(conditionalFormatting: IResolvable) /** * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ public fun conditionalFormatting(conditionalFormatting: PivotTableConditionalFormattingProperty) /** * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f46a7990e553f045e6d7b825956e881da1b84886baecf872d6ddd16fdaf01731") public fun conditionalFormatting(conditionalFormatting: PivotTableConditionalFormattingProperty.Builder.() -> Unit) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1455f81419dc8c5b2ab560d7d88f2310ccfbfa21574a0166228411e0e0316097") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4fcd96ecaf441c2c86a23f29a9ff0942f0e14863c498042e6e55c75c9c4a6d1e") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: PivotTableConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(PivotTableConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("45c1e32fa234cad9ba384738a2fd79a1ce01b1036db1a246d84c05c668ee6ef1") override fun chartConfiguration(chartConfiguration: PivotTableConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(PivotTableConfigurationProperty(chartConfiguration)) /** * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ override fun conditionalFormatting(conditionalFormatting: PivotTableConditionalFormattingProperty) { cdkBuilder.conditionalFormatting(conditionalFormatting.let(PivotTableConditionalFormattingProperty.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f46a7990e553f045e6d7b825956e881da1b84886baecf872d6ddd16fdaf01731") override fun conditionalFormatting(conditionalFormatting: PivotTableConditionalFormattingProperty.Builder.() -> Unit): Unit = conditionalFormatting(PivotTableConditionalFormattingProperty(conditionalFormatting)) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1455f81419dc8c5b2ab560d7d88f2310ccfbfa21574a0166228411e0e0316097") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4fcd96ecaf441c2c86a23f29a9ff0942f0e14863c498042e6e55c75c9c4a6d1e") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableVisualProperty, ) : CdkObject(cdkObject), PivotTableVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html#cfn-quicksight-dashboard-pivottablevisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html#cfn-quicksight-dashboard-pivottablevisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The conditional formatting for a `PivotTableVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html#cfn-quicksight-dashboard-pivottablevisual-conditionalformatting) */ override fun conditionalFormatting(): Any? = unwrap(this).getConditionalFormatting() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html#cfn-quicksight-dashboard-pivottablevisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html#cfn-quicksight-dashboard-pivottablevisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottablevisual.html#cfn-quicksight-dashboard-pivottablevisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTableVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableVisualProperty): PivotTableVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTableVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTableVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableVisualProperty } } /** * The optional configuration of totals cells in a `PivotTableVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PivotTotalOptionsProperty pivotTotalOptionsProperty = PivotTotalOptionsProperty.builder() * .customLabel("customLabel") * .metricHeaderCellStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .placement("placement") * .scrollStatus("scrollStatus") * .totalAggregationOptions(List.of(TotalAggregationOptionProperty.builder() * .fieldId("fieldId") * .totalAggregationFunction(TotalAggregationFunctionProperty.builder() * .simpleTotalAggregationFunction("simpleTotalAggregationFunction") * .build()) * .build())) * .totalCellStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .totalsVisibility("totalsVisibility") * .valueCellStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html) */ public interface PivotTotalOptionsProperty { /** * The custom label string for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-customlabel) */ public fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The cell styling options for the total of header cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-metricheadercellstyle) */ public fun metricHeaderCellStyle(): Any? = unwrap(this).getMetricHeaderCellStyle() /** * The placement (start, end) for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-placement) */ public fun placement(): String? = unwrap(this).getPlacement() /** * The scroll status (pinned, scrolled) for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-scrollstatus) */ public fun scrollStatus(): String? = unwrap(this).getScrollStatus() /** * The total aggregation options for each value field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-totalaggregationoptions) */ public fun totalAggregationOptions(): Any? = unwrap(this).getTotalAggregationOptions() /** * The cell styling options for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-totalcellstyle) */ public fun totalCellStyle(): Any? = unwrap(this).getTotalCellStyle() /** * The visibility configuration for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-totalsvisibility) */ public fun totalsVisibility(): String? = unwrap(this).getTotalsVisibility() /** * The cell styling options for the totals of value cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-valuecellstyle) */ public fun valueCellStyle(): Any? = unwrap(this).getValueCellStyle() /** * A builder for [PivotTotalOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param customLabel The custom label string for the total cells. */ public fun customLabel(customLabel: String) /** * @param metricHeaderCellStyle The cell styling options for the total of header cells. */ public fun metricHeaderCellStyle(metricHeaderCellStyle: IResolvable) /** * @param metricHeaderCellStyle The cell styling options for the total of header cells. */ public fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty) /** * @param metricHeaderCellStyle The cell styling options for the total of header cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d8452ff77510aec8e0a44bfa7e01a6dd4ca3ba24063ef859583b8c65dc0cf791") public fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty.Builder.() -> Unit) /** * @param placement The placement (start, end) for the total cells. */ public fun placement(placement: String) /** * @param scrollStatus The scroll status (pinned, scrolled) for the total cells. */ public fun scrollStatus(scrollStatus: String) /** * @param totalAggregationOptions The total aggregation options for each value field. */ public fun totalAggregationOptions(totalAggregationOptions: IResolvable) /** * @param totalAggregationOptions The total aggregation options for each value field. */ public fun totalAggregationOptions(totalAggregationOptions: List) /** * @param totalAggregationOptions The total aggregation options for each value field. */ public fun totalAggregationOptions(vararg totalAggregationOptions: Any) /** * @param totalCellStyle The cell styling options for the total cells. */ public fun totalCellStyle(totalCellStyle: IResolvable) /** * @param totalCellStyle The cell styling options for the total cells. */ public fun totalCellStyle(totalCellStyle: TableCellStyleProperty) /** * @param totalCellStyle The cell styling options for the total cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("641e55daa603927eafd3d60215b9957f107fac18d8ac87dbc2e20ea67e36edd2") public fun totalCellStyle(totalCellStyle: TableCellStyleProperty.Builder.() -> Unit) /** * @param totalsVisibility The visibility configuration for the total cells. */ public fun totalsVisibility(totalsVisibility: String) /** * @param valueCellStyle The cell styling options for the totals of value cells. */ public fun valueCellStyle(valueCellStyle: IResolvable) /** * @param valueCellStyle The cell styling options for the totals of value cells. */ public fun valueCellStyle(valueCellStyle: TableCellStyleProperty) /** * @param valueCellStyle The cell styling options for the totals of value cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f4ac8a8236a9bca393a5bf122239237a5eda1c1095e6cfa4637048ccd7b0e14a") public fun valueCellStyle(valueCellStyle: TableCellStyleProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTotalOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTotalOptionsProperty.builder() /** * @param customLabel The custom label string for the total cells. */ override fun customLabel(customLabel: String) { cdkBuilder.customLabel(customLabel) } /** * @param metricHeaderCellStyle The cell styling options for the total of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: IResolvable) { cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param metricHeaderCellStyle The cell styling options for the total of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty) { cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param metricHeaderCellStyle The cell styling options for the total of header cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d8452ff77510aec8e0a44bfa7e01a6dd4ca3ba24063ef859583b8c65dc0cf791") override fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = metricHeaderCellStyle(TableCellStyleProperty(metricHeaderCellStyle)) /** * @param placement The placement (start, end) for the total cells. */ override fun placement(placement: String) { cdkBuilder.placement(placement) } /** * @param scrollStatus The scroll status (pinned, scrolled) for the total cells. */ override fun scrollStatus(scrollStatus: String) { cdkBuilder.scrollStatus(scrollStatus) } /** * @param totalAggregationOptions The total aggregation options for each value field. */ override fun totalAggregationOptions(totalAggregationOptions: IResolvable) { cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable.Companion::unwrap)) } /** * @param totalAggregationOptions The total aggregation options for each value field. */ override fun totalAggregationOptions(totalAggregationOptions: List) { cdkBuilder.totalAggregationOptions(totalAggregationOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param totalAggregationOptions The total aggregation options for each value field. */ override fun totalAggregationOptions(vararg totalAggregationOptions: Any): Unit = totalAggregationOptions(totalAggregationOptions.toList()) /** * @param totalCellStyle The cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: IResolvable) { cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param totalCellStyle The cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: TableCellStyleProperty) { cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param totalCellStyle The cell styling options for the total cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("641e55daa603927eafd3d60215b9957f107fac18d8ac87dbc2e20ea67e36edd2") override fun totalCellStyle(totalCellStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = totalCellStyle(TableCellStyleProperty(totalCellStyle)) /** * @param totalsVisibility The visibility configuration for the total cells. */ override fun totalsVisibility(totalsVisibility: String) { cdkBuilder.totalsVisibility(totalsVisibility) } /** * @param valueCellStyle The cell styling options for the totals of value cells. */ override fun valueCellStyle(valueCellStyle: IResolvable) { cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param valueCellStyle The cell styling options for the totals of value cells. */ override fun valueCellStyle(valueCellStyle: TableCellStyleProperty) { cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param valueCellStyle The cell styling options for the totals of value cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f4ac8a8236a9bca393a5bf122239237a5eda1c1095e6cfa4637048ccd7b0e14a") override fun valueCellStyle(valueCellStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = valueCellStyle(TableCellStyleProperty(valueCellStyle)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTotalOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTotalOptionsProperty, ) : CdkObject(cdkObject), PivotTotalOptionsProperty { /** * The custom label string for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-customlabel) */ override fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The cell styling options for the total of header cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-metricheadercellstyle) */ override fun metricHeaderCellStyle(): Any? = unwrap(this).getMetricHeaderCellStyle() /** * The placement (start, end) for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-placement) */ override fun placement(): String? = unwrap(this).getPlacement() /** * The scroll status (pinned, scrolled) for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-scrollstatus) */ override fun scrollStatus(): String? = unwrap(this).getScrollStatus() /** * The total aggregation options for each value field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-totalaggregationoptions) */ override fun totalAggregationOptions(): Any? = unwrap(this).getTotalAggregationOptions() /** * The cell styling options for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-totalcellstyle) */ override fun totalCellStyle(): Any? = unwrap(this).getTotalCellStyle() /** * The visibility configuration for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-totalsvisibility) */ override fun totalsVisibility(): String? = unwrap(this).getTotalsVisibility() /** * The cell styling options for the totals of value cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-pivottotaloptions.html#cfn-quicksight-dashboard-pivottotaloptions-valuecellstyle) */ override fun valueCellStyle(): Any? = unwrap(this).getValueCellStyle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PivotTotalOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTotalOptionsProperty): PivotTotalOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? PivotTotalOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PivotTotalOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTotalOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTotalOptionsProperty } } /** * The option that determines the hierarchy of the fields that are defined during data * preparation. * * These fields are available to use in any analysis that uses the data source. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * PredefinedHierarchyProperty predefinedHierarchyProperty = PredefinedHierarchyProperty.builder() * .columns(List.of(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build())) * .hierarchyId("hierarchyId") * // the properties below are optional * .drillDownFilters(List.of(DrillDownFilterProperty.builder() * .categoryFilter(CategoryDrillDownFilterProperty.builder() * .categoryValues(List.of("categoryValues")) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .numericEqualityFilter(NumericEqualityDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .value(123) * .build()) * .timeRangeFilter(TimeRangeDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .rangeMaximum("rangeMaximum") * .rangeMinimum("rangeMinimum") * .timeGranularity("timeGranularity") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-predefinedhierarchy.html) */ public interface PredefinedHierarchyProperty { /** * The list of columns that define the predefined hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-predefinedhierarchy.html#cfn-quicksight-dashboard-predefinedhierarchy-columns) */ public fun columns(): Any /** * The option that determines the drill down filters for the predefined hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-predefinedhierarchy.html#cfn-quicksight-dashboard-predefinedhierarchy-drilldownfilters) */ public fun drillDownFilters(): Any? = unwrap(this).getDrillDownFilters() /** * The hierarchy ID of the predefined hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-predefinedhierarchy.html#cfn-quicksight-dashboard-predefinedhierarchy-hierarchyid) */ public fun hierarchyId(): String /** * A builder for [PredefinedHierarchyProperty] */ @CdkDslMarker public interface Builder { /** * @param columns The list of columns that define the predefined hierarchy. */ public fun columns(columns: IResolvable) /** * @param columns The list of columns that define the predefined hierarchy. */ public fun columns(columns: List) /** * @param columns The list of columns that define the predefined hierarchy. */ public fun columns(vararg columns: Any) /** * @param drillDownFilters The option that determines the drill down filters for the * predefined hierarchy. */ public fun drillDownFilters(drillDownFilters: IResolvable) /** * @param drillDownFilters The option that determines the drill down filters for the * predefined hierarchy. */ public fun drillDownFilters(drillDownFilters: List) /** * @param drillDownFilters The option that determines the drill down filters for the * predefined hierarchy. */ public fun drillDownFilters(vararg drillDownFilters: Any) /** * @param hierarchyId The hierarchy ID of the predefined hierarchy. */ public fun hierarchyId(hierarchyId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.PredefinedHierarchyProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.PredefinedHierarchyProperty.builder() /** * @param columns The list of columns that define the predefined hierarchy. */ override fun columns(columns: IResolvable) { cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** * @param columns The list of columns that define the predefined hierarchy. */ override fun columns(columns: List) { cdkBuilder.columns(columns.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columns The list of columns that define the predefined hierarchy. */ override fun columns(vararg columns: Any): Unit = columns(columns.toList()) /** * @param drillDownFilters The option that determines the drill down filters for the * predefined hierarchy. */ override fun drillDownFilters(drillDownFilters: IResolvable) { cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable.Companion::unwrap)) } /** * @param drillDownFilters The option that determines the drill down filters for the * predefined hierarchy. */ override fun drillDownFilters(drillDownFilters: List) { cdkBuilder.drillDownFilters(drillDownFilters.map{CdkObjectWrappers.unwrap(it)}) } /** * @param drillDownFilters The option that determines the drill down filters for the * predefined hierarchy. */ override fun drillDownFilters(vararg drillDownFilters: Any): Unit = drillDownFilters(drillDownFilters.toList()) /** * @param hierarchyId The hierarchy ID of the predefined hierarchy. */ override fun hierarchyId(hierarchyId: String) { cdkBuilder.hierarchyId(hierarchyId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.PredefinedHierarchyProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PredefinedHierarchyProperty, ) : CdkObject(cdkObject), PredefinedHierarchyProperty { /** * The list of columns that define the predefined hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-predefinedhierarchy.html#cfn-quicksight-dashboard-predefinedhierarchy-columns) */ override fun columns(): Any = unwrap(this).getColumns() /** * The option that determines the drill down filters for the predefined hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-predefinedhierarchy.html#cfn-quicksight-dashboard-predefinedhierarchy-drilldownfilters) */ override fun drillDownFilters(): Any? = unwrap(this).getDrillDownFilters() /** * The hierarchy ID of the predefined hierarchy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-predefinedhierarchy.html#cfn-quicksight-dashboard-predefinedhierarchy-hierarchyid) */ override fun hierarchyId(): String = unwrap(this).getHierarchyId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): PredefinedHierarchyProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.PredefinedHierarchyProperty): PredefinedHierarchyProperty = CdkObjectWrappers.wrap(cdkObject) as? PredefinedHierarchyProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: PredefinedHierarchyProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.PredefinedHierarchyProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.PredefinedHierarchyProperty } } /** * The options that determine the presentation of the progress bar of a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ProgressBarOptionsProperty progressBarOptionsProperty = ProgressBarOptionsProperty.builder() * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-progressbaroptions.html) */ public interface ProgressBarOptionsProperty { /** * The visibility of the progress bar. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-progressbaroptions.html#cfn-quicksight-dashboard-progressbaroptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [ProgressBarOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility The visibility of the progress bar. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ProgressBarOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ProgressBarOptionsProperty.builder() /** * @param visibility The visibility of the progress bar. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ProgressBarOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ProgressBarOptionsProperty, ) : CdkObject(cdkObject), ProgressBarOptionsProperty { /** * The visibility of the progress bar. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-progressbaroptions.html#cfn-quicksight-dashboard-progressbaroptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ProgressBarOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ProgressBarOptionsProperty): ProgressBarOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? ProgressBarOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ProgressBarOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ProgressBarOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ProgressBarOptionsProperty } } /** * The aggregated field well configuration of a `RadarChartVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartaggregatedfieldwells.html) */ public interface RadarChartAggregatedFieldWellsProperty { /** * The aggregated field well categories of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartaggregatedfieldwells.html#cfn-quicksight-dashboard-radarchartaggregatedfieldwells-category) */ public fun category(): Any? = unwrap(this).getCategory() /** * The color that are assigned to the aggregated field wells of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartaggregatedfieldwells.html#cfn-quicksight-dashboard-radarchartaggregatedfieldwells-color) */ public fun color(): Any? = unwrap(this).getColor() /** * The values that are assigned to the aggregated field wells of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartaggregatedfieldwells.html#cfn-quicksight-dashboard-radarchartaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [RadarChartAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param category The aggregated field well categories of a radar chart. */ public fun category(category: IResolvable) /** * @param category The aggregated field well categories of a radar chart. */ public fun category(category: List) /** * @param category The aggregated field well categories of a radar chart. */ public fun category(vararg category: Any) /** * @param color The color that are assigned to the aggregated field wells of a radar chart. */ public fun color(color: IResolvable) /** * @param color The color that are assigned to the aggregated field wells of a radar chart. */ public fun color(color: List) /** * @param color The color that are assigned to the aggregated field wells of a radar chart. */ public fun color(vararg color: Any) /** * @param values The values that are assigned to the aggregated field wells of a radar chart. */ public fun values(values: IResolvable) /** * @param values The values that are assigned to the aggregated field wells of a radar chart. */ public fun values(values: List) /** * @param values The values that are assigned to the aggregated field wells of a radar chart. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAggregatedFieldWellsProperty.builder() /** * @param category The aggregated field well categories of a radar chart. */ override fun category(category: IResolvable) { cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The aggregated field well categories of a radar chart. */ override fun category(category: List) { cdkBuilder.category(category.map{CdkObjectWrappers.unwrap(it)}) } /** * @param category The aggregated field well categories of a radar chart. */ override fun category(vararg category: Any): Unit = category(category.toList()) /** * @param color The color that are assigned to the aggregated field wells of a radar chart. */ override fun color(color: IResolvable) { cdkBuilder.color(color.let(IResolvable.Companion::unwrap)) } /** * @param color The color that are assigned to the aggregated field wells of a radar chart. */ override fun color(color: List) { cdkBuilder.color(color.map{CdkObjectWrappers.unwrap(it)}) } /** * @param color The color that are assigned to the aggregated field wells of a radar chart. */ override fun color(vararg color: Any): Unit = color(color.toList()) /** * @param values The values that are assigned to the aggregated field wells of a radar chart. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The values that are assigned to the aggregated field wells of a radar chart. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The values that are assigned to the aggregated field wells of a radar chart. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), RadarChartAggregatedFieldWellsProperty { /** * The aggregated field well categories of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartaggregatedfieldwells.html#cfn-quicksight-dashboard-radarchartaggregatedfieldwells-category) */ override fun category(): Any? = unwrap(this).getCategory() /** * The color that are assigned to the aggregated field wells of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartaggregatedfieldwells.html#cfn-quicksight-dashboard-radarchartaggregatedfieldwells-color) */ override fun color(): Any? = unwrap(this).getColor() /** * The values that are assigned to the aggregated field wells of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartaggregatedfieldwells.html#cfn-quicksight-dashboard-radarchartaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): RadarChartAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAggregatedFieldWellsProperty): RadarChartAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? RadarChartAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: RadarChartAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAggregatedFieldWellsProperty } } /** * The configured style settings of a radar chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * RadarChartAreaStyleSettingsProperty radarChartAreaStyleSettingsProperty = * RadarChartAreaStyleSettingsProperty.builder() * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartareastylesettings.html) */ public interface RadarChartAreaStyleSettingsProperty { /** * The visibility settings of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartareastylesettings.html#cfn-quicksight-dashboard-radarchartareastylesettings-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [RadarChartAreaStyleSettingsProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility The visibility settings of a radar chart. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAreaStyleSettingsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAreaStyleSettingsProperty.builder() /** * @param visibility The visibility settings of a radar chart. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAreaStyleSettingsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAreaStyleSettingsProperty, ) : CdkObject(cdkObject), RadarChartAreaStyleSettingsProperty { /** * The visibility settings of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartareastylesettings.html#cfn-quicksight-dashboard-radarchartareastylesettings-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): RadarChartAreaStyleSettingsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAreaStyleSettingsProperty): RadarChartAreaStyleSettingsProperty = CdkObjectWrappers.wrap(cdkObject) as? RadarChartAreaStyleSettingsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: RadarChartAreaStyleSettingsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAreaStyleSettingsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartAreaStyleSettingsProperty } } /** * The configuration of a `RadarChartVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html) */ public interface RadarChartConfigurationProperty { /** * Determines the visibility of the colors of alternatign bands in a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-alternatebandcolorsvisibility) */ public fun alternateBandColorsVisibility(): String? = unwrap(this).getAlternateBandColorsVisibility() /** * The color of the even-numbered alternate bands of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-alternatebandevencolor) */ public fun alternateBandEvenColor(): String? = unwrap(this).getAlternateBandEvenColor() /** * The color of the odd-numbered alternate bands of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-alternatebandoddcolor) */ public fun alternateBandOddColor(): String? = unwrap(this).getAlternateBandOddColor() /** * The axis behavior options of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-axesrangescale) */ public fun axesRangeScale(): String? = unwrap(this).getAxesRangeScale() /** * The base sreies settings of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-baseseriessettings) */ public fun baseSeriesSettings(): Any? = unwrap(this).getBaseSeriesSettings() /** * The category axis of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-categoryaxis) */ public fun categoryAxis(): Any? = unwrap(this).getCategoryAxis() /** * The category label options of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-categorylabeloptions) */ public fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The color axis of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-coloraxis) */ public fun colorAxis(): Any? = unwrap(this).getColorAxis() /** * The color label options of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-colorlabeloptions) */ public fun colorLabelOptions(): Any? = unwrap(this).getColorLabelOptions() /** * The field well configuration of a `RadarChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-legend) */ public fun legend(): Any? = unwrap(this).getLegend() /** * The shape of the radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-shape) */ public fun shape(): String? = unwrap(this).getShape() /** * The sort configuration of a `RadarChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The start angle of a radar chart's axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-startangle) */ public fun startAngle(): Number? = unwrap(this).getStartAngle() /** * The palette (chart color) display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-visualpalette) */ public fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * A builder for [RadarChartConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param alternateBandColorsVisibility Determines the visibility of the colors of alternatign * bands in a radar chart. */ public fun alternateBandColorsVisibility(alternateBandColorsVisibility: String) /** * @param alternateBandEvenColor The color of the even-numbered alternate bands of a radar * chart. */ public fun alternateBandEvenColor(alternateBandEvenColor: String) /** * @param alternateBandOddColor The color of the odd-numbered alternate bands of a radar * chart. */ public fun alternateBandOddColor(alternateBandOddColor: String) /** * @param axesRangeScale The axis behavior options of a radar chart. */ public fun axesRangeScale(axesRangeScale: String) /** * @param baseSeriesSettings The base sreies settings of a radar chart. */ public fun baseSeriesSettings(baseSeriesSettings: IResolvable) /** * @param baseSeriesSettings The base sreies settings of a radar chart. */ public fun baseSeriesSettings(baseSeriesSettings: RadarChartSeriesSettingsProperty) /** * @param baseSeriesSettings The base sreies settings of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2297052b3fe471ef44fcf302b4abc93da8a1d49a0c5bef149fe0d59d6b66eec6") public fun baseSeriesSettings(baseSeriesSettings: RadarChartSeriesSettingsProperty.Builder.() -> Unit) /** * @param categoryAxis The category axis of a radar chart. */ public fun categoryAxis(categoryAxis: IResolvable) /** * @param categoryAxis The category axis of a radar chart. */ public fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) /** * @param categoryAxis The category axis of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1fbda969210a0a85517bc920b2579ab7840db94187b09dc5f6e7231746f77eb7") public fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param categoryLabelOptions The category label options of a radar chart. */ public fun categoryLabelOptions(categoryLabelOptions: IResolvable) /** * @param categoryLabelOptions The category label options of a radar chart. */ public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) /** * @param categoryLabelOptions The category label options of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("da0e459f0a96fab930cf37efc97ad0fadf4b1d3bfcc1302502f02491f13b5b53") public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param colorAxis The color axis of a radar chart. */ public fun colorAxis(colorAxis: IResolvable) /** * @param colorAxis The color axis of a radar chart. */ public fun colorAxis(colorAxis: AxisDisplayOptionsProperty) /** * @param colorAxis The color axis of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2613b0567fe996776831d02c9a75a07a3ec95c06c86019c59258529a6410cd3e") public fun colorAxis(colorAxis: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param colorLabelOptions The color label options of a radar chart. */ public fun colorLabelOptions(colorLabelOptions: IResolvable) /** * @param colorLabelOptions The color label options of a radar chart. */ public fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) /** * @param colorLabelOptions The color label options of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("acf446b35ded14a7fb7254b0df7846a4d5988214f9e5322b2e4c60410298c36a") public fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field well configuration of a `RadarChartVisual` . */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field well configuration of a `RadarChartVisual` . */ public fun fieldWells(fieldWells: RadarChartFieldWellsProperty) /** * @param fieldWells The field well configuration of a `RadarChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("db24a5f572314111e2141e5cbf9369d1dca869ebc70306d8d9cfb8e0508fafc4") public fun fieldWells(fieldWells: RadarChartFieldWellsProperty.Builder.() -> Unit) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: IResolvable) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: LegendOptionsProperty) /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ab08f1bb8e8f0c9a54e4837b0fc8221a0991b78e8edb0b9deaac3f071fb1b7d2") public fun legend(legend: LegendOptionsProperty.Builder.() -> Unit) /** * @param shape The shape of the radar chart. */ public fun shape(shape: String) /** * @param sortConfiguration The sort configuration of a `RadarChartVisual` . */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a `RadarChartVisual` . */ public fun sortConfiguration(sortConfiguration: RadarChartSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a `RadarChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bebdc0e4e0b57a140e37e7b1afe529b3bbfe000ddeb85a09d374d8168edc6978") public fun sortConfiguration(sortConfiguration: RadarChartSortConfigurationProperty.Builder.() -> Unit) /** * @param startAngle The start angle of a radar chart's axis. */ public fun startAngle(startAngle: Number) /** * @param visualPalette The palette (chart color) display setup of the visual. */ public fun visualPalette(visualPalette: IResolvable) /** * @param visualPalette The palette (chart color) display setup of the visual. */ public fun visualPalette(visualPalette: VisualPaletteProperty) /** * @param visualPalette The palette (chart color) display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0d567ef2b70b7d47ecda36212601298f8bd981398ae05c1c97d6dddc1deb91a5") public fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartConfigurationProperty.builder() /** * @param alternateBandColorsVisibility Determines the visibility of the colors of alternatign * bands in a radar chart. */ override fun alternateBandColorsVisibility(alternateBandColorsVisibility: String) { cdkBuilder.alternateBandColorsVisibility(alternateBandColorsVisibility) } /** * @param alternateBandEvenColor The color of the even-numbered alternate bands of a radar * chart. */ override fun alternateBandEvenColor(alternateBandEvenColor: String) { cdkBuilder.alternateBandEvenColor(alternateBandEvenColor) } /** * @param alternateBandOddColor The color of the odd-numbered alternate bands of a radar * chart. */ override fun alternateBandOddColor(alternateBandOddColor: String) { cdkBuilder.alternateBandOddColor(alternateBandOddColor) } /** * @param axesRangeScale The axis behavior options of a radar chart. */ override fun axesRangeScale(axesRangeScale: String) { cdkBuilder.axesRangeScale(axesRangeScale) } /** * @param baseSeriesSettings The base sreies settings of a radar chart. */ override fun baseSeriesSettings(baseSeriesSettings: IResolvable) { cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(IResolvable.Companion::unwrap)) } /** * @param baseSeriesSettings The base sreies settings of a radar chart. */ override fun baseSeriesSettings(baseSeriesSettings: RadarChartSeriesSettingsProperty) { cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(RadarChartSeriesSettingsProperty.Companion::unwrap)) } /** * @param baseSeriesSettings The base sreies settings of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2297052b3fe471ef44fcf302b4abc93da8a1d49a0c5bef149fe0d59d6b66eec6") override fun baseSeriesSettings(baseSeriesSettings: RadarChartSeriesSettingsProperty.Builder.() -> Unit): Unit = baseSeriesSettings(RadarChartSeriesSettingsProperty(baseSeriesSettings)) /** * @param categoryAxis The category axis of a radar chart. */ override fun categoryAxis(categoryAxis: IResolvable) { cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** * @param categoryAxis The category axis of a radar chart. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param categoryAxis The category axis of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1fbda969210a0a85517bc920b2579ab7840db94187b09dc5f6e7231746f77eb7") override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = categoryAxis(AxisDisplayOptionsProperty(categoryAxis)) /** * @param categoryLabelOptions The category label options of a radar chart. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param categoryLabelOptions The category label options of a radar chart. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param categoryLabelOptions The category label options of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("da0e459f0a96fab930cf37efc97ad0fadf4b1d3bfcc1302502f02491f13b5b53") override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = categoryLabelOptions(ChartAxisLabelOptionsProperty(categoryLabelOptions)) /** * @param colorAxis The color axis of a radar chart. */ override fun colorAxis(colorAxis: IResolvable) { cdkBuilder.colorAxis(colorAxis.let(IResolvable.Companion::unwrap)) } /** * @param colorAxis The color axis of a radar chart. */ override fun colorAxis(colorAxis: AxisDisplayOptionsProperty) { cdkBuilder.colorAxis(colorAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param colorAxis The color axis of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2613b0567fe996776831d02c9a75a07a3ec95c06c86019c59258529a6410cd3e") override fun colorAxis(colorAxis: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = colorAxis(AxisDisplayOptionsProperty(colorAxis)) /** * @param colorLabelOptions The color label options of a radar chart. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param colorLabelOptions The color label options of a radar chart. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param colorLabelOptions The color label options of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("acf446b35ded14a7fb7254b0df7846a4d5988214f9e5322b2e4c60410298c36a") override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = colorLabelOptions(ChartAxisLabelOptionsProperty(colorLabelOptions)) /** * @param fieldWells The field well configuration of a `RadarChartVisual` . */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `RadarChartVisual` . */ override fun fieldWells(fieldWells: RadarChartFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(RadarChartFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `RadarChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("db24a5f572314111e2141e5cbf9369d1dca869ebc70306d8d9cfb8e0508fafc4") override fun fieldWells(fieldWells: RadarChartFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(RadarChartFieldWellsProperty(fieldWells)) /** * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ab08f1bb8e8f0c9a54e4837b0fc8221a0991b78e8edb0b9deaac3f071fb1b7d2") override fun legend(legend: LegendOptionsProperty.Builder.() -> Unit): Unit = legend(LegendOptionsProperty(legend)) /** * @param shape The shape of the radar chart. */ override fun shape(shape: String) { cdkBuilder.shape(shape) } /** * @param sortConfiguration The sort configuration of a `RadarChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `RadarChartVisual` . */ override fun sortConfiguration(sortConfiguration: RadarChartSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(RadarChartSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `RadarChartVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bebdc0e4e0b57a140e37e7b1afe529b3bbfe000ddeb85a09d374d8168edc6978") override fun sortConfiguration(sortConfiguration: RadarChartSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(RadarChartSortConfigurationProperty(sortConfiguration)) /** * @param startAngle The start angle of a radar chart's axis. */ override fun startAngle(startAngle: Number) { cdkBuilder.startAngle(startAngle) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0d567ef2b70b7d47ecda36212601298f8bd981398ae05c1c97d6dddc1deb91a5") override fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit): Unit = visualPalette(VisualPaletteProperty(visualPalette)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartConfigurationProperty, ) : CdkObject(cdkObject), RadarChartConfigurationProperty { /** * Determines the visibility of the colors of alternatign bands in a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-alternatebandcolorsvisibility) */ override fun alternateBandColorsVisibility(): String? = unwrap(this).getAlternateBandColorsVisibility() /** * The color of the even-numbered alternate bands of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-alternatebandevencolor) */ override fun alternateBandEvenColor(): String? = unwrap(this).getAlternateBandEvenColor() /** * The color of the odd-numbered alternate bands of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-alternatebandoddcolor) */ override fun alternateBandOddColor(): String? = unwrap(this).getAlternateBandOddColor() /** * The axis behavior options of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-axesrangescale) */ override fun axesRangeScale(): String? = unwrap(this).getAxesRangeScale() /** * The base sreies settings of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-baseseriessettings) */ override fun baseSeriesSettings(): Any? = unwrap(this).getBaseSeriesSettings() /** * The category axis of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-categoryaxis) */ override fun categoryAxis(): Any? = unwrap(this).getCategoryAxis() /** * The category label options of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-categorylabeloptions) */ override fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The color axis of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-coloraxis) */ override fun colorAxis(): Any? = unwrap(this).getColorAxis() /** * The color label options of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-colorlabeloptions) */ override fun colorLabelOptions(): Any? = unwrap(this).getColorLabelOptions() /** * The field well configuration of a `RadarChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-legend) */ override fun legend(): Any? = unwrap(this).getLegend() /** * The shape of the radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-shape) */ override fun shape(): String? = unwrap(this).getShape() /** * The sort configuration of a `RadarChartVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The start angle of a radar chart's axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-startangle) */ override fun startAngle(): Number? = unwrap(this).getStartAngle() /** * The palette (chart color) display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartconfiguration.html#cfn-quicksight-dashboard-radarchartconfiguration-visualpalette) */ override fun visualPalette(): Any? = unwrap(this).getVisualPalette() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): RadarChartConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartConfigurationProperty): RadarChartConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? RadarChartConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: RadarChartConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartConfigurationProperty } } /** * The field wells of a radar chart visual. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartfieldwells.html) */ public interface RadarChartFieldWellsProperty { /** * The aggregated field wells of a radar chart visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartfieldwells.html#cfn-quicksight-dashboard-radarchartfieldwells-radarchartaggregatedfieldwells) */ public fun radarChartAggregatedFieldWells(): Any? = unwrap(this).getRadarChartAggregatedFieldWells() /** * A builder for [RadarChartFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param radarChartAggregatedFieldWells The aggregated field wells of a radar chart visual. */ public fun radarChartAggregatedFieldWells(radarChartAggregatedFieldWells: IResolvable) /** * @param radarChartAggregatedFieldWells The aggregated field wells of a radar chart visual. */ public fun radarChartAggregatedFieldWells(radarChartAggregatedFieldWells: RadarChartAggregatedFieldWellsProperty) /** * @param radarChartAggregatedFieldWells The aggregated field wells of a radar chart visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9c7383194740131dc7ff3496ded23c22d7d830f3d9edc03590a43448e6bdc894") public fun radarChartAggregatedFieldWells(radarChartAggregatedFieldWells: RadarChartAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartFieldWellsProperty.builder() /** * @param radarChartAggregatedFieldWells The aggregated field wells of a radar chart visual. */ override fun radarChartAggregatedFieldWells(radarChartAggregatedFieldWells: IResolvable) { cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param radarChartAggregatedFieldWells The aggregated field wells of a radar chart visual. */ override fun radarChartAggregatedFieldWells(radarChartAggregatedFieldWells: RadarChartAggregatedFieldWellsProperty) { cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(RadarChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param radarChartAggregatedFieldWells The aggregated field wells of a radar chart visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9c7383194740131dc7ff3496ded23c22d7d830f3d9edc03590a43448e6bdc894") override fun radarChartAggregatedFieldWells(radarChartAggregatedFieldWells: RadarChartAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = radarChartAggregatedFieldWells(RadarChartAggregatedFieldWellsProperty(radarChartAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartFieldWellsProperty, ) : CdkObject(cdkObject), RadarChartFieldWellsProperty { /** * The aggregated field wells of a radar chart visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartfieldwells.html#cfn-quicksight-dashboard-radarchartfieldwells-radarchartaggregatedfieldwells) */ override fun radarChartAggregatedFieldWells(): Any? = unwrap(this).getRadarChartAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): RadarChartFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartFieldWellsProperty): RadarChartFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? RadarChartFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: RadarChartFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartFieldWellsProperty } } /** * The series settings of a radar chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * RadarChartSeriesSettingsProperty radarChartSeriesSettingsProperty = * RadarChartSeriesSettingsProperty.builder() * .areaStyleSettings(RadarChartAreaStyleSettingsProperty.builder() * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartseriessettings.html) */ public interface RadarChartSeriesSettingsProperty { /** * The area style settings of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartseriessettings.html#cfn-quicksight-dashboard-radarchartseriessettings-areastylesettings) */ public fun areaStyleSettings(): Any? = unwrap(this).getAreaStyleSettings() /** * A builder for [RadarChartSeriesSettingsProperty] */ @CdkDslMarker public interface Builder { /** * @param areaStyleSettings The area style settings of a radar chart. */ public fun areaStyleSettings(areaStyleSettings: IResolvable) /** * @param areaStyleSettings The area style settings of a radar chart. */ public fun areaStyleSettings(areaStyleSettings: RadarChartAreaStyleSettingsProperty) /** * @param areaStyleSettings The area style settings of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3fa72c9d7454b18206aa3337af61503b795a24abf68d94c7cee0908c45d0f799") public fun areaStyleSettings(areaStyleSettings: RadarChartAreaStyleSettingsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSeriesSettingsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSeriesSettingsProperty.builder() /** * @param areaStyleSettings The area style settings of a radar chart. */ override fun areaStyleSettings(areaStyleSettings: IResolvable) { cdkBuilder.areaStyleSettings(areaStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param areaStyleSettings The area style settings of a radar chart. */ override fun areaStyleSettings(areaStyleSettings: RadarChartAreaStyleSettingsProperty) { cdkBuilder.areaStyleSettings(areaStyleSettings.let(RadarChartAreaStyleSettingsProperty.Companion::unwrap)) } /** * @param areaStyleSettings The area style settings of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3fa72c9d7454b18206aa3337af61503b795a24abf68d94c7cee0908c45d0f799") override fun areaStyleSettings(areaStyleSettings: RadarChartAreaStyleSettingsProperty.Builder.() -> Unit): Unit = areaStyleSettings(RadarChartAreaStyleSettingsProperty(areaStyleSettings)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSeriesSettingsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSeriesSettingsProperty, ) : CdkObject(cdkObject), RadarChartSeriesSettingsProperty { /** * The area style settings of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartseriessettings.html#cfn-quicksight-dashboard-radarchartseriessettings-areastylesettings) */ override fun areaStyleSettings(): Any? = unwrap(this).getAreaStyleSettings() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): RadarChartSeriesSettingsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSeriesSettingsProperty): RadarChartSeriesSettingsProperty = CdkObjectWrappers.wrap(cdkObject) as? RadarChartSeriesSettingsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: RadarChartSeriesSettingsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSeriesSettingsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSeriesSettingsProperty } } /** * The sort configuration of a `RadarChartVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * RadarChartSortConfigurationProperty radarChartSortConfigurationProperty = * RadarChartSortConfigurationProperty.builder() * .categoryItemsLimit(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .categorySort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .colorItemsLimit(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .colorSort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartsortconfiguration.html) */ public interface RadarChartSortConfigurationProperty { /** * The category items limit for a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartsortconfiguration.html#cfn-quicksight-dashboard-radarchartsortconfiguration-categoryitemslimit) */ public fun categoryItemsLimit(): Any? = unwrap(this).getCategoryItemsLimit() /** * The category sort options of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartsortconfiguration.html#cfn-quicksight-dashboard-radarchartsortconfiguration-categorysort) */ public fun categorySort(): Any? = unwrap(this).getCategorySort() /** * The color items limit of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartsortconfiguration.html#cfn-quicksight-dashboard-radarchartsortconfiguration-coloritemslimit) */ public fun colorItemsLimit(): Any? = unwrap(this).getColorItemsLimit() /** * The color sort configuration of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartsortconfiguration.html#cfn-quicksight-dashboard-radarchartsortconfiguration-colorsort) */ public fun colorSort(): Any? = unwrap(this).getColorSort() /** * A builder for [RadarChartSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryItemsLimit The category items limit for a radar chart. */ public fun categoryItemsLimit(categoryItemsLimit: IResolvable) /** * @param categoryItemsLimit The category items limit for a radar chart. */ public fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) /** * @param categoryItemsLimit The category items limit for a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3c17ee2dda4b15578bc7fbfc81a1caf6853b9d8bfb998fbfc045758352ccc116") public fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param categorySort The category sort options of a radar chart. */ public fun categorySort(categorySort: IResolvable) /** * @param categorySort The category sort options of a radar chart. */ public fun categorySort(categorySort: List) /** * @param categorySort The category sort options of a radar chart. */ public fun categorySort(vararg categorySort: Any) /** * @param colorItemsLimit The color items limit of a radar chart. */ public fun colorItemsLimit(colorItemsLimit: IResolvable) /** * @param colorItemsLimit The color items limit of a radar chart. */ public fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) /** * @param colorItemsLimit The color items limit of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7fe729986c01b8c456364c8055b56116ddd6f9802440eb9aefe1e540c47775bd") public fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param colorSort The color sort configuration of a radar chart. */ public fun colorSort(colorSort: IResolvable) /** * @param colorSort The color sort configuration of a radar chart. */ public fun colorSort(colorSort: List) /** * @param colorSort The color sort configuration of a radar chart. */ public fun colorSort(vararg colorSort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSortConfigurationProperty.builder() /** * @param categoryItemsLimit The category items limit for a radar chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The category items limit for a radar chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param categoryItemsLimit The category items limit for a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3c17ee2dda4b15578bc7fbfc81a1caf6853b9d8bfb998fbfc045758352ccc116") override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = categoryItemsLimit(ItemsLimitConfigurationProperty(categoryItemsLimit)) /** * @param categorySort The category sort options of a radar chart. */ override fun categorySort(categorySort: IResolvable) { cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** * @param categorySort The category sort options of a radar chart. */ override fun categorySort(categorySort: List) { cdkBuilder.categorySort(categorySort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param categorySort The category sort options of a radar chart. */ override fun categorySort(vararg categorySort: Any): Unit = categorySort(categorySort.toList()) /** * @param colorItemsLimit The color items limit of a radar chart. */ override fun colorItemsLimit(colorItemsLimit: IResolvable) { cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param colorItemsLimit The color items limit of a radar chart. */ override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) { cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param colorItemsLimit The color items limit of a radar chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7fe729986c01b8c456364c8055b56116ddd6f9802440eb9aefe1e540c47775bd") override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = colorItemsLimit(ItemsLimitConfigurationProperty(colorItemsLimit)) /** * @param colorSort The color sort configuration of a radar chart. */ override fun colorSort(colorSort: IResolvable) { cdkBuilder.colorSort(colorSort.let(IResolvable.Companion::unwrap)) } /** * @param colorSort The color sort configuration of a radar chart. */ override fun colorSort(colorSort: List) { cdkBuilder.colorSort(colorSort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param colorSort The color sort configuration of a radar chart. */ override fun colorSort(vararg colorSort: Any): Unit = colorSort(colorSort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSortConfigurationProperty, ) : CdkObject(cdkObject), RadarChartSortConfigurationProperty { /** * The category items limit for a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartsortconfiguration.html#cfn-quicksight-dashboard-radarchartsortconfiguration-categoryitemslimit) */ override fun categoryItemsLimit(): Any? = unwrap(this).getCategoryItemsLimit() /** * The category sort options of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartsortconfiguration.html#cfn-quicksight-dashboard-radarchartsortconfiguration-categorysort) */ override fun categorySort(): Any? = unwrap(this).getCategorySort() /** * The color items limit of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartsortconfiguration.html#cfn-quicksight-dashboard-radarchartsortconfiguration-coloritemslimit) */ override fun colorItemsLimit(): Any? = unwrap(this).getColorItemsLimit() /** * The color sort configuration of a radar chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartsortconfiguration.html#cfn-quicksight-dashboard-radarchartsortconfiguration-colorsort) */ override fun colorSort(): Any? = unwrap(this).getColorSort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): RadarChartSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSortConfigurationProperty): RadarChartSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? RadarChartSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: RadarChartSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartSortConfigurationProperty } } /** * A radar chart visual. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html) */ public interface RadarChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html#cfn-quicksight-dashboard-radarchartvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html#cfn-quicksight-dashboard-radarchartvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html#cfn-quicksight-dashboard-radarchartvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html#cfn-quicksight-dashboard-radarchartvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html#cfn-quicksight-dashboard-radarchartvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html#cfn-quicksight-dashboard-radarchartvisual-visualid) */ public fun visualId(): String /** * A builder for [RadarChartVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: RadarChartConfigurationProperty) /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dcca31fdac334cf5908548efda10077fb00c77c55543eb301f658387743e1b29") public fun chartConfiguration(chartConfiguration: RadarChartConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("daeb0a590da91791d3a6f77e09a8e03264af4dc5401ad5abc60676066ff3de3d") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d985f7455428aae1fee558e404d686d31fd3588a2695367697f66165cb73e32c") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: RadarChartConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(RadarChartConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dcca31fdac334cf5908548efda10077fb00c77c55543eb301f658387743e1b29") override fun chartConfiguration(chartConfiguration: RadarChartConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(RadarChartConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("daeb0a590da91791d3a6f77e09a8e03264af4dc5401ad5abc60676066ff3de3d") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d985f7455428aae1fee558e404d686d31fd3588a2695367697f66165cb73e32c") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartVisualProperty, ) : CdkObject(cdkObject), RadarChartVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html#cfn-quicksight-dashboard-radarchartvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html#cfn-quicksight-dashboard-radarchartvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html#cfn-quicksight-dashboard-radarchartvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html#cfn-quicksight-dashboard-radarchartvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html#cfn-quicksight-dashboard-radarchartvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-radarchartvisual.html#cfn-quicksight-dashboard-radarchartvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): RadarChartVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartVisualProperty): RadarChartVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? RadarChartVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: RadarChartVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.RadarChartVisualProperty } } /** * The range ends label type of a data path label. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * RangeEndsLabelTypeProperty rangeEndsLabelTypeProperty = RangeEndsLabelTypeProperty.builder() * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rangeendslabeltype.html) */ public interface RangeEndsLabelTypeProperty { /** * The visibility of the range ends label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rangeendslabeltype.html#cfn-quicksight-dashboard-rangeendslabeltype-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [RangeEndsLabelTypeProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility The visibility of the range ends label. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.RangeEndsLabelTypeProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.RangeEndsLabelTypeProperty.builder() /** * @param visibility The visibility of the range ends label. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.RangeEndsLabelTypeProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RangeEndsLabelTypeProperty, ) : CdkObject(cdkObject), RangeEndsLabelTypeProperty { /** * The visibility of the range ends label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rangeendslabeltype.html#cfn-quicksight-dashboard-rangeendslabeltype-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): RangeEndsLabelTypeProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RangeEndsLabelTypeProperty): RangeEndsLabelTypeProperty = CdkObjectWrappers.wrap(cdkObject) as? RangeEndsLabelTypeProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: RangeEndsLabelTypeProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.RangeEndsLabelTypeProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.RangeEndsLabelTypeProperty } } /** * The configuration for a custom label on a `ReferenceLine` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ReferenceLineCustomLabelConfigurationProperty referenceLineCustomLabelConfigurationProperty = * ReferenceLineCustomLabelConfigurationProperty.builder() * .customLabel("customLabel") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinecustomlabelconfiguration.html) */ public interface ReferenceLineCustomLabelConfigurationProperty { /** * The string text of the custom label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinecustomlabelconfiguration.html#cfn-quicksight-dashboard-referencelinecustomlabelconfiguration-customlabel) */ public fun customLabel(): String /** * A builder for [ReferenceLineCustomLabelConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param customLabel The string text of the custom label. */ public fun customLabel(customLabel: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineCustomLabelConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineCustomLabelConfigurationProperty.builder() /** * @param customLabel The string text of the custom label. */ override fun customLabel(customLabel: String) { cdkBuilder.customLabel(customLabel) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineCustomLabelConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineCustomLabelConfigurationProperty, ) : CdkObject(cdkObject), ReferenceLineCustomLabelConfigurationProperty { /** * The string text of the custom label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinecustomlabelconfiguration.html#cfn-quicksight-dashboard-referencelinecustomlabelconfiguration-customlabel) */ override fun customLabel(): String = unwrap(this).getCustomLabel() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ReferenceLineCustomLabelConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineCustomLabelConfigurationProperty): ReferenceLineCustomLabelConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ReferenceLineCustomLabelConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ReferenceLineCustomLabelConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineCustomLabelConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineCustomLabelConfigurationProperty } } /** * The data configuration of the reference line. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ReferenceLineDataConfigurationProperty referenceLineDataConfigurationProperty = * ReferenceLineDataConfigurationProperty.builder() * .axisBinding("axisBinding") * .dynamicConfiguration(ReferenceLineDynamicDataConfigurationProperty.builder() * .calculation(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .measureAggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .seriesType("seriesType") * .staticConfiguration(ReferenceLineStaticDataConfigurationProperty.builder() * .value(123) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedataconfiguration.html) */ public interface ReferenceLineDataConfigurationProperty { /** * The axis binding type of the reference line. Choose one of the following options:. * * * `PrimaryY` * * `SecondaryY` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedataconfiguration.html#cfn-quicksight-dashboard-referencelinedataconfiguration-axisbinding) */ public fun axisBinding(): String? = unwrap(this).getAxisBinding() /** * The dynamic configuration of the reference line data configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedataconfiguration.html#cfn-quicksight-dashboard-referencelinedataconfiguration-dynamicconfiguration) */ public fun dynamicConfiguration(): Any? = unwrap(this).getDynamicConfiguration() /** * The series type of the reference line data configuration. Choose one of the following * options:. * * * `BAR` * * `LINE` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedataconfiguration.html#cfn-quicksight-dashboard-referencelinedataconfiguration-seriestype) */ public fun seriesType(): String? = unwrap(this).getSeriesType() /** * The static data configuration of the reference line data configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedataconfiguration.html#cfn-quicksight-dashboard-referencelinedataconfiguration-staticconfiguration) */ public fun staticConfiguration(): Any? = unwrap(this).getStaticConfiguration() /** * A builder for [ReferenceLineDataConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param axisBinding The axis binding type of the reference line. Choose one of the following * options:. * * `PrimaryY` * * `SecondaryY` */ public fun axisBinding(axisBinding: String) /** * @param dynamicConfiguration The dynamic configuration of the reference line data * configuration. */ public fun dynamicConfiguration(dynamicConfiguration: IResolvable) /** * @param dynamicConfiguration The dynamic configuration of the reference line data * configuration. */ public fun dynamicConfiguration(dynamicConfiguration: ReferenceLineDynamicDataConfigurationProperty) /** * @param dynamicConfiguration The dynamic configuration of the reference line data * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("24b4e05f4a03224426831786754385d02ffbc1cffaeb6debe9947d4691f3ba07") public fun dynamicConfiguration(dynamicConfiguration: ReferenceLineDynamicDataConfigurationProperty.Builder.() -> Unit) /** * @param seriesType The series type of the reference line data configuration. Choose one of * the following options:. * * `BAR` * * `LINE` */ public fun seriesType(seriesType: String) /** * @param staticConfiguration The static data configuration of the reference line data * configuration. */ public fun staticConfiguration(staticConfiguration: IResolvable) /** * @param staticConfiguration The static data configuration of the reference line data * configuration. */ public fun staticConfiguration(staticConfiguration: ReferenceLineStaticDataConfigurationProperty) /** * @param staticConfiguration The static data configuration of the reference line data * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6895115f0f5580b371e441a2c262584ec1ed8fc75fad5510f3a96d6cb62544f5") public fun staticConfiguration(staticConfiguration: ReferenceLineStaticDataConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDataConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDataConfigurationProperty.builder() /** * @param axisBinding The axis binding type of the reference line. Choose one of the following * options:. * * `PrimaryY` * * `SecondaryY` */ override fun axisBinding(axisBinding: String) { cdkBuilder.axisBinding(axisBinding) } /** * @param dynamicConfiguration The dynamic configuration of the reference line data * configuration. */ override fun dynamicConfiguration(dynamicConfiguration: IResolvable) { cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param dynamicConfiguration The dynamic configuration of the reference line data * configuration. */ override fun dynamicConfiguration(dynamicConfiguration: ReferenceLineDynamicDataConfigurationProperty) { cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(ReferenceLineDynamicDataConfigurationProperty.Companion::unwrap)) } /** * @param dynamicConfiguration The dynamic configuration of the reference line data * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("24b4e05f4a03224426831786754385d02ffbc1cffaeb6debe9947d4691f3ba07") override fun dynamicConfiguration(dynamicConfiguration: ReferenceLineDynamicDataConfigurationProperty.Builder.() -> Unit): Unit = dynamicConfiguration(ReferenceLineDynamicDataConfigurationProperty(dynamicConfiguration)) /** * @param seriesType The series type of the reference line data configuration. Choose one of * the following options:. * * `BAR` * * `LINE` */ override fun seriesType(seriesType: String) { cdkBuilder.seriesType(seriesType) } /** * @param staticConfiguration The static data configuration of the reference line data * configuration. */ override fun staticConfiguration(staticConfiguration: IResolvable) { cdkBuilder.staticConfiguration(staticConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param staticConfiguration The static data configuration of the reference line data * configuration. */ override fun staticConfiguration(staticConfiguration: ReferenceLineStaticDataConfigurationProperty) { cdkBuilder.staticConfiguration(staticConfiguration.let(ReferenceLineStaticDataConfigurationProperty.Companion::unwrap)) } /** * @param staticConfiguration The static data configuration of the reference line data * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6895115f0f5580b371e441a2c262584ec1ed8fc75fad5510f3a96d6cb62544f5") override fun staticConfiguration(staticConfiguration: ReferenceLineStaticDataConfigurationProperty.Builder.() -> Unit): Unit = staticConfiguration(ReferenceLineStaticDataConfigurationProperty(staticConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDataConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDataConfigurationProperty, ) : CdkObject(cdkObject), ReferenceLineDataConfigurationProperty { /** * The axis binding type of the reference line. Choose one of the following options:. * * * `PrimaryY` * * `SecondaryY` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedataconfiguration.html#cfn-quicksight-dashboard-referencelinedataconfiguration-axisbinding) */ override fun axisBinding(): String? = unwrap(this).getAxisBinding() /** * The dynamic configuration of the reference line data configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedataconfiguration.html#cfn-quicksight-dashboard-referencelinedataconfiguration-dynamicconfiguration) */ override fun dynamicConfiguration(): Any? = unwrap(this).getDynamicConfiguration() /** * The series type of the reference line data configuration. Choose one of the following * options:. * * * `BAR` * * `LINE` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedataconfiguration.html#cfn-quicksight-dashboard-referencelinedataconfiguration-seriestype) */ override fun seriesType(): String? = unwrap(this).getSeriesType() /** * The static data configuration of the reference line data configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedataconfiguration.html#cfn-quicksight-dashboard-referencelinedataconfiguration-staticconfiguration) */ override fun staticConfiguration(): Any? = unwrap(this).getStaticConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ReferenceLineDataConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDataConfigurationProperty): ReferenceLineDataConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ReferenceLineDataConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ReferenceLineDataConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDataConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDataConfigurationProperty } } /** * The dynamic configuration of the reference line data configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ReferenceLineDynamicDataConfigurationProperty referenceLineDynamicDataConfigurationProperty = * ReferenceLineDynamicDataConfigurationProperty.builder() * .calculation(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .measureAggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedynamicdataconfiguration.html) */ public interface ReferenceLineDynamicDataConfigurationProperty { /** * The calculation that is used in the dynamic data. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedynamicdataconfiguration.html#cfn-quicksight-dashboard-referencelinedynamicdataconfiguration-calculation) */ public fun calculation(): Any /** * The column that the dynamic data targets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedynamicdataconfiguration.html#cfn-quicksight-dashboard-referencelinedynamicdataconfiguration-column) */ public fun column(): Any /** * The aggregation function that is used in the dynamic data. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedynamicdataconfiguration.html#cfn-quicksight-dashboard-referencelinedynamicdataconfiguration-measureaggregationfunction) */ public fun measureAggregationFunction(): Any? = unwrap(this).getMeasureAggregationFunction() /** * A builder for [ReferenceLineDynamicDataConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param calculation The calculation that is used in the dynamic data. */ public fun calculation(calculation: IResolvable) /** * @param calculation The calculation that is used in the dynamic data. */ public fun calculation(calculation: NumericalAggregationFunctionProperty) /** * @param calculation The calculation that is used in the dynamic data. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3d483e4b779761e9caaa8de2a4fce71a498035baccce3e63640bc411eb745cba") public fun calculation(calculation: NumericalAggregationFunctionProperty.Builder.() -> Unit) /** * @param column The column that the dynamic data targets. */ public fun column(column: IResolvable) /** * @param column The column that the dynamic data targets. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the dynamic data targets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2df1820ade0f289fc84b2e8e77bbbcaa9c71a5dd2daafd1b0a360ab4a249232e") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param measureAggregationFunction The aggregation function that is used in the dynamic * data. */ public fun measureAggregationFunction(measureAggregationFunction: IResolvable) /** * @param measureAggregationFunction The aggregation function that is used in the dynamic * data. */ public fun measureAggregationFunction(measureAggregationFunction: AggregationFunctionProperty) /** * @param measureAggregationFunction The aggregation function that is used in the dynamic * data. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4b4d6a66b2b82e305e3ffd4fd757b2dfd91c34e7fe260d9dd3589116670a5da6") public fun measureAggregationFunction(measureAggregationFunction: AggregationFunctionProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDynamicDataConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDynamicDataConfigurationProperty.builder() /** * @param calculation The calculation that is used in the dynamic data. */ override fun calculation(calculation: IResolvable) { cdkBuilder.calculation(calculation.let(IResolvable.Companion::unwrap)) } /** * @param calculation The calculation that is used in the dynamic data. */ override fun calculation(calculation: NumericalAggregationFunctionProperty) { cdkBuilder.calculation(calculation.let(NumericalAggregationFunctionProperty.Companion::unwrap)) } /** * @param calculation The calculation that is used in the dynamic data. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3d483e4b779761e9caaa8de2a4fce71a498035baccce3e63640bc411eb745cba") override fun calculation(calculation: NumericalAggregationFunctionProperty.Builder.() -> Unit): Unit = calculation(NumericalAggregationFunctionProperty(calculation)) /** * @param column The column that the dynamic data targets. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the dynamic data targets. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the dynamic data targets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2df1820ade0f289fc84b2e8e77bbbcaa9c71a5dd2daafd1b0a360ab4a249232e") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param measureAggregationFunction The aggregation function that is used in the dynamic * data. */ override fun measureAggregationFunction(measureAggregationFunction: IResolvable) { cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param measureAggregationFunction The aggregation function that is used in the dynamic * data. */ override fun measureAggregationFunction(measureAggregationFunction: AggregationFunctionProperty) { cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** * @param measureAggregationFunction The aggregation function that is used in the dynamic * data. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4b4d6a66b2b82e305e3ffd4fd757b2dfd91c34e7fe260d9dd3589116670a5da6") override fun measureAggregationFunction(measureAggregationFunction: AggregationFunctionProperty.Builder.() -> Unit): Unit = measureAggregationFunction(AggregationFunctionProperty(measureAggregationFunction)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDynamicDataConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDynamicDataConfigurationProperty, ) : CdkObject(cdkObject), ReferenceLineDynamicDataConfigurationProperty { /** * The calculation that is used in the dynamic data. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedynamicdataconfiguration.html#cfn-quicksight-dashboard-referencelinedynamicdataconfiguration-calculation) */ override fun calculation(): Any = unwrap(this).getCalculation() /** * The column that the dynamic data targets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedynamicdataconfiguration.html#cfn-quicksight-dashboard-referencelinedynamicdataconfiguration-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The aggregation function that is used in the dynamic data. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinedynamicdataconfiguration.html#cfn-quicksight-dashboard-referencelinedynamicdataconfiguration-measureaggregationfunction) */ override fun measureAggregationFunction(): Any? = unwrap(this).getMeasureAggregationFunction() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ReferenceLineDynamicDataConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDynamicDataConfigurationProperty): ReferenceLineDynamicDataConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ReferenceLineDynamicDataConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ReferenceLineDynamicDataConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDynamicDataConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineDynamicDataConfigurationProperty } } /** * The label configuration of a reference line. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ReferenceLineLabelConfigurationProperty referenceLineLabelConfigurationProperty = * ReferenceLineLabelConfigurationProperty.builder() * .customLabelConfiguration(ReferenceLineCustomLabelConfigurationProperty.builder() * .customLabel("customLabel") * .build()) * .fontColor("fontColor") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .horizontalPosition("horizontalPosition") * .valueLabelConfiguration(ReferenceLineValueLabelConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .relativePosition("relativePosition") * .build()) * .verticalPosition("verticalPosition") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html) */ public interface ReferenceLineLabelConfigurationProperty { /** * The custom label configuration of the label in a reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html#cfn-quicksight-dashboard-referencelinelabelconfiguration-customlabelconfiguration) */ public fun customLabelConfiguration(): Any? = unwrap(this).getCustomLabelConfiguration() /** * The font color configuration of the label in a reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html#cfn-quicksight-dashboard-referencelinelabelconfiguration-fontcolor) */ public fun fontColor(): String? = unwrap(this).getFontColor() /** * The font configuration of the label in a reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html#cfn-quicksight-dashboard-referencelinelabelconfiguration-fontconfiguration) */ public fun fontConfiguration(): Any? = unwrap(this).getFontConfiguration() /** * The horizontal position configuration of the label in a reference line. Choose one of the * following options:. * * * `LEFT` * * `CENTER` * * `RIGHT` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html#cfn-quicksight-dashboard-referencelinelabelconfiguration-horizontalposition) */ public fun horizontalPosition(): String? = unwrap(this).getHorizontalPosition() /** * The value label configuration of the label in a reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html#cfn-quicksight-dashboard-referencelinelabelconfiguration-valuelabelconfiguration) */ public fun valueLabelConfiguration(): Any? = unwrap(this).getValueLabelConfiguration() /** * The vertical position configuration of the label in a reference line. Choose one of the * following options:. * * * `ABOVE` * * `BELOW` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html#cfn-quicksight-dashboard-referencelinelabelconfiguration-verticalposition) */ public fun verticalPosition(): String? = unwrap(this).getVerticalPosition() /** * A builder for [ReferenceLineLabelConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param customLabelConfiguration The custom label configuration of the label in a reference * line. */ public fun customLabelConfiguration(customLabelConfiguration: IResolvable) /** * @param customLabelConfiguration The custom label configuration of the label in a reference * line. */ public fun customLabelConfiguration(customLabelConfiguration: ReferenceLineCustomLabelConfigurationProperty) /** * @param customLabelConfiguration The custom label configuration of the label in a reference * line. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("47eca8bc5852266961992fddda02f4e5c91d6af6e16deaa686890f84a93997f6") public fun customLabelConfiguration(customLabelConfiguration: ReferenceLineCustomLabelConfigurationProperty.Builder.() -> Unit) /** * @param fontColor The font color configuration of the label in a reference line. */ public fun fontColor(fontColor: String) /** * @param fontConfiguration The font configuration of the label in a reference line. */ public fun fontConfiguration(fontConfiguration: IResolvable) /** * @param fontConfiguration The font configuration of the label in a reference line. */ public fun fontConfiguration(fontConfiguration: FontConfigurationProperty) /** * @param fontConfiguration The font configuration of the label in a reference line. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1ae59ad7703c145e74cf2d4a0f417c84f9c31a5f035462bfa2abfe46af27b18c") public fun fontConfiguration(fontConfiguration: FontConfigurationProperty.Builder.() -> Unit) /** * @param horizontalPosition The horizontal position configuration of the label in a reference * line. Choose one of the following options:. * * `LEFT` * * `CENTER` * * `RIGHT` */ public fun horizontalPosition(horizontalPosition: String) /** * @param valueLabelConfiguration The value label configuration of the label in a reference * line. */ public fun valueLabelConfiguration(valueLabelConfiguration: IResolvable) /** * @param valueLabelConfiguration The value label configuration of the label in a reference * line. */ public fun valueLabelConfiguration(valueLabelConfiguration: ReferenceLineValueLabelConfigurationProperty) /** * @param valueLabelConfiguration The value label configuration of the label in a reference * line. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("50019b670dfec80de87df9c43413f33ebf2590eea2bfa482d8bb658dbb750068") public fun valueLabelConfiguration(valueLabelConfiguration: ReferenceLineValueLabelConfigurationProperty.Builder.() -> Unit) /** * @param verticalPosition The vertical position configuration of the label in a reference * line. Choose one of the following options:. * * `ABOVE` * * `BELOW` */ public fun verticalPosition(verticalPosition: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineLabelConfigurationProperty.builder() /** * @param customLabelConfiguration The custom label configuration of the label in a reference * line. */ override fun customLabelConfiguration(customLabelConfiguration: IResolvable) { cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param customLabelConfiguration The custom label configuration of the label in a reference * line. */ override fun customLabelConfiguration(customLabelConfiguration: ReferenceLineCustomLabelConfigurationProperty) { cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(ReferenceLineCustomLabelConfigurationProperty.Companion::unwrap)) } /** * @param customLabelConfiguration The custom label configuration of the label in a reference * line. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("47eca8bc5852266961992fddda02f4e5c91d6af6e16deaa686890f84a93997f6") override fun customLabelConfiguration(customLabelConfiguration: ReferenceLineCustomLabelConfigurationProperty.Builder.() -> Unit): Unit = customLabelConfiguration(ReferenceLineCustomLabelConfigurationProperty(customLabelConfiguration)) /** * @param fontColor The font color configuration of the label in a reference line. */ override fun fontColor(fontColor: String) { cdkBuilder.fontColor(fontColor) } /** * @param fontConfiguration The font configuration of the label in a reference line. */ override fun fontConfiguration(fontConfiguration: IResolvable) { cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the label in a reference line. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the label in a reference line. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1ae59ad7703c145e74cf2d4a0f417c84f9c31a5f035462bfa2abfe46af27b18c") override fun fontConfiguration(fontConfiguration: FontConfigurationProperty.Builder.() -> Unit): Unit = fontConfiguration(FontConfigurationProperty(fontConfiguration)) /** * @param horizontalPosition The horizontal position configuration of the label in a reference * line. Choose one of the following options:. * * `LEFT` * * `CENTER` * * `RIGHT` */ override fun horizontalPosition(horizontalPosition: String) { cdkBuilder.horizontalPosition(horizontalPosition) } /** * @param valueLabelConfiguration The value label configuration of the label in a reference * line. */ override fun valueLabelConfiguration(valueLabelConfiguration: IResolvable) { cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param valueLabelConfiguration The value label configuration of the label in a reference * line. */ override fun valueLabelConfiguration(valueLabelConfiguration: ReferenceLineValueLabelConfigurationProperty) { cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(ReferenceLineValueLabelConfigurationProperty.Companion::unwrap)) } /** * @param valueLabelConfiguration The value label configuration of the label in a reference * line. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("50019b670dfec80de87df9c43413f33ebf2590eea2bfa482d8bb658dbb750068") override fun valueLabelConfiguration(valueLabelConfiguration: ReferenceLineValueLabelConfigurationProperty.Builder.() -> Unit): Unit = valueLabelConfiguration(ReferenceLineValueLabelConfigurationProperty(valueLabelConfiguration)) /** * @param verticalPosition The vertical position configuration of the label in a reference * line. Choose one of the following options:. * * `ABOVE` * * `BELOW` */ override fun verticalPosition(verticalPosition: String) { cdkBuilder.verticalPosition(verticalPosition) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineLabelConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineLabelConfigurationProperty, ) : CdkObject(cdkObject), ReferenceLineLabelConfigurationProperty { /** * The custom label configuration of the label in a reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html#cfn-quicksight-dashboard-referencelinelabelconfiguration-customlabelconfiguration) */ override fun customLabelConfiguration(): Any? = unwrap(this).getCustomLabelConfiguration() /** * The font color configuration of the label in a reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html#cfn-quicksight-dashboard-referencelinelabelconfiguration-fontcolor) */ override fun fontColor(): String? = unwrap(this).getFontColor() /** * The font configuration of the label in a reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html#cfn-quicksight-dashboard-referencelinelabelconfiguration-fontconfiguration) */ override fun fontConfiguration(): Any? = unwrap(this).getFontConfiguration() /** * The horizontal position configuration of the label in a reference line. Choose one of the * following options:. * * * `LEFT` * * `CENTER` * * `RIGHT` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html#cfn-quicksight-dashboard-referencelinelabelconfiguration-horizontalposition) */ override fun horizontalPosition(): String? = unwrap(this).getHorizontalPosition() /** * The value label configuration of the label in a reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html#cfn-quicksight-dashboard-referencelinelabelconfiguration-valuelabelconfiguration) */ override fun valueLabelConfiguration(): Any? = unwrap(this).getValueLabelConfiguration() /** * The vertical position configuration of the label in a reference line. Choose one of the * following options:. * * * `ABOVE` * * `BELOW` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinelabelconfiguration.html#cfn-quicksight-dashboard-referencelinelabelconfiguration-verticalposition) */ override fun verticalPosition(): String? = unwrap(this).getVerticalPosition() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ReferenceLineLabelConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineLabelConfigurationProperty): ReferenceLineLabelConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ReferenceLineLabelConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ReferenceLineLabelConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineLabelConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineLabelConfigurationProperty } } /** * The reference line visual display options. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ReferenceLineProperty referenceLineProperty = ReferenceLineProperty.builder() * .dataConfiguration(ReferenceLineDataConfigurationProperty.builder() * .axisBinding("axisBinding") * .dynamicConfiguration(ReferenceLineDynamicDataConfigurationProperty.builder() * .calculation(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .measureAggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .seriesType("seriesType") * .staticConfiguration(ReferenceLineStaticDataConfigurationProperty.builder() * .value(123) * .build()) * .build()) * // the properties below are optional * .labelConfiguration(ReferenceLineLabelConfigurationProperty.builder() * .customLabelConfiguration(ReferenceLineCustomLabelConfigurationProperty.builder() * .customLabel("customLabel") * .build()) * .fontColor("fontColor") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .horizontalPosition("horizontalPosition") * .valueLabelConfiguration(ReferenceLineValueLabelConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .relativePosition("relativePosition") * .build()) * .verticalPosition("verticalPosition") * .build()) * .status("status") * .styleConfiguration(ReferenceLineStyleConfigurationProperty.builder() * .color("color") * .pattern("pattern") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referenceline.html) */ public interface ReferenceLineProperty { /** * The data configuration of the reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referenceline.html#cfn-quicksight-dashboard-referenceline-dataconfiguration) */ public fun dataConfiguration(): Any /** * The label configuration of the reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referenceline.html#cfn-quicksight-dashboard-referenceline-labelconfiguration) */ public fun labelConfiguration(): Any? = unwrap(this).getLabelConfiguration() /** * The status of the reference line. Choose one of the following options:. * * * `ENABLE` * * `DISABLE` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referenceline.html#cfn-quicksight-dashboard-referenceline-status) */ public fun status(): String? = unwrap(this).getStatus() /** * The style configuration of the reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referenceline.html#cfn-quicksight-dashboard-referenceline-styleconfiguration) */ public fun styleConfiguration(): Any? = unwrap(this).getStyleConfiguration() /** * A builder for [ReferenceLineProperty] */ @CdkDslMarker public interface Builder { /** * @param dataConfiguration The data configuration of the reference line. */ public fun dataConfiguration(dataConfiguration: IResolvable) /** * @param dataConfiguration The data configuration of the reference line. */ public fun dataConfiguration(dataConfiguration: ReferenceLineDataConfigurationProperty) /** * @param dataConfiguration The data configuration of the reference line. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4babed729facaa729513f534952798f16809789803f8e7b38452a7c48a5cf339") public fun dataConfiguration(dataConfiguration: ReferenceLineDataConfigurationProperty.Builder.() -> Unit) /** * @param labelConfiguration The label configuration of the reference line. */ public fun labelConfiguration(labelConfiguration: IResolvable) /** * @param labelConfiguration The label configuration of the reference line. */ public fun labelConfiguration(labelConfiguration: ReferenceLineLabelConfigurationProperty) /** * @param labelConfiguration The label configuration of the reference line. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("065aa2d130900e43b8b24d6edb0d8349edb453774ea81df1bf623811ea9e0002") public fun labelConfiguration(labelConfiguration: ReferenceLineLabelConfigurationProperty.Builder.() -> Unit) /** * @param status The status of the reference line. Choose one of the following options:. * * `ENABLE` * * `DISABLE` */ public fun status(status: String) /** * @param styleConfiguration The style configuration of the reference line. */ public fun styleConfiguration(styleConfiguration: IResolvable) /** * @param styleConfiguration The style configuration of the reference line. */ public fun styleConfiguration(styleConfiguration: ReferenceLineStyleConfigurationProperty) /** * @param styleConfiguration The style configuration of the reference line. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c947e028049dbdfd7663aee2cf63e3f53e6910173184483a07d7cbc3d9cf4278") public fun styleConfiguration(styleConfiguration: ReferenceLineStyleConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineProperty.builder() /** * @param dataConfiguration The data configuration of the reference line. */ override fun dataConfiguration(dataConfiguration: IResolvable) { cdkBuilder.dataConfiguration(dataConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param dataConfiguration The data configuration of the reference line. */ override fun dataConfiguration(dataConfiguration: ReferenceLineDataConfigurationProperty) { cdkBuilder.dataConfiguration(dataConfiguration.let(ReferenceLineDataConfigurationProperty.Companion::unwrap)) } /** * @param dataConfiguration The data configuration of the reference line. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4babed729facaa729513f534952798f16809789803f8e7b38452a7c48a5cf339") override fun dataConfiguration(dataConfiguration: ReferenceLineDataConfigurationProperty.Builder.() -> Unit): Unit = dataConfiguration(ReferenceLineDataConfigurationProperty(dataConfiguration)) /** * @param labelConfiguration The label configuration of the reference line. */ override fun labelConfiguration(labelConfiguration: IResolvable) { cdkBuilder.labelConfiguration(labelConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param labelConfiguration The label configuration of the reference line. */ override fun labelConfiguration(labelConfiguration: ReferenceLineLabelConfigurationProperty) { cdkBuilder.labelConfiguration(labelConfiguration.let(ReferenceLineLabelConfigurationProperty.Companion::unwrap)) } /** * @param labelConfiguration The label configuration of the reference line. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("065aa2d130900e43b8b24d6edb0d8349edb453774ea81df1bf623811ea9e0002") override fun labelConfiguration(labelConfiguration: ReferenceLineLabelConfigurationProperty.Builder.() -> Unit): Unit = labelConfiguration(ReferenceLineLabelConfigurationProperty(labelConfiguration)) /** * @param status The status of the reference line. Choose one of the following options:. * * `ENABLE` * * `DISABLE` */ override fun status(status: String) { cdkBuilder.status(status) } /** * @param styleConfiguration The style configuration of the reference line. */ override fun styleConfiguration(styleConfiguration: IResolvable) { cdkBuilder.styleConfiguration(styleConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param styleConfiguration The style configuration of the reference line. */ override fun styleConfiguration(styleConfiguration: ReferenceLineStyleConfigurationProperty) { cdkBuilder.styleConfiguration(styleConfiguration.let(ReferenceLineStyleConfigurationProperty.Companion::unwrap)) } /** * @param styleConfiguration The style configuration of the reference line. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c947e028049dbdfd7663aee2cf63e3f53e6910173184483a07d7cbc3d9cf4278") override fun styleConfiguration(styleConfiguration: ReferenceLineStyleConfigurationProperty.Builder.() -> Unit): Unit = styleConfiguration(ReferenceLineStyleConfigurationProperty(styleConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineProperty, ) : CdkObject(cdkObject), ReferenceLineProperty { /** * The data configuration of the reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referenceline.html#cfn-quicksight-dashboard-referenceline-dataconfiguration) */ override fun dataConfiguration(): Any = unwrap(this).getDataConfiguration() /** * The label configuration of the reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referenceline.html#cfn-quicksight-dashboard-referenceline-labelconfiguration) */ override fun labelConfiguration(): Any? = unwrap(this).getLabelConfiguration() /** * The status of the reference line. Choose one of the following options:. * * * `ENABLE` * * `DISABLE` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referenceline.html#cfn-quicksight-dashboard-referenceline-status) */ override fun status(): String? = unwrap(this).getStatus() /** * The style configuration of the reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referenceline.html#cfn-quicksight-dashboard-referenceline-styleconfiguration) */ override fun styleConfiguration(): Any? = unwrap(this).getStyleConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ReferenceLineProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineProperty): ReferenceLineProperty = CdkObjectWrappers.wrap(cdkObject) as? ReferenceLineProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ReferenceLineProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineProperty } } /** * The static data configuration of the reference line data configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ReferenceLineStaticDataConfigurationProperty referenceLineStaticDataConfigurationProperty = * ReferenceLineStaticDataConfigurationProperty.builder() * .value(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinestaticdataconfiguration.html) */ public interface ReferenceLineStaticDataConfigurationProperty { /** * The double input of the static data. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinestaticdataconfiguration.html#cfn-quicksight-dashboard-referencelinestaticdataconfiguration-value) */ public fun `value`(): Number /** * A builder for [ReferenceLineStaticDataConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param value The double input of the static data. */ public fun `value`(`value`: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStaticDataConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStaticDataConfigurationProperty.builder() /** * @param value The double input of the static data. */ override fun `value`(`value`: Number) { cdkBuilder.`value`(`value`) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStaticDataConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStaticDataConfigurationProperty, ) : CdkObject(cdkObject), ReferenceLineStaticDataConfigurationProperty { /** * The double input of the static data. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinestaticdataconfiguration.html#cfn-quicksight-dashboard-referencelinestaticdataconfiguration-value) */ override fun `value`(): Number = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ReferenceLineStaticDataConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStaticDataConfigurationProperty): ReferenceLineStaticDataConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ReferenceLineStaticDataConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ReferenceLineStaticDataConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStaticDataConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStaticDataConfigurationProperty } } /** * The style configuration of the reference line. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ReferenceLineStyleConfigurationProperty referenceLineStyleConfigurationProperty = * ReferenceLineStyleConfigurationProperty.builder() * .color("color") * .pattern("pattern") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinestyleconfiguration.html) */ public interface ReferenceLineStyleConfigurationProperty { /** * The hex color of the reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinestyleconfiguration.html#cfn-quicksight-dashboard-referencelinestyleconfiguration-color) */ public fun color(): String? = unwrap(this).getColor() /** * The pattern type of the line style. Choose one of the following options:. * * * `SOLID` * * `DASHED` * * `DOTTED` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinestyleconfiguration.html#cfn-quicksight-dashboard-referencelinestyleconfiguration-pattern) */ public fun pattern(): String? = unwrap(this).getPattern() /** * A builder for [ReferenceLineStyleConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param color The hex color of the reference line. */ public fun color(color: String) /** * @param pattern The pattern type of the line style. Choose one of the following options:. * * `SOLID` * * `DASHED` * * `DOTTED` */ public fun pattern(pattern: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStyleConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStyleConfigurationProperty.builder() /** * @param color The hex color of the reference line. */ override fun color(color: String) { cdkBuilder.color(color) } /** * @param pattern The pattern type of the line style. Choose one of the following options:. * * `SOLID` * * `DASHED` * * `DOTTED` */ override fun pattern(pattern: String) { cdkBuilder.pattern(pattern) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStyleConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStyleConfigurationProperty, ) : CdkObject(cdkObject), ReferenceLineStyleConfigurationProperty { /** * The hex color of the reference line. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinestyleconfiguration.html#cfn-quicksight-dashboard-referencelinestyleconfiguration-color) */ override fun color(): String? = unwrap(this).getColor() /** * The pattern type of the line style. Choose one of the following options:. * * * `SOLID` * * `DASHED` * * `DOTTED` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinestyleconfiguration.html#cfn-quicksight-dashboard-referencelinestyleconfiguration-pattern) */ override fun pattern(): String? = unwrap(this).getPattern() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ReferenceLineStyleConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStyleConfigurationProperty): ReferenceLineStyleConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ReferenceLineStyleConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ReferenceLineStyleConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStyleConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineStyleConfigurationProperty } } /** * The value label configuration of the label in a reference line. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ReferenceLineValueLabelConfigurationProperty referenceLineValueLabelConfigurationProperty = * ReferenceLineValueLabelConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .relativePosition("relativePosition") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinevaluelabelconfiguration.html) */ public interface ReferenceLineValueLabelConfigurationProperty { /** * The format configuration of the value label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinevaluelabelconfiguration.html#cfn-quicksight-dashboard-referencelinevaluelabelconfiguration-formatconfiguration) */ public fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * The relative position of the value label. Choose one of the following options:. * * * `BEFORE_CUSTOM_LABEL` * * `AFTER_CUSTOM_LABEL` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinevaluelabelconfiguration.html#cfn-quicksight-dashboard-referencelinevaluelabelconfiguration-relativeposition) */ public fun relativePosition(): String? = unwrap(this).getRelativePosition() /** * A builder for [ReferenceLineValueLabelConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param formatConfiguration The format configuration of the value label. */ public fun formatConfiguration(formatConfiguration: IResolvable) /** * @param formatConfiguration The format configuration of the value label. */ public fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty) /** * @param formatConfiguration The format configuration of the value label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("30f7cf8911e2d007a2cfc0e7d7a04b775acda2de88451e6fe8bd77f3481d9439") public fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty.Builder.() -> Unit) /** * @param relativePosition The relative position of the value label. Choose one of the * following options:. * * `BEFORE_CUSTOM_LABEL` * * `AFTER_CUSTOM_LABEL` */ public fun relativePosition(relativePosition: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineValueLabelConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineValueLabelConfigurationProperty.builder() /** * @param formatConfiguration The format configuration of the value label. */ override fun formatConfiguration(formatConfiguration: IResolvable) { cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the value label. */ override fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty) { cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the value label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("30f7cf8911e2d007a2cfc0e7d7a04b775acda2de88451e6fe8bd77f3481d9439") override fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty.Builder.() -> Unit): Unit = formatConfiguration(NumericFormatConfigurationProperty(formatConfiguration)) /** * @param relativePosition The relative position of the value label. Choose one of the * following options:. * * `BEFORE_CUSTOM_LABEL` * * `AFTER_CUSTOM_LABEL` */ override fun relativePosition(relativePosition: String) { cdkBuilder.relativePosition(relativePosition) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineValueLabelConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineValueLabelConfigurationProperty, ) : CdkObject(cdkObject), ReferenceLineValueLabelConfigurationProperty { /** * The format configuration of the value label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinevaluelabelconfiguration.html#cfn-quicksight-dashboard-referencelinevaluelabelconfiguration-formatconfiguration) */ override fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * The relative position of the value label. Choose one of the following options:. * * * `BEFORE_CUSTOM_LABEL` * * `AFTER_CUSTOM_LABEL` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-referencelinevaluelabelconfiguration.html#cfn-quicksight-dashboard-referencelinevaluelabelconfiguration-relativeposition) */ override fun relativePosition(): String? = unwrap(this).getRelativePosition() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ReferenceLineValueLabelConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineValueLabelConfigurationProperty): ReferenceLineValueLabelConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ReferenceLineValueLabelConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ReferenceLineValueLabelConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineValueLabelConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineValueLabelConfigurationProperty } } /** * The display options of a control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * RelativeDateTimeControlDisplayOptionsProperty relativeDateTimeControlDisplayOptionsProperty = * RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatetimecontroldisplayoptions.html) */ public interface RelativeDateTimeControlDisplayOptionsProperty { /** * Customize how dates are formatted in controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatetimecontroldisplayoptions.html#cfn-quicksight-dashboard-relativedatetimecontroldisplayoptions-datetimeformat) */ public fun dateTimeFormat(): String? = unwrap(this).getDateTimeFormat() /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatetimecontroldisplayoptions.html#cfn-quicksight-dashboard-relativedatetimecontroldisplayoptions-infoiconlabeloptions) */ public fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatetimecontroldisplayoptions.html#cfn-quicksight-dashboard-relativedatetimecontroldisplayoptions-titleoptions) */ public fun titleOptions(): Any? = unwrap(this).getTitleOptions() /** * A builder for [RelativeDateTimeControlDisplayOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param dateTimeFormat Customize how dates are formatted in controls. */ public fun dateTimeFormat(dateTimeFormat: String) /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b10e6080114daf401ea3d2660002cbb81b8b1a68fcfe1b2f24b324b96598f293") public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: IResolvable) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: LabelOptionsProperty) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d2d06734315c44655d1f3d84232a5536791cd73e110b57ae0a57fda0fa8bddc4") public fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDateTimeControlDisplayOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDateTimeControlDisplayOptionsProperty.builder() /** * @param dateTimeFormat Customize how dates are formatted in controls. */ override fun dateTimeFormat(dateTimeFormat: String) { cdkBuilder.dateTimeFormat(dateTimeFormat) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b10e6080114daf401ea3d2660002cbb81b8b1a68fcfe1b2f24b324b96598f293") override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit): Unit = infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty(infoIconLabelOptions)) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d2d06734315c44655d1f3d84232a5536791cd73e110b57ae0a57fda0fa8bddc4") override fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit): Unit = titleOptions(LabelOptionsProperty(titleOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDateTimeControlDisplayOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDateTimeControlDisplayOptionsProperty, ) : CdkObject(cdkObject), RelativeDateTimeControlDisplayOptionsProperty { /** * Customize how dates are formatted in controls. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatetimecontroldisplayoptions.html#cfn-quicksight-dashboard-relativedatetimecontroldisplayoptions-datetimeformat) */ override fun dateTimeFormat(): String? = unwrap(this).getDateTimeFormat() /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatetimecontroldisplayoptions.html#cfn-quicksight-dashboard-relativedatetimecontroldisplayoptions-infoiconlabeloptions) */ override fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatetimecontroldisplayoptions.html#cfn-quicksight-dashboard-relativedatetimecontroldisplayoptions-titleoptions) */ override fun titleOptions(): Any? = unwrap(this).getTitleOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): RelativeDateTimeControlDisplayOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDateTimeControlDisplayOptionsProperty): RelativeDateTimeControlDisplayOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? RelativeDateTimeControlDisplayOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: RelativeDateTimeControlDisplayOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDateTimeControlDisplayOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDateTimeControlDisplayOptionsProperty } } /** * A `RelativeDatesFilter` filters relative dates values. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * RelativeDatesFilterProperty relativeDatesFilterProperty = RelativeDatesFilterProperty.builder() * .anchorDateConfiguration(AnchorDateConfigurationProperty.builder() * .anchorOption("anchorOption") * .parameterName("parameterName") * .build()) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .filterId("filterId") * .nullOption("nullOption") * .relativeDateType("relativeDateType") * .timeGranularity("timeGranularity") * // the properties below are optional * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() * .controlOptions(DefaultFilterControlOptionsProperty.builder() * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build()) * .title("title") * .build()) * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() * .amount(123) * .granularity("granularity") * // the properties below are optional * .status("status") * .build()) * .minimumGranularity("minimumGranularity") * .parameterName("parameterName") * .relativeDateValue(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html) */ public interface RelativeDatesFilterProperty { /** * The date configuration of the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-anchordateconfiguration) */ public fun anchorDateConfiguration(): Any /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-column) */ public fun column(): Any /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-defaultfiltercontrolconfiguration) */ public fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * The configuration for the exclude period of the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-excludeperiodconfiguration) */ public fun excludePeriodConfiguration(): Any? = unwrap(this).getExcludePeriodConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-filterid) */ public fun filterId(): String /** * The minimum granularity (period granularity) of the relative dates filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-minimumgranularity) */ public fun minimumGranularity(): String? = unwrap(this).getMinimumGranularity() /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-nulloption) */ public fun nullOption(): String /** * The parameter whose value should be used for the filter value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-parametername) */ public fun parameterName(): String? = unwrap(this).getParameterName() /** * The range date type of the filter. Choose one of the options below:. * * * `PREVIOUS` * * `THIS` * * `LAST` * * `NOW` * * `NEXT` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-relativedatetype) */ public fun relativeDateType(): String /** * The date value of the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-relativedatevalue) */ public fun relativeDateValue(): Number? = unwrap(this).getRelativeDateValue() /** * The level of time precision that is used to aggregate `DateTime` values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-timegranularity) */ public fun timeGranularity(): String /** * A builder for [RelativeDatesFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param anchorDateConfiguration The date configuration of the filter. */ public fun anchorDateConfiguration(anchorDateConfiguration: IResolvable) /** * @param anchorDateConfiguration The date configuration of the filter. */ public fun anchorDateConfiguration(anchorDateConfiguration: AnchorDateConfigurationProperty) /** * @param anchorDateConfiguration The date configuration of the filter. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("09ce2b0f6d3c0ae6b3281949a00c89ba92cc2c530ecc197906b4e3821eeea911") public fun anchorDateConfiguration(anchorDateConfiguration: AnchorDateConfigurationProperty.Builder.() -> Unit) /** * @param column The column that the filter is applied to. */ public fun column(column: IResolvable) /** * @param column The column that the filter is applied to. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("252bc704d554adc4295c753c0d4b4bd4d6d23c425061f70d57ac53271fc5b748") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e326007cf79b07e875e69c653e6dcff678644e741b686010c77e9047f4abc97b") public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) /** * @param excludePeriodConfiguration The configuration for the exclude period of the filter. */ public fun excludePeriodConfiguration(excludePeriodConfiguration: IResolvable) /** * @param excludePeriodConfiguration The configuration for the exclude period of the filter. */ public fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty) /** * @param excludePeriodConfiguration The configuration for the exclude period of the filter. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("eb36e88de69ebd632efb676674c5eee36bd2660ee2fc71b0c8ab7a4a41f622d7") public fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty.Builder.() -> Unit) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ public fun filterId(filterId: String) /** * @param minimumGranularity The minimum granularity (period granularity) of the relative * dates filter. */ public fun minimumGranularity(minimumGranularity: String) /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ public fun nullOption(nullOption: String) /** * @param parameterName The parameter whose value should be used for the filter value. */ public fun parameterName(parameterName: String) /** * @param relativeDateType The range date type of the filter. Choose one of the options * below:. * * `PREVIOUS` * * `THIS` * * `LAST` * * `NOW` * * `NEXT` */ public fun relativeDateType(relativeDateType: String) /** * @param relativeDateValue The date value of the filter. */ public fun relativeDateValue(relativeDateValue: Number) /** * @param timeGranularity The level of time precision that is used to aggregate `DateTime` * values. */ public fun timeGranularity(timeGranularity: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDatesFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDatesFilterProperty.builder() /** * @param anchorDateConfiguration The date configuration of the filter. */ override fun anchorDateConfiguration(anchorDateConfiguration: IResolvable) { cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param anchorDateConfiguration The date configuration of the filter. */ override fun anchorDateConfiguration(anchorDateConfiguration: AnchorDateConfigurationProperty) { cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(AnchorDateConfigurationProperty.Companion::unwrap)) } /** * @param anchorDateConfiguration The date configuration of the filter. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("09ce2b0f6d3c0ae6b3281949a00c89ba92cc2c530ecc197906b4e3821eeea911") override fun anchorDateConfiguration(anchorDateConfiguration: AnchorDateConfigurationProperty.Builder.() -> Unit): Unit = anchorDateConfiguration(AnchorDateConfigurationProperty(anchorDateConfiguration)) /** * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("252bc704d554adc4295c753c0d4b4bd4d6d23c425061f70d57ac53271fc5b748") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e326007cf79b07e875e69c653e6dcff678644e741b686010c77e9047f4abc97b") override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): Unit = defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) /** * @param excludePeriodConfiguration The configuration for the exclude period of the filter. */ override fun excludePeriodConfiguration(excludePeriodConfiguration: IResolvable) { cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param excludePeriodConfiguration The configuration for the exclude period of the filter. */ override fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty) { cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty.Companion::unwrap)) } /** * @param excludePeriodConfiguration The configuration for the exclude period of the filter. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("eb36e88de69ebd632efb676674c5eee36bd2660ee2fc71b0c8ab7a4a41f622d7") override fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty.Builder.() -> Unit): Unit = excludePeriodConfiguration(ExcludePeriodConfigurationProperty(excludePeriodConfiguration)) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ override fun filterId(filterId: String) { cdkBuilder.filterId(filterId) } /** * @param minimumGranularity The minimum granularity (period granularity) of the relative * dates filter. */ override fun minimumGranularity(minimumGranularity: String) { cdkBuilder.minimumGranularity(minimumGranularity) } /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ override fun nullOption(nullOption: String) { cdkBuilder.nullOption(nullOption) } /** * @param parameterName The parameter whose value should be used for the filter value. */ override fun parameterName(parameterName: String) { cdkBuilder.parameterName(parameterName) } /** * @param relativeDateType The range date type of the filter. Choose one of the options * below:. * * `PREVIOUS` * * `THIS` * * `LAST` * * `NOW` * * `NEXT` */ override fun relativeDateType(relativeDateType: String) { cdkBuilder.relativeDateType(relativeDateType) } /** * @param relativeDateValue The date value of the filter. */ override fun relativeDateValue(relativeDateValue: Number) { cdkBuilder.relativeDateValue(relativeDateValue) } /** * @param timeGranularity The level of time precision that is used to aggregate `DateTime` * values. */ override fun timeGranularity(timeGranularity: String) { cdkBuilder.timeGranularity(timeGranularity) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDatesFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDatesFilterProperty, ) : CdkObject(cdkObject), RelativeDatesFilterProperty { /** * The date configuration of the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-anchordateconfiguration) */ override fun anchorDateConfiguration(): Any = unwrap(this).getAnchorDateConfiguration() /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-defaultfiltercontrolconfiguration) */ override fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * The configuration for the exclude period of the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-excludeperiodconfiguration) */ override fun excludePeriodConfiguration(): Any? = unwrap(this).getExcludePeriodConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-filterid) */ override fun filterId(): String = unwrap(this).getFilterId() /** * The minimum granularity (period granularity) of the relative dates filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-minimumgranularity) */ override fun minimumGranularity(): String? = unwrap(this).getMinimumGranularity() /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-nulloption) */ override fun nullOption(): String = unwrap(this).getNullOption() /** * The parameter whose value should be used for the filter value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-parametername) */ override fun parameterName(): String? = unwrap(this).getParameterName() /** * The range date type of the filter. Choose one of the options below:. * * * `PREVIOUS` * * `THIS` * * `LAST` * * `NOW` * * `NEXT` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-relativedatetype) */ override fun relativeDateType(): String = unwrap(this).getRelativeDateType() /** * The date value of the filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-relativedatevalue) */ override fun relativeDateValue(): Number? = unwrap(this).getRelativeDateValue() /** * The level of time precision that is used to aggregate `DateTime` values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-timegranularity) */ override fun timeGranularity(): String = unwrap(this).getTimeGranularity() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): RelativeDatesFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDatesFilterProperty): RelativeDatesFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? RelativeDatesFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: RelativeDatesFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDatesFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.RelativeDatesFilterProperty } } /** * Permission for the resource. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ResourcePermissionProperty resourcePermissionProperty = ResourcePermissionProperty.builder() * .actions(List.of("actions")) * .principal("principal") * // the properties below are optional * .resource("resource") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-resourcepermission.html) */ public interface ResourcePermissionProperty { /** * The IAM action to grant or revoke permissions on. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-resourcepermission.html#cfn-quicksight-dashboard-resourcepermission-actions) */ public fun actions(): List /** * The Amazon Resource Name (ARN) of the principal. This can be one of the following:. * * * The ARN of an Amazon QuickSight user or group associated with a data source or dataset. * (This is common.) * * The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, * dashboard, template, or theme. (This is common.) * * The ARN of an AWS account root: This is an IAM ARN rather than a Amazon QuickSight ARN. Use * this option only to share resources (templates) across AWS accounts . (This is less common.) * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-resourcepermission.html#cfn-quicksight-dashboard-resourcepermission-principal) */ public fun principal(): String /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-resourcepermission.html#cfn-quicksight-dashboard-resourcepermission-resource) */ public fun resource(): String? = unwrap(this).getResource() /** * A builder for [ResourcePermissionProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The IAM action to grant or revoke permissions on. */ public fun actions(actions: List) /** * @param actions The IAM action to grant or revoke permissions on. */ public fun actions(vararg actions: String) /** * @param principal The Amazon Resource Name (ARN) of the principal. This can be one of the * following:. * * The ARN of an Amazon QuickSight user or group associated with a data source or dataset. * (This is common.) * * The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, * dashboard, template, or theme. (This is common.) * * The ARN of an AWS account root: This is an IAM ARN rather than a Amazon QuickSight ARN. * Use this option only to share resources (templates) across AWS accounts . (This is less * common.) */ public fun principal(principal: String) /** * @param resource the value to be set. */ public fun resource(resource: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ResourcePermissionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ResourcePermissionProperty.builder() /** * @param actions The IAM action to grant or revoke permissions on. */ override fun actions(actions: List) { cdkBuilder.actions(actions) } /** * @param actions The IAM action to grant or revoke permissions on. */ override fun actions(vararg actions: String): Unit = actions(actions.toList()) /** * @param principal The Amazon Resource Name (ARN) of the principal. This can be one of the * following:. * * The ARN of an Amazon QuickSight user or group associated with a data source or dataset. * (This is common.) * * The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, * dashboard, template, or theme. (This is common.) * * The ARN of an AWS account root: This is an IAM ARN rather than a Amazon QuickSight ARN. * Use this option only to share resources (templates) across AWS accounts . (This is less * common.) */ override fun principal(principal: String) { cdkBuilder.principal(principal) } /** * @param resource the value to be set. */ override fun resource(resource: String) { cdkBuilder.resource(resource) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ResourcePermissionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ResourcePermissionProperty, ) : CdkObject(cdkObject), ResourcePermissionProperty { /** * The IAM action to grant or revoke permissions on. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-resourcepermission.html#cfn-quicksight-dashboard-resourcepermission-actions) */ override fun actions(): List = unwrap(this).getActions() /** * The Amazon Resource Name (ARN) of the principal. This can be one of the following:. * * * The ARN of an Amazon QuickSight user or group associated with a data source or dataset. * (This is common.) * * The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, * dashboard, template, or theme. (This is common.) * * The ARN of an AWS account root: This is an IAM ARN rather than a Amazon QuickSight ARN. * Use this option only to share resources (templates) across AWS accounts . (This is less * common.) * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-resourcepermission.html#cfn-quicksight-dashboard-resourcepermission-principal) */ override fun principal(): String = unwrap(this).getPrincipal() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-resourcepermission.html#cfn-quicksight-dashboard-resourcepermission-resource) */ override fun resource(): String? = unwrap(this).getResource() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ResourcePermissionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ResourcePermissionProperty): ResourcePermissionProperty = CdkObjectWrappers.wrap(cdkObject) as? ResourcePermissionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ResourcePermissionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ResourcePermissionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ResourcePermissionProperty } } /** * The rolling date configuration of a date time filter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * RollingDateConfigurationProperty rollingDateConfigurationProperty = * RollingDateConfigurationProperty.builder() * .expression("expression") * // the properties below are optional * .dataSetIdentifier("dataSetIdentifier") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rollingdateconfiguration.html) */ public interface RollingDateConfigurationProperty { /** * The data set that is used in the rolling date configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rollingdateconfiguration.html#cfn-quicksight-dashboard-rollingdateconfiguration-datasetidentifier) */ public fun dataSetIdentifier(): String? = unwrap(this).getDataSetIdentifier() /** * The expression of the rolling date configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rollingdateconfiguration.html#cfn-quicksight-dashboard-rollingdateconfiguration-expression) */ public fun expression(): String /** * A builder for [RollingDateConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param dataSetIdentifier The data set that is used in the rolling date configuration. */ public fun dataSetIdentifier(dataSetIdentifier: String) /** * @param expression The expression of the rolling date configuration. */ public fun expression(expression: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.RollingDateConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.RollingDateConfigurationProperty.builder() /** * @param dataSetIdentifier The data set that is used in the rolling date configuration. */ override fun dataSetIdentifier(dataSetIdentifier: String) { cdkBuilder.dataSetIdentifier(dataSetIdentifier) } /** * @param expression The expression of the rolling date configuration. */ override fun expression(expression: String) { cdkBuilder.expression(expression) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.RollingDateConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RollingDateConfigurationProperty, ) : CdkObject(cdkObject), RollingDateConfigurationProperty { /** * The data set that is used in the rolling date configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rollingdateconfiguration.html#cfn-quicksight-dashboard-rollingdateconfiguration-datasetidentifier) */ override fun dataSetIdentifier(): String? = unwrap(this).getDataSetIdentifier() /** * The expression of the rolling date configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rollingdateconfiguration.html#cfn-quicksight-dashboard-rollingdateconfiguration-expression) */ override fun expression(): String = unwrap(this).getExpression() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): RollingDateConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RollingDateConfigurationProperty): RollingDateConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? RollingDateConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: RollingDateConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.RollingDateConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.RollingDateConfigurationProperty } } /** * Determines the row alternate color options. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * RowAlternateColorOptionsProperty rowAlternateColorOptionsProperty = * RowAlternateColorOptionsProperty.builder() * .rowAlternateColors(List.of("rowAlternateColors")) * .status("status") * .usePrimaryBackgroundColor("usePrimaryBackgroundColor") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rowalternatecoloroptions.html) */ public interface RowAlternateColorOptionsProperty { /** * Determines the list of row alternate colors. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rowalternatecoloroptions.html#cfn-quicksight-dashboard-rowalternatecoloroptions-rowalternatecolors) */ public fun rowAlternateColors(): List = unwrap(this).getRowAlternateColors() ?: emptyList() /** * Determines the widget status. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rowalternatecoloroptions.html#cfn-quicksight-dashboard-rowalternatecoloroptions-status) */ public fun status(): String? = unwrap(this).getStatus() /** * The primary background color options for alternate rows. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rowalternatecoloroptions.html#cfn-quicksight-dashboard-rowalternatecoloroptions-useprimarybackgroundcolor) */ public fun usePrimaryBackgroundColor(): String? = unwrap(this).getUsePrimaryBackgroundColor() /** * A builder for [RowAlternateColorOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param rowAlternateColors Determines the list of row alternate colors. */ public fun rowAlternateColors(rowAlternateColors: List) /** * @param rowAlternateColors Determines the list of row alternate colors. */ public fun rowAlternateColors(vararg rowAlternateColors: String) /** * @param status Determines the widget status. */ public fun status(status: String) /** * @param usePrimaryBackgroundColor The primary background color options for alternate rows. */ public fun usePrimaryBackgroundColor(usePrimaryBackgroundColor: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.RowAlternateColorOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.RowAlternateColorOptionsProperty.builder() /** * @param rowAlternateColors Determines the list of row alternate colors. */ override fun rowAlternateColors(rowAlternateColors: List) { cdkBuilder.rowAlternateColors(rowAlternateColors) } /** * @param rowAlternateColors Determines the list of row alternate colors. */ override fun rowAlternateColors(vararg rowAlternateColors: String): Unit = rowAlternateColors(rowAlternateColors.toList()) /** * @param status Determines the widget status. */ override fun status(status: String) { cdkBuilder.status(status) } /** * @param usePrimaryBackgroundColor The primary background color options for alternate rows. */ override fun usePrimaryBackgroundColor(usePrimaryBackgroundColor: String) { cdkBuilder.usePrimaryBackgroundColor(usePrimaryBackgroundColor) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.RowAlternateColorOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RowAlternateColorOptionsProperty, ) : CdkObject(cdkObject), RowAlternateColorOptionsProperty { /** * Determines the list of row alternate colors. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rowalternatecoloroptions.html#cfn-quicksight-dashboard-rowalternatecoloroptions-rowalternatecolors) */ override fun rowAlternateColors(): List = unwrap(this).getRowAlternateColors() ?: emptyList() /** * Determines the widget status. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rowalternatecoloroptions.html#cfn-quicksight-dashboard-rowalternatecoloroptions-status) */ override fun status(): String? = unwrap(this).getStatus() /** * The primary background color options for alternate rows. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-rowalternatecoloroptions.html#cfn-quicksight-dashboard-rowalternatecoloroptions-useprimarybackgroundcolor) */ override fun usePrimaryBackgroundColor(): String? = unwrap(this).getUsePrimaryBackgroundColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): RowAlternateColorOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.RowAlternateColorOptionsProperty): RowAlternateColorOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? RowAlternateColorOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: RowAlternateColorOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.RowAlternateColorOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.RowAlternateColorOptionsProperty } } /** * The configuration of the same-sheet target visuals that you want to be filtered. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SameSheetTargetVisualConfigurationProperty sameSheetTargetVisualConfigurationProperty = * SameSheetTargetVisualConfigurationProperty.builder() * .targetVisualOptions("targetVisualOptions") * .targetVisuals(List.of("targetVisuals")) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-samesheettargetvisualconfiguration.html) */ public interface SameSheetTargetVisualConfigurationProperty { /** * The options that choose the target visual in the same sheet. * * Valid values are defined as follows: * * * `ALL_VISUALS` : Applies the filter operation to all visuals in the same sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-samesheettargetvisualconfiguration.html#cfn-quicksight-dashboard-samesheettargetvisualconfiguration-targetvisualoptions) */ public fun targetVisualOptions(): String? = unwrap(this).getTargetVisualOptions() /** * A list of the target visual IDs that are located in the same sheet of the analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-samesheettargetvisualconfiguration.html#cfn-quicksight-dashboard-samesheettargetvisualconfiguration-targetvisuals) */ public fun targetVisuals(): List = unwrap(this).getTargetVisuals() ?: emptyList() /** * A builder for [SameSheetTargetVisualConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param targetVisualOptions The options that choose the target visual in the same sheet. * Valid values are defined as follows: * * * `ALL_VISUALS` : Applies the filter operation to all visuals in the same sheet. */ public fun targetVisualOptions(targetVisualOptions: String) /** * @param targetVisuals A list of the target visual IDs that are located in the same sheet of * the analysis. */ public fun targetVisuals(targetVisuals: List) /** * @param targetVisuals A list of the target visual IDs that are located in the same sheet of * the analysis. */ public fun targetVisuals(vararg targetVisuals: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SameSheetTargetVisualConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SameSheetTargetVisualConfigurationProperty.builder() /** * @param targetVisualOptions The options that choose the target visual in the same sheet. * Valid values are defined as follows: * * * `ALL_VISUALS` : Applies the filter operation to all visuals in the same sheet. */ override fun targetVisualOptions(targetVisualOptions: String) { cdkBuilder.targetVisualOptions(targetVisualOptions) } /** * @param targetVisuals A list of the target visual IDs that are located in the same sheet of * the analysis. */ override fun targetVisuals(targetVisuals: List) { cdkBuilder.targetVisuals(targetVisuals) } /** * @param targetVisuals A list of the target visual IDs that are located in the same sheet of * the analysis. */ override fun targetVisuals(vararg targetVisuals: String): Unit = targetVisuals(targetVisuals.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SameSheetTargetVisualConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SameSheetTargetVisualConfigurationProperty, ) : CdkObject(cdkObject), SameSheetTargetVisualConfigurationProperty { /** * The options that choose the target visual in the same sheet. * * Valid values are defined as follows: * * * `ALL_VISUALS` : Applies the filter operation to all visuals in the same sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-samesheettargetvisualconfiguration.html#cfn-quicksight-dashboard-samesheettargetvisualconfiguration-targetvisualoptions) */ override fun targetVisualOptions(): String? = unwrap(this).getTargetVisualOptions() /** * A list of the target visual IDs that are located in the same sheet of the analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-samesheettargetvisualconfiguration.html#cfn-quicksight-dashboard-samesheettargetvisualconfiguration-targetvisuals) */ override fun targetVisuals(): List = unwrap(this).getTargetVisuals() ?: emptyList() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SameSheetTargetVisualConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SameSheetTargetVisualConfigurationProperty): SameSheetTargetVisualConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? SameSheetTargetVisualConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SameSheetTargetVisualConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SameSheetTargetVisualConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SameSheetTargetVisualConfigurationProperty } } /** * The field well configuration of a sankey diagram. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramaggregatedfieldwells.html) */ public interface SankeyDiagramAggregatedFieldWellsProperty { /** * The destination field wells of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramaggregatedfieldwells.html#cfn-quicksight-dashboard-sankeydiagramaggregatedfieldwells-destination) */ public fun destination(): Any? = unwrap(this).getDestination() /** * The source field wells of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramaggregatedfieldwells.html#cfn-quicksight-dashboard-sankeydiagramaggregatedfieldwells-source) */ public fun source(): Any? = unwrap(this).getSource() /** * The weight field wells of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramaggregatedfieldwells.html#cfn-quicksight-dashboard-sankeydiagramaggregatedfieldwells-weight) */ public fun weight(): Any? = unwrap(this).getWeight() /** * A builder for [SankeyDiagramAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param destination The destination field wells of a sankey diagram. */ public fun destination(destination: IResolvable) /** * @param destination The destination field wells of a sankey diagram. */ public fun destination(destination: List) /** * @param destination The destination field wells of a sankey diagram. */ public fun destination(vararg destination: Any) /** * @param source The source field wells of a sankey diagram. */ public fun source(source: IResolvable) /** * @param source The source field wells of a sankey diagram. */ public fun source(source: List) /** * @param source The source field wells of a sankey diagram. */ public fun source(vararg source: Any) /** * @param weight The weight field wells of a sankey diagram. */ public fun weight(weight: IResolvable) /** * @param weight The weight field wells of a sankey diagram. */ public fun weight(weight: List) /** * @param weight The weight field wells of a sankey diagram. */ public fun weight(vararg weight: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramAggregatedFieldWellsProperty.builder() /** * @param destination The destination field wells of a sankey diagram. */ override fun destination(destination: IResolvable) { cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** * @param destination The destination field wells of a sankey diagram. */ override fun destination(destination: List) { cdkBuilder.destination(destination.map{CdkObjectWrappers.unwrap(it)}) } /** * @param destination The destination field wells of a sankey diagram. */ override fun destination(vararg destination: Any): Unit = destination(destination.toList()) /** * @param source The source field wells of a sankey diagram. */ override fun source(source: IResolvable) { cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** * @param source The source field wells of a sankey diagram. */ override fun source(source: List) { cdkBuilder.source(source.map{CdkObjectWrappers.unwrap(it)}) } /** * @param source The source field wells of a sankey diagram. */ override fun source(vararg source: Any): Unit = source(source.toList()) /** * @param weight The weight field wells of a sankey diagram. */ override fun weight(weight: IResolvable) { cdkBuilder.weight(weight.let(IResolvable.Companion::unwrap)) } /** * @param weight The weight field wells of a sankey diagram. */ override fun weight(weight: List) { cdkBuilder.weight(weight.map{CdkObjectWrappers.unwrap(it)}) } /** * @param weight The weight field wells of a sankey diagram. */ override fun weight(vararg weight: Any): Unit = weight(weight.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), SankeyDiagramAggregatedFieldWellsProperty { /** * The destination field wells of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramaggregatedfieldwells.html#cfn-quicksight-dashboard-sankeydiagramaggregatedfieldwells-destination) */ override fun destination(): Any? = unwrap(this).getDestination() /** * The source field wells of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramaggregatedfieldwells.html#cfn-quicksight-dashboard-sankeydiagramaggregatedfieldwells-source) */ override fun source(): Any? = unwrap(this).getSource() /** * The weight field wells of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramaggregatedfieldwells.html#cfn-quicksight-dashboard-sankeydiagramaggregatedfieldwells-weight) */ override fun weight(): Any? = unwrap(this).getWeight() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SankeyDiagramAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramAggregatedFieldWellsProperty): SankeyDiagramAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? SankeyDiagramAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SankeyDiagramAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramAggregatedFieldWellsProperty } } /** * The configuration of a sankey diagram. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramchartconfiguration.html) */ public interface SankeyDiagramChartConfigurationProperty { /** * The data label configuration of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramchartconfiguration.html#cfn-quicksight-dashboard-sankeydiagramchartconfiguration-datalabels) */ public fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field well configuration of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramchartconfiguration.html#cfn-quicksight-dashboard-sankeydiagramchartconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The sort configuration of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramchartconfiguration.html#cfn-quicksight-dashboard-sankeydiagramchartconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * A builder for [SankeyDiagramChartConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param dataLabels The data label configuration of a sankey diagram. */ public fun dataLabels(dataLabels: IResolvable) /** * @param dataLabels The data label configuration of a sankey diagram. */ public fun dataLabels(dataLabels: DataLabelOptionsProperty) /** * @param dataLabels The data label configuration of a sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4dfd3da688afd07fac67e44e193b748eb768c02d255c0d91441ab41ce1c1dd7f") public fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field well configuration of a sankey diagram. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field well configuration of a sankey diagram. */ public fun fieldWells(fieldWells: SankeyDiagramFieldWellsProperty) /** * @param fieldWells The field well configuration of a sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2e407ac5eb68013a593e7c4a09ff5948501fe39108a419377c8cadad66fffdf1") public fun fieldWells(fieldWells: SankeyDiagramFieldWellsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration of a sankey diagram. */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a sankey diagram. */ public fun sortConfiguration(sortConfiguration: SankeyDiagramSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0b3041771c0ea852e9b9b50613b756136217810e22b81250782d6ad418b61072") public fun sortConfiguration(sortConfiguration: SankeyDiagramSortConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramChartConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramChartConfigurationProperty.builder() /** * @param dataLabels The data label configuration of a sankey diagram. */ override fun dataLabels(dataLabels: IResolvable) { cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a sankey diagram. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4dfd3da688afd07fac67e44e193b748eb768c02d255c0d91441ab41ce1c1dd7f") override fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit): Unit = dataLabels(DataLabelOptionsProperty(dataLabels)) /** * @param fieldWells The field well configuration of a sankey diagram. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a sankey diagram. */ override fun fieldWells(fieldWells: SankeyDiagramFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(SankeyDiagramFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2e407ac5eb68013a593e7c4a09ff5948501fe39108a419377c8cadad66fffdf1") override fun fieldWells(fieldWells: SankeyDiagramFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(SankeyDiagramFieldWellsProperty(fieldWells)) /** * @param sortConfiguration The sort configuration of a sankey diagram. */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a sankey diagram. */ override fun sortConfiguration(sortConfiguration: SankeyDiagramSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(SankeyDiagramSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0b3041771c0ea852e9b9b50613b756136217810e22b81250782d6ad418b61072") override fun sortConfiguration(sortConfiguration: SankeyDiagramSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(SankeyDiagramSortConfigurationProperty(sortConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramChartConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramChartConfigurationProperty, ) : CdkObject(cdkObject), SankeyDiagramChartConfigurationProperty { /** * The data label configuration of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramchartconfiguration.html#cfn-quicksight-dashboard-sankeydiagramchartconfiguration-datalabels) */ override fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field well configuration of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramchartconfiguration.html#cfn-quicksight-dashboard-sankeydiagramchartconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The sort configuration of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramchartconfiguration.html#cfn-quicksight-dashboard-sankeydiagramchartconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SankeyDiagramChartConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramChartConfigurationProperty): SankeyDiagramChartConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? SankeyDiagramChartConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SankeyDiagramChartConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramChartConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramChartConfigurationProperty } } /** * The field well configuration of a sankey diagram. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramfieldwells.html) */ public interface SankeyDiagramFieldWellsProperty { /** * The field well configuration of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramfieldwells.html#cfn-quicksight-dashboard-sankeydiagramfieldwells-sankeydiagramaggregatedfieldwells) */ public fun sankeyDiagramAggregatedFieldWells(): Any? = unwrap(this).getSankeyDiagramAggregatedFieldWells() /** * A builder for [SankeyDiagramFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param sankeyDiagramAggregatedFieldWells The field well configuration of a sankey diagram. */ public fun sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells: IResolvable) /** * @param sankeyDiagramAggregatedFieldWells The field well configuration of a sankey diagram. */ public fun sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells: SankeyDiagramAggregatedFieldWellsProperty) /** * @param sankeyDiagramAggregatedFieldWells The field well configuration of a sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("79a4c200f6f3a4aecd1cf2bf1a815fe13e73acb24e7ec02aca1bf237806c10ad") public fun sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells: SankeyDiagramAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramFieldWellsProperty.builder() /** * @param sankeyDiagramAggregatedFieldWells The field well configuration of a sankey diagram. */ override fun sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells: IResolvable) { cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param sankeyDiagramAggregatedFieldWells The field well configuration of a sankey diagram. */ override fun sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells: SankeyDiagramAggregatedFieldWellsProperty) { cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(SankeyDiagramAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param sankeyDiagramAggregatedFieldWells The field well configuration of a sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("79a4c200f6f3a4aecd1cf2bf1a815fe13e73acb24e7ec02aca1bf237806c10ad") override fun sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells: SankeyDiagramAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = sankeyDiagramAggregatedFieldWells(SankeyDiagramAggregatedFieldWellsProperty(sankeyDiagramAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramFieldWellsProperty, ) : CdkObject(cdkObject), SankeyDiagramFieldWellsProperty { /** * The field well configuration of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramfieldwells.html#cfn-quicksight-dashboard-sankeydiagramfieldwells-sankeydiagramaggregatedfieldwells) */ override fun sankeyDiagramAggregatedFieldWells(): Any? = unwrap(this).getSankeyDiagramAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SankeyDiagramFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramFieldWellsProperty): SankeyDiagramFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? SankeyDiagramFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SankeyDiagramFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramFieldWellsProperty } } /** * The sort configuration of a sankey diagram. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SankeyDiagramSortConfigurationProperty sankeyDiagramSortConfigurationProperty = * SankeyDiagramSortConfigurationProperty.builder() * .destinationItemsLimit(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .sourceItemsLimit(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .weightSort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramsortconfiguration.html) */ public interface SankeyDiagramSortConfigurationProperty { /** * The limit on the number of destination nodes that are displayed in a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramsortconfiguration.html#cfn-quicksight-dashboard-sankeydiagramsortconfiguration-destinationitemslimit) */ public fun destinationItemsLimit(): Any? = unwrap(this).getDestinationItemsLimit() /** * The limit on the number of source nodes that are displayed in a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramsortconfiguration.html#cfn-quicksight-dashboard-sankeydiagramsortconfiguration-sourceitemslimit) */ public fun sourceItemsLimit(): Any? = unwrap(this).getSourceItemsLimit() /** * The sort configuration of the weight fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramsortconfiguration.html#cfn-quicksight-dashboard-sankeydiagramsortconfiguration-weightsort) */ public fun weightSort(): Any? = unwrap(this).getWeightSort() /** * A builder for [SankeyDiagramSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param destinationItemsLimit The limit on the number of destination nodes that are * displayed in a sankey diagram. */ public fun destinationItemsLimit(destinationItemsLimit: IResolvable) /** * @param destinationItemsLimit The limit on the number of destination nodes that are * displayed in a sankey diagram. */ public fun destinationItemsLimit(destinationItemsLimit: ItemsLimitConfigurationProperty) /** * @param destinationItemsLimit The limit on the number of destination nodes that are * displayed in a sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("15ad024d0b6b246c5afba25e148d7ea98d27f316b31e01322f94745ec09c31b6") public fun destinationItemsLimit(destinationItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param sourceItemsLimit The limit on the number of source nodes that are displayed in a * sankey diagram. */ public fun sourceItemsLimit(sourceItemsLimit: IResolvable) /** * @param sourceItemsLimit The limit on the number of source nodes that are displayed in a * sankey diagram. */ public fun sourceItemsLimit(sourceItemsLimit: ItemsLimitConfigurationProperty) /** * @param sourceItemsLimit The limit on the number of source nodes that are displayed in a * sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c3f1f4045ccd9d67db2bf2e0e7ad11545ca778bb8dd54be70edcce805eac8463") public fun sourceItemsLimit(sourceItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param weightSort The sort configuration of the weight fields. */ public fun weightSort(weightSort: IResolvable) /** * @param weightSort The sort configuration of the weight fields. */ public fun weightSort(weightSort: List) /** * @param weightSort The sort configuration of the weight fields. */ public fun weightSort(vararg weightSort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramSortConfigurationProperty.builder() /** * @param destinationItemsLimit The limit on the number of destination nodes that are * displayed in a sankey diagram. */ override fun destinationItemsLimit(destinationItemsLimit: IResolvable) { cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param destinationItemsLimit The limit on the number of destination nodes that are * displayed in a sankey diagram. */ override fun destinationItemsLimit(destinationItemsLimit: ItemsLimitConfigurationProperty) { cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param destinationItemsLimit The limit on the number of destination nodes that are * displayed in a sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("15ad024d0b6b246c5afba25e148d7ea98d27f316b31e01322f94745ec09c31b6") override fun destinationItemsLimit(destinationItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = destinationItemsLimit(ItemsLimitConfigurationProperty(destinationItemsLimit)) /** * @param sourceItemsLimit The limit on the number of source nodes that are displayed in a * sankey diagram. */ override fun sourceItemsLimit(sourceItemsLimit: IResolvable) { cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param sourceItemsLimit The limit on the number of source nodes that are displayed in a * sankey diagram. */ override fun sourceItemsLimit(sourceItemsLimit: ItemsLimitConfigurationProperty) { cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param sourceItemsLimit The limit on the number of source nodes that are displayed in a * sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c3f1f4045ccd9d67db2bf2e0e7ad11545ca778bb8dd54be70edcce805eac8463") override fun sourceItemsLimit(sourceItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = sourceItemsLimit(ItemsLimitConfigurationProperty(sourceItemsLimit)) /** * @param weightSort The sort configuration of the weight fields. */ override fun weightSort(weightSort: IResolvable) { cdkBuilder.weightSort(weightSort.let(IResolvable.Companion::unwrap)) } /** * @param weightSort The sort configuration of the weight fields. */ override fun weightSort(weightSort: List) { cdkBuilder.weightSort(weightSort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param weightSort The sort configuration of the weight fields. */ override fun weightSort(vararg weightSort: Any): Unit = weightSort(weightSort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramSortConfigurationProperty, ) : CdkObject(cdkObject), SankeyDiagramSortConfigurationProperty { /** * The limit on the number of destination nodes that are displayed in a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramsortconfiguration.html#cfn-quicksight-dashboard-sankeydiagramsortconfiguration-destinationitemslimit) */ override fun destinationItemsLimit(): Any? = unwrap(this).getDestinationItemsLimit() /** * The limit on the number of source nodes that are displayed in a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramsortconfiguration.html#cfn-quicksight-dashboard-sankeydiagramsortconfiguration-sourceitemslimit) */ override fun sourceItemsLimit(): Any? = unwrap(this).getSourceItemsLimit() /** * The sort configuration of the weight fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramsortconfiguration.html#cfn-quicksight-dashboard-sankeydiagramsortconfiguration-weightsort) */ override fun weightSort(): Any? = unwrap(this).getWeightSort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SankeyDiagramSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramSortConfigurationProperty): SankeyDiagramSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? SankeyDiagramSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SankeyDiagramSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramSortConfigurationProperty } } /** * A sankey diagram. * * For more information, see [Using Sankey * diagrams](https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html) */ public interface SankeyDiagramVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-visualid) */ public fun visualId(): String /** * A builder for [SankeyDiagramVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration of a sankey diagram. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration of a sankey diagram. */ public fun chartConfiguration(chartConfiguration: SankeyDiagramChartConfigurationProperty) /** * @param chartConfiguration The configuration of a sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2c9d246fd5638e8e81ba9b184abf2396f2525de0df50e3f2e802381102b94db8") public fun chartConfiguration(chartConfiguration: SankeyDiagramChartConfigurationProperty.Builder.() -> Unit) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4539ef120127339f1dfd9cd2b4eba7fdd2584b843759edd3dbb7596088fe50d9") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("48ec5c08f7621aa41458e93aa99be48a8eae76f2dd4c02d53f600baf8011c404") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration of a sankey diagram. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a sankey diagram. */ override fun chartConfiguration(chartConfiguration: SankeyDiagramChartConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(SankeyDiagramChartConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a sankey diagram. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2c9d246fd5638e8e81ba9b184abf2396f2525de0df50e3f2e802381102b94db8") override fun chartConfiguration(chartConfiguration: SankeyDiagramChartConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(SankeyDiagramChartConfigurationProperty(chartConfiguration)) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4539ef120127339f1dfd9cd2b4eba7fdd2584b843759edd3dbb7596088fe50d9") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("48ec5c08f7621aa41458e93aa99be48a8eae76f2dd4c02d53f600baf8011c404") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramVisualProperty, ) : CdkObject(cdkObject), SankeyDiagramVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration of a sankey diagram. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SankeyDiagramVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramVisualProperty): SankeyDiagramVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? SankeyDiagramVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SankeyDiagramVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramVisualProperty } } /** * The aggregated field well of a scatter plot. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells.html) */ public interface ScatterPlotCategoricallyAggregatedFieldWellsProperty { /** * The category field well of a scatter plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells-category) */ public fun category(): Any? = unwrap(this).getCategory() /** * The label field well of a scatter plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells-label) */ public fun label(): Any? = unwrap(this).getLabel() /** * The size field well of a scatter plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells-size) */ public fun size(): Any? = unwrap(this).getSize() /** * The x-axis field well of a scatter plot. * * The x-axis is aggregated by category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells-xaxis) */ public fun xAxis(): Any? = unwrap(this).getXAxis() /** * The y-axis field well of a scatter plot. * * The y-axis is aggregated by category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells-yaxis) */ public fun yAxis(): Any? = unwrap(this).getYAxis() /** * A builder for [ScatterPlotCategoricallyAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param category The category field well of a scatter plot. */ public fun category(category: IResolvable) /** * @param category The category field well of a scatter plot. */ public fun category(category: List) /** * @param category The category field well of a scatter plot. */ public fun category(vararg category: Any) /** * @param label The label field well of a scatter plot. */ public fun label(label: IResolvable) /** * @param label The label field well of a scatter plot. */ public fun label(label: List) /** * @param label The label field well of a scatter plot. */ public fun label(vararg label: Any) /** * @param size The size field well of a scatter plot. */ public fun size(size: IResolvable) /** * @param size The size field well of a scatter plot. */ public fun size(size: List) /** * @param size The size field well of a scatter plot. */ public fun size(vararg size: Any) /** * @param xAxis The x-axis field well of a scatter plot. * The x-axis is aggregated by category. */ public fun xAxis(xAxis: IResolvable) /** * @param xAxis The x-axis field well of a scatter plot. * The x-axis is aggregated by category. */ public fun xAxis(xAxis: List) /** * @param xAxis The x-axis field well of a scatter plot. * The x-axis is aggregated by category. */ public fun xAxis(vararg xAxis: Any) /** * @param yAxis The y-axis field well of a scatter plot. * The y-axis is aggregated by category. */ public fun yAxis(yAxis: IResolvable) /** * @param yAxis The y-axis field well of a scatter plot. * The y-axis is aggregated by category. */ public fun yAxis(yAxis: List) /** * @param yAxis The y-axis field well of a scatter plot. * The y-axis is aggregated by category. */ public fun yAxis(vararg yAxis: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotCategoricallyAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotCategoricallyAggregatedFieldWellsProperty.builder() /** * @param category The category field well of a scatter plot. */ override fun category(category: IResolvable) { cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field well of a scatter plot. */ override fun category(category: List) { cdkBuilder.category(category.map{CdkObjectWrappers.unwrap(it)}) } /** * @param category The category field well of a scatter plot. */ override fun category(vararg category: Any): Unit = category(category.toList()) /** * @param label The label field well of a scatter plot. */ override fun label(label: IResolvable) { cdkBuilder.label(label.let(IResolvable.Companion::unwrap)) } /** * @param label The label field well of a scatter plot. */ override fun label(label: List) { cdkBuilder.label(label.map{CdkObjectWrappers.unwrap(it)}) } /** * @param label The label field well of a scatter plot. */ override fun label(vararg label: Any): Unit = label(label.toList()) /** * @param size The size field well of a scatter plot. */ override fun size(size: IResolvable) { cdkBuilder.size(size.let(IResolvable.Companion::unwrap)) } /** * @param size The size field well of a scatter plot. */ override fun size(size: List) { cdkBuilder.size(size.map{CdkObjectWrappers.unwrap(it)}) } /** * @param size The size field well of a scatter plot. */ override fun size(vararg size: Any): Unit = size(size.toList()) /** * @param xAxis The x-axis field well of a scatter plot. * The x-axis is aggregated by category. */ override fun xAxis(xAxis: IResolvable) { cdkBuilder.xAxis(xAxis.let(IResolvable.Companion::unwrap)) } /** * @param xAxis The x-axis field well of a scatter plot. * The x-axis is aggregated by category. */ override fun xAxis(xAxis: List) { cdkBuilder.xAxis(xAxis.map{CdkObjectWrappers.unwrap(it)}) } /** * @param xAxis The x-axis field well of a scatter plot. * The x-axis is aggregated by category. */ override fun xAxis(vararg xAxis: Any): Unit = xAxis(xAxis.toList()) /** * @param yAxis The y-axis field well of a scatter plot. * The y-axis is aggregated by category. */ override fun yAxis(yAxis: IResolvable) { cdkBuilder.yAxis(yAxis.let(IResolvable.Companion::unwrap)) } /** * @param yAxis The y-axis field well of a scatter plot. * The y-axis is aggregated by category. */ override fun yAxis(yAxis: List) { cdkBuilder.yAxis(yAxis.map{CdkObjectWrappers.unwrap(it)}) } /** * @param yAxis The y-axis field well of a scatter plot. * The y-axis is aggregated by category. */ override fun yAxis(vararg yAxis: Any): Unit = yAxis(yAxis.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotCategoricallyAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotCategoricallyAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), ScatterPlotCategoricallyAggregatedFieldWellsProperty { /** * The category field well of a scatter plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells-category) */ override fun category(): Any? = unwrap(this).getCategory() /** * The label field well of a scatter plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells-label) */ override fun label(): Any? = unwrap(this).getLabel() /** * The size field well of a scatter plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells-size) */ override fun size(): Any? = unwrap(this).getSize() /** * The x-axis field well of a scatter plot. * * The x-axis is aggregated by category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells-xaxis) */ override fun xAxis(): Any? = unwrap(this).getXAxis() /** * The y-axis field well of a scatter plot. * * The y-axis is aggregated by category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotcategoricallyaggregatedfieldwells-yaxis) */ override fun yAxis(): Any? = unwrap(this).getYAxis() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ScatterPlotCategoricallyAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotCategoricallyAggregatedFieldWellsProperty): ScatterPlotCategoricallyAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? ScatterPlotCategoricallyAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ScatterPlotCategoricallyAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotCategoricallyAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotCategoricallyAggregatedFieldWellsProperty } } /** * The configuration of a scatter plot. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html) */ public interface ScatterPlotConfigurationProperty { /** * The options that determine if visual data labels are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-datalabels) */ public fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-legend) */ public fun legend(): Any? = unwrap(this).getLegend() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-tooltip) */ public fun tooltip(): Any? = unwrap(this).getTooltip() /** * The palette (chart color) display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-visualpalette) */ public fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * The label display options (grid line, range, scale, and axis step) of the scatter plot's * x-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-xaxisdisplayoptions) */ public fun xAxisDisplayOptions(): Any? = unwrap(this).getXAxisDisplayOptions() /** * The label options (label text, label visibility, and sort icon visibility) of the scatter * plot's x-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-xaxislabeloptions) */ public fun xAxisLabelOptions(): Any? = unwrap(this).getXAxisLabelOptions() /** * The label display options (grid line, range, scale, and axis step) of the scatter plot's * y-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-yaxisdisplayoptions) */ public fun yAxisDisplayOptions(): Any? = unwrap(this).getYAxisDisplayOptions() /** * The label options (label text, label visibility, and sort icon visibility) of the scatter * plot's y-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-yaxislabeloptions) */ public fun yAxisLabelOptions(): Any? = unwrap(this).getYAxisLabelOptions() /** * A builder for [ScatterPlotConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param dataLabels The options that determine if visual data labels are displayed. */ public fun dataLabels(dataLabels: IResolvable) /** * @param dataLabels The options that determine if visual data labels are displayed. */ public fun dataLabels(dataLabels: DataLabelOptionsProperty) /** * @param dataLabels The options that determine if visual data labels are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("009142e82f3ba5a7e11b8aef8a85b632242da292be22194e0fcf8ae7694d1cda") public fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: ScatterPlotFieldWellsProperty) /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ca08ccdf6b2bb9e3dff1cebf48458b5843e0a86a0c4e3652a4a267c49edd27e8") public fun fieldWells(fieldWells: ScatterPlotFieldWellsProperty.Builder.() -> Unit) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: IResolvable) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: LegendOptionsProperty) /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4da6ff08a1170076e84d194ff4840d047c3f83caddeb6672dcd408a4a718b9b3") public fun legend(legend: LegendOptionsProperty.Builder.() -> Unit) /** * @param tooltip The legend display setup of the visual. */ public fun tooltip(tooltip: IResolvable) /** * @param tooltip The legend display setup of the visual. */ public fun tooltip(tooltip: TooltipOptionsProperty) /** * @param tooltip The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fd9af152232a78241d3879ffc6c7ee78b5d549d50f3906b1dda6c88f5cd7f450") public fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit) /** * @param visualPalette The palette (chart color) display setup of the visual. */ public fun visualPalette(visualPalette: IResolvable) /** * @param visualPalette The palette (chart color) display setup of the visual. */ public fun visualPalette(visualPalette: VisualPaletteProperty) /** * @param visualPalette The palette (chart color) display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dd319c788665b09395ddc8abfa90cd18b864f44d7a13980c605a695dc1c75ced") public fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit) /** * @param xAxisDisplayOptions The label display options (grid line, range, scale, and axis * step) of the scatter plot's x-axis. */ public fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) /** * @param xAxisDisplayOptions The label display options (grid line, range, scale, and axis * step) of the scatter plot's x-axis. */ public fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) /** * @param xAxisDisplayOptions The label display options (grid line, range, scale, and axis * step) of the scatter plot's x-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8984518c1305926a09045d028f927bede06cf1e55878cbdaf21ce10b92791f95") public fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param xAxisLabelOptions The label options (label text, label visibility, and sort icon * visibility) of the scatter plot's x-axis. */ public fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) /** * @param xAxisLabelOptions The label options (label text, label visibility, and sort icon * visibility) of the scatter plot's x-axis. */ public fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) /** * @param xAxisLabelOptions The label options (label text, label visibility, and sort icon * visibility) of the scatter plot's x-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ffbdef0b0f06a982e6ab8d4d34f5608a8dfe1cd8edc33cc8577d092d1d07a57a") public fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param yAxisDisplayOptions The label display options (grid line, range, scale, and axis * step) of the scatter plot's y-axis. */ public fun yAxisDisplayOptions(yAxisDisplayOptions: IResolvable) /** * @param yAxisDisplayOptions The label display options (grid line, range, scale, and axis * step) of the scatter plot's y-axis. */ public fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty) /** * @param yAxisDisplayOptions The label display options (grid line, range, scale, and axis * step) of the scatter plot's y-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("15e943f67aed7ac82ac65a9c40673a331f4941e9c2f48128b07206555ee22366") public fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param yAxisLabelOptions The label options (label text, label visibility, and sort icon * visibility) of the scatter plot's y-axis. */ public fun yAxisLabelOptions(yAxisLabelOptions: IResolvable) /** * @param yAxisLabelOptions The label options (label text, label visibility, and sort icon * visibility) of the scatter plot's y-axis. */ public fun yAxisLabelOptions(yAxisLabelOptions: ChartAxisLabelOptionsProperty) /** * @param yAxisLabelOptions The label options (label text, label visibility, and sort icon * visibility) of the scatter plot's y-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("43e99c8fb251a02107b192b9035187b7bbdb5e198982894016aa3e2f9cde28b5") public fun yAxisLabelOptions(yAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotConfigurationProperty.builder() /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("009142e82f3ba5a7e11b8aef8a85b632242da292be22194e0fcf8ae7694d1cda") override fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit): Unit = dataLabels(DataLabelOptionsProperty(dataLabels)) /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: ScatterPlotFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(ScatterPlotFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ca08ccdf6b2bb9e3dff1cebf48458b5843e0a86a0c4e3652a4a267c49edd27e8") override fun fieldWells(fieldWells: ScatterPlotFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(ScatterPlotFieldWellsProperty(fieldWells)) /** * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4da6ff08a1170076e84d194ff4840d047c3f83caddeb6672dcd408a4a718b9b3") override fun legend(legend: LegendOptionsProperty.Builder.() -> Unit): Unit = legend(LegendOptionsProperty(legend)) /** * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltip The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fd9af152232a78241d3879ffc6c7ee78b5d549d50f3906b1dda6c88f5cd7f450") override fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltip(TooltipOptionsProperty(tooltip)) /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dd319c788665b09395ddc8abfa90cd18b864f44d7a13980c605a695dc1c75ced") override fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit): Unit = visualPalette(VisualPaletteProperty(visualPalette)) /** * @param xAxisDisplayOptions The label display options (grid line, range, scale, and axis * step) of the scatter plot's x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) { cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisDisplayOptions The label display options (grid line, range, scale, and axis * step) of the scatter plot's x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) { cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param xAxisDisplayOptions The label display options (grid line, range, scale, and axis * step) of the scatter plot's x-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8984518c1305926a09045d028f927bede06cf1e55878cbdaf21ce10b92791f95") override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = xAxisDisplayOptions(AxisDisplayOptionsProperty(xAxisDisplayOptions)) /** * @param xAxisLabelOptions The label options (label text, label visibility, and sort icon * visibility) of the scatter plot's x-axis. */ override fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) { cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisLabelOptions The label options (label text, label visibility, and sort icon * visibility) of the scatter plot's x-axis. */ override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param xAxisLabelOptions The label options (label text, label visibility, and sort icon * visibility) of the scatter plot's x-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ffbdef0b0f06a982e6ab8d4d34f5608a8dfe1cd8edc33cc8577d092d1d07a57a") override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = xAxisLabelOptions(ChartAxisLabelOptionsProperty(xAxisLabelOptions)) /** * @param yAxisDisplayOptions The label display options (grid line, range, scale, and axis * step) of the scatter plot's y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: IResolvable) { cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param yAxisDisplayOptions The label display options (grid line, range, scale, and axis * step) of the scatter plot's y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty) { cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param yAxisDisplayOptions The label display options (grid line, range, scale, and axis * step) of the scatter plot's y-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("15e943f67aed7ac82ac65a9c40673a331f4941e9c2f48128b07206555ee22366") override fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = yAxisDisplayOptions(AxisDisplayOptionsProperty(yAxisDisplayOptions)) /** * @param yAxisLabelOptions The label options (label text, label visibility, and sort icon * visibility) of the scatter plot's y-axis. */ override fun yAxisLabelOptions(yAxisLabelOptions: IResolvable) { cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param yAxisLabelOptions The label options (label text, label visibility, and sort icon * visibility) of the scatter plot's y-axis. */ override fun yAxisLabelOptions(yAxisLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param yAxisLabelOptions The label options (label text, label visibility, and sort icon * visibility) of the scatter plot's y-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("43e99c8fb251a02107b192b9035187b7bbdb5e198982894016aa3e2f9cde28b5") override fun yAxisLabelOptions(yAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = yAxisLabelOptions(ChartAxisLabelOptionsProperty(yAxisLabelOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotConfigurationProperty, ) : CdkObject(cdkObject), ScatterPlotConfigurationProperty { /** * The options that determine if visual data labels are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-datalabels) */ override fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-legend) */ override fun legend(): Any? = unwrap(this).getLegend() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-tooltip) */ override fun tooltip(): Any? = unwrap(this).getTooltip() /** * The palette (chart color) display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-visualpalette) */ override fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * The label display options (grid line, range, scale, and axis step) of the scatter plot's * x-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-xaxisdisplayoptions) */ override fun xAxisDisplayOptions(): Any? = unwrap(this).getXAxisDisplayOptions() /** * The label options (label text, label visibility, and sort icon visibility) of the scatter * plot's x-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-xaxislabeloptions) */ override fun xAxisLabelOptions(): Any? = unwrap(this).getXAxisLabelOptions() /** * The label display options (grid line, range, scale, and axis step) of the scatter plot's * y-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-yaxisdisplayoptions) */ override fun yAxisDisplayOptions(): Any? = unwrap(this).getYAxisDisplayOptions() /** * The label options (label text, label visibility, and sort icon visibility) of the scatter * plot's y-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotconfiguration.html#cfn-quicksight-dashboard-scatterplotconfiguration-yaxislabeloptions) */ override fun yAxisLabelOptions(): Any? = unwrap(this).getYAxisLabelOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ScatterPlotConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotConfigurationProperty): ScatterPlotConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? ScatterPlotConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ScatterPlotConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotConfigurationProperty } } /** * The field well configuration of a scatter plot. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotfieldwells.html) */ public interface ScatterPlotFieldWellsProperty { /** * The aggregated field wells of a scatter plot. * * The x and y-axes of scatter plots with aggregated field wells are aggregated by category, * label, or both. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotfieldwells.html#cfn-quicksight-dashboard-scatterplotfieldwells-scatterplotcategoricallyaggregatedfieldwells) */ public fun scatterPlotCategoricallyAggregatedFieldWells(): Any? = unwrap(this).getScatterPlotCategoricallyAggregatedFieldWells() /** * The unaggregated field wells of a scatter plot. * * The x and y-axes of these scatter plots are unaggregated. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotfieldwells.html#cfn-quicksight-dashboard-scatterplotfieldwells-scatterplotunaggregatedfieldwells) */ public fun scatterPlotUnaggregatedFieldWells(): Any? = unwrap(this).getScatterPlotUnaggregatedFieldWells() /** * A builder for [ScatterPlotFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param scatterPlotCategoricallyAggregatedFieldWells The aggregated field wells of a scatter * plot. * The x and y-axes of scatter plots with aggregated field wells are aggregated by category, * label, or both. */ public fun scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells: IResolvable) /** * @param scatterPlotCategoricallyAggregatedFieldWells The aggregated field wells of a scatter * plot. * The x and y-axes of scatter plots with aggregated field wells are aggregated by category, * label, or both. */ public fun scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells: ScatterPlotCategoricallyAggregatedFieldWellsProperty) /** * @param scatterPlotCategoricallyAggregatedFieldWells The aggregated field wells of a scatter * plot. * The x and y-axes of scatter plots with aggregated field wells are aggregated by category, * label, or both. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5a2ca8229619008d506bab0a97c01d6cb9280708837f48bc32d16d40787f7e7e") public fun scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells: ScatterPlotCategoricallyAggregatedFieldWellsProperty.Builder.() -> Unit) /** * @param scatterPlotUnaggregatedFieldWells The unaggregated field wells of a scatter plot. * The x and y-axes of these scatter plots are unaggregated. */ public fun scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells: IResolvable) /** * @param scatterPlotUnaggregatedFieldWells The unaggregated field wells of a scatter plot. * The x and y-axes of these scatter plots are unaggregated. */ public fun scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells: ScatterPlotUnaggregatedFieldWellsProperty) /** * @param scatterPlotUnaggregatedFieldWells The unaggregated field wells of a scatter plot. * The x and y-axes of these scatter plots are unaggregated. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("94320a7b8d3f45a979f1d02fcf5acd95f5244beeb2d66121638fec2232cf6ca8") public fun scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells: ScatterPlotUnaggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotFieldWellsProperty.builder() /** * @param scatterPlotCategoricallyAggregatedFieldWells The aggregated field wells of a scatter * plot. * The x and y-axes of scatter plots with aggregated field wells are aggregated by category, * label, or both. */ override fun scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells: IResolvable) { cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param scatterPlotCategoricallyAggregatedFieldWells The aggregated field wells of a scatter * plot. * The x and y-axes of scatter plots with aggregated field wells are aggregated by category, * label, or both. */ override fun scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells: ScatterPlotCategoricallyAggregatedFieldWellsProperty) { cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(ScatterPlotCategoricallyAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param scatterPlotCategoricallyAggregatedFieldWells The aggregated field wells of a scatter * plot. * The x and y-axes of scatter plots with aggregated field wells are aggregated by category, * label, or both. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5a2ca8229619008d506bab0a97c01d6cb9280708837f48bc32d16d40787f7e7e") override fun scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells: ScatterPlotCategoricallyAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = scatterPlotCategoricallyAggregatedFieldWells(ScatterPlotCategoricallyAggregatedFieldWellsProperty(scatterPlotCategoricallyAggregatedFieldWells)) /** * @param scatterPlotUnaggregatedFieldWells The unaggregated field wells of a scatter plot. * The x and y-axes of these scatter plots are unaggregated. */ override fun scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells: IResolvable) { cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param scatterPlotUnaggregatedFieldWells The unaggregated field wells of a scatter plot. * The x and y-axes of these scatter plots are unaggregated. */ override fun scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells: ScatterPlotUnaggregatedFieldWellsProperty) { cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(ScatterPlotUnaggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param scatterPlotUnaggregatedFieldWells The unaggregated field wells of a scatter plot. * The x and y-axes of these scatter plots are unaggregated. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("94320a7b8d3f45a979f1d02fcf5acd95f5244beeb2d66121638fec2232cf6ca8") override fun scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells: ScatterPlotUnaggregatedFieldWellsProperty.Builder.() -> Unit): Unit = scatterPlotUnaggregatedFieldWells(ScatterPlotUnaggregatedFieldWellsProperty(scatterPlotUnaggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotFieldWellsProperty, ) : CdkObject(cdkObject), ScatterPlotFieldWellsProperty { /** * The aggregated field wells of a scatter plot. * * The x and y-axes of scatter plots with aggregated field wells are aggregated by category, * label, or both. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotfieldwells.html#cfn-quicksight-dashboard-scatterplotfieldwells-scatterplotcategoricallyaggregatedfieldwells) */ override fun scatterPlotCategoricallyAggregatedFieldWells(): Any? = unwrap(this).getScatterPlotCategoricallyAggregatedFieldWells() /** * The unaggregated field wells of a scatter plot. * * The x and y-axes of these scatter plots are unaggregated. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotfieldwells.html#cfn-quicksight-dashboard-scatterplotfieldwells-scatterplotunaggregatedfieldwells) */ override fun scatterPlotUnaggregatedFieldWells(): Any? = unwrap(this).getScatterPlotUnaggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ScatterPlotFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotFieldWellsProperty): ScatterPlotFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? ScatterPlotFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ScatterPlotFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotFieldWellsProperty } } /** * The unaggregated field wells of a scatter plot. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotunaggregatedfieldwells.html) */ public interface ScatterPlotUnaggregatedFieldWellsProperty { /** * The category field well of a scatter plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotunaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotunaggregatedfieldwells-category) */ public fun category(): Any? = unwrap(this).getCategory() /** * The label field well of a scatter plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotunaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotunaggregatedfieldwells-label) */ public fun label(): Any? = unwrap(this).getLabel() /** * The size field well of a scatter plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotunaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotunaggregatedfieldwells-size) */ public fun size(): Any? = unwrap(this).getSize() /** * The x-axis field well of a scatter plot. * * The x-axis is a dimension field and cannot be aggregated. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotunaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotunaggregatedfieldwells-xaxis) */ public fun xAxis(): Any? = unwrap(this).getXAxis() /** * The y-axis field well of a scatter plot. * * The y-axis is a dimension field and cannot be aggregated. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotunaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotunaggregatedfieldwells-yaxis) */ public fun yAxis(): Any? = unwrap(this).getYAxis() /** * A builder for [ScatterPlotUnaggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param category The category field well of a scatter plot. */ public fun category(category: IResolvable) /** * @param category The category field well of a scatter plot. */ public fun category(category: List) /** * @param category The category field well of a scatter plot. */ public fun category(vararg category: Any) /** * @param label The label field well of a scatter plot. */ public fun label(label: IResolvable) /** * @param label The label field well of a scatter plot. */ public fun label(label: List) /** * @param label The label field well of a scatter plot. */ public fun label(vararg label: Any) /** * @param size The size field well of a scatter plot. */ public fun size(size: IResolvable) /** * @param size The size field well of a scatter plot. */ public fun size(size: List) /** * @param size The size field well of a scatter plot. */ public fun size(vararg size: Any) /** * @param xAxis The x-axis field well of a scatter plot. * The x-axis is a dimension field and cannot be aggregated. */ public fun xAxis(xAxis: IResolvable) /** * @param xAxis The x-axis field well of a scatter plot. * The x-axis is a dimension field and cannot be aggregated. */ public fun xAxis(xAxis: List) /** * @param xAxis The x-axis field well of a scatter plot. * The x-axis is a dimension field and cannot be aggregated. */ public fun xAxis(vararg xAxis: Any) /** * @param yAxis The y-axis field well of a scatter plot. * The y-axis is a dimension field and cannot be aggregated. */ public fun yAxis(yAxis: IResolvable) /** * @param yAxis The y-axis field well of a scatter plot. * The y-axis is a dimension field and cannot be aggregated. */ public fun yAxis(yAxis: List) /** * @param yAxis The y-axis field well of a scatter plot. * The y-axis is a dimension field and cannot be aggregated. */ public fun yAxis(vararg yAxis: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotUnaggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotUnaggregatedFieldWellsProperty.builder() /** * @param category The category field well of a scatter plot. */ override fun category(category: IResolvable) { cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field well of a scatter plot. */ override fun category(category: List) { cdkBuilder.category(category.map{CdkObjectWrappers.unwrap(it)}) } /** * @param category The category field well of a scatter plot. */ override fun category(vararg category: Any): Unit = category(category.toList()) /** * @param label The label field well of a scatter plot. */ override fun label(label: IResolvable) { cdkBuilder.label(label.let(IResolvable.Companion::unwrap)) } /** * @param label The label field well of a scatter plot. */ override fun label(label: List) { cdkBuilder.label(label.map{CdkObjectWrappers.unwrap(it)}) } /** * @param label The label field well of a scatter plot. */ override fun label(vararg label: Any): Unit = label(label.toList()) /** * @param size The size field well of a scatter plot. */ override fun size(size: IResolvable) { cdkBuilder.size(size.let(IResolvable.Companion::unwrap)) } /** * @param size The size field well of a scatter plot. */ override fun size(size: List) { cdkBuilder.size(size.map{CdkObjectWrappers.unwrap(it)}) } /** * @param size The size field well of a scatter plot. */ override fun size(vararg size: Any): Unit = size(size.toList()) /** * @param xAxis The x-axis field well of a scatter plot. * The x-axis is a dimension field and cannot be aggregated. */ override fun xAxis(xAxis: IResolvable) { cdkBuilder.xAxis(xAxis.let(IResolvable.Companion::unwrap)) } /** * @param xAxis The x-axis field well of a scatter plot. * The x-axis is a dimension field and cannot be aggregated. */ override fun xAxis(xAxis: List) { cdkBuilder.xAxis(xAxis.map{CdkObjectWrappers.unwrap(it)}) } /** * @param xAxis The x-axis field well of a scatter plot. * The x-axis is a dimension field and cannot be aggregated. */ override fun xAxis(vararg xAxis: Any): Unit = xAxis(xAxis.toList()) /** * @param yAxis The y-axis field well of a scatter plot. * The y-axis is a dimension field and cannot be aggregated. */ override fun yAxis(yAxis: IResolvable) { cdkBuilder.yAxis(yAxis.let(IResolvable.Companion::unwrap)) } /** * @param yAxis The y-axis field well of a scatter plot. * The y-axis is a dimension field and cannot be aggregated. */ override fun yAxis(yAxis: List) { cdkBuilder.yAxis(yAxis.map{CdkObjectWrappers.unwrap(it)}) } /** * @param yAxis The y-axis field well of a scatter plot. * The y-axis is a dimension field and cannot be aggregated. */ override fun yAxis(vararg yAxis: Any): Unit = yAxis(yAxis.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotUnaggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotUnaggregatedFieldWellsProperty, ) : CdkObject(cdkObject), ScatterPlotUnaggregatedFieldWellsProperty { /** * The category field well of a scatter plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotunaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotunaggregatedfieldwells-category) */ override fun category(): Any? = unwrap(this).getCategory() /** * The label field well of a scatter plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotunaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotunaggregatedfieldwells-label) */ override fun label(): Any? = unwrap(this).getLabel() /** * The size field well of a scatter plot. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotunaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotunaggregatedfieldwells-size) */ override fun size(): Any? = unwrap(this).getSize() /** * The x-axis field well of a scatter plot. * * The x-axis is a dimension field and cannot be aggregated. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotunaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotunaggregatedfieldwells-xaxis) */ override fun xAxis(): Any? = unwrap(this).getXAxis() /** * The y-axis field well of a scatter plot. * * The y-axis is a dimension field and cannot be aggregated. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotunaggregatedfieldwells.html#cfn-quicksight-dashboard-scatterplotunaggregatedfieldwells-yaxis) */ override fun yAxis(): Any? = unwrap(this).getYAxis() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ScatterPlotUnaggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotUnaggregatedFieldWellsProperty): ScatterPlotUnaggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? ScatterPlotUnaggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ScatterPlotUnaggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotUnaggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotUnaggregatedFieldWellsProperty } } /** * A scatter plot. * * For more information, see [Using scatter * plots](https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html) */ public interface ScatterPlotVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html#cfn-quicksight-dashboard-scatterplotvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html#cfn-quicksight-dashboard-scatterplotvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html#cfn-quicksight-dashboard-scatterplotvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html#cfn-quicksight-dashboard-scatterplotvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html#cfn-quicksight-dashboard-scatterplotvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html#cfn-quicksight-dashboard-scatterplotvisual-visualid) */ public fun visualId(): String /** * A builder for [ScatterPlotVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: ScatterPlotConfigurationProperty) /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1a7634de0081a050e6fcbaabd1d121d2f43d5707a625233040de8a08412f4e96") public fun chartConfiguration(chartConfiguration: ScatterPlotConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cb868c42c49614f4a40b6cd27dd049ed3e823b6d7d07f903072d25a89b7b82aa") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fa546652678013012891e705a9a2faecbc4a2daa87f7f0efefe4d5ac53cec710") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: ScatterPlotConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(ScatterPlotConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1a7634de0081a050e6fcbaabd1d121d2f43d5707a625233040de8a08412f4e96") override fun chartConfiguration(chartConfiguration: ScatterPlotConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(ScatterPlotConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cb868c42c49614f4a40b6cd27dd049ed3e823b6d7d07f903072d25a89b7b82aa") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fa546652678013012891e705a9a2faecbc4a2daa87f7f0efefe4d5ac53cec710") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotVisualProperty, ) : CdkObject(cdkObject), ScatterPlotVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html#cfn-quicksight-dashboard-scatterplotvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html#cfn-quicksight-dashboard-scatterplotvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html#cfn-quicksight-dashboard-scatterplotvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html#cfn-quicksight-dashboard-scatterplotvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html#cfn-quicksight-dashboard-scatterplotvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scatterplotvisual.html#cfn-quicksight-dashboard-scatterplotvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ScatterPlotVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotVisualProperty): ScatterPlotVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? ScatterPlotVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ScatterPlotVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ScatterPlotVisualProperty } } /** * The visual display options for a data zoom scroll bar. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ScrollBarOptionsProperty scrollBarOptionsProperty = ScrollBarOptionsProperty.builder() * .visibility("visibility") * .visibleRange(VisibleRangeOptionsProperty.builder() * .percentRange(PercentVisibleRangeProperty.builder() * .from(123) * .to(123) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scrollbaroptions.html) */ public interface ScrollBarOptionsProperty { /** * The visibility of the data zoom scroll bar. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scrollbaroptions.html#cfn-quicksight-dashboard-scrollbaroptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * The visibility range for the data zoom scroll bar. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scrollbaroptions.html#cfn-quicksight-dashboard-scrollbaroptions-visiblerange) */ public fun visibleRange(): Any? = unwrap(this).getVisibleRange() /** * A builder for [ScrollBarOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility The visibility of the data zoom scroll bar. */ public fun visibility(visibility: String) /** * @param visibleRange The visibility range for the data zoom scroll bar. */ public fun visibleRange(visibleRange: IResolvable) /** * @param visibleRange The visibility range for the data zoom scroll bar. */ public fun visibleRange(visibleRange: VisibleRangeOptionsProperty) /** * @param visibleRange The visibility range for the data zoom scroll bar. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a191b568f3818f229271b1f6f7a5cf784c52da7fb153eece909d5e87440fdae2") public fun visibleRange(visibleRange: VisibleRangeOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ScrollBarOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ScrollBarOptionsProperty.builder() /** * @param visibility The visibility of the data zoom scroll bar. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } /** * @param visibleRange The visibility range for the data zoom scroll bar. */ override fun visibleRange(visibleRange: IResolvable) { cdkBuilder.visibleRange(visibleRange.let(IResolvable.Companion::unwrap)) } /** * @param visibleRange The visibility range for the data zoom scroll bar. */ override fun visibleRange(visibleRange: VisibleRangeOptionsProperty) { cdkBuilder.visibleRange(visibleRange.let(VisibleRangeOptionsProperty.Companion::unwrap)) } /** * @param visibleRange The visibility range for the data zoom scroll bar. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a191b568f3818f229271b1f6f7a5cf784c52da7fb153eece909d5e87440fdae2") override fun visibleRange(visibleRange: VisibleRangeOptionsProperty.Builder.() -> Unit): Unit = visibleRange(VisibleRangeOptionsProperty(visibleRange)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ScrollBarOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ScrollBarOptionsProperty, ) : CdkObject(cdkObject), ScrollBarOptionsProperty { /** * The visibility of the data zoom scroll bar. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scrollbaroptions.html#cfn-quicksight-dashboard-scrollbaroptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() /** * The visibility range for the data zoom scroll bar. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-scrollbaroptions.html#cfn-quicksight-dashboard-scrollbaroptions-visiblerange) */ override fun visibleRange(): Any? = unwrap(this).getVisibleRange() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ScrollBarOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ScrollBarOptionsProperty): ScrollBarOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? ScrollBarOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ScrollBarOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ScrollBarOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ScrollBarOptionsProperty } } /** * The options that determine the presentation of the secondary value of a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SecondaryValueOptionsProperty secondaryValueOptionsProperty = * SecondaryValueOptionsProperty.builder() * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-secondaryvalueoptions.html) */ public interface SecondaryValueOptionsProperty { /** * Determines the visibility of the secondary value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-secondaryvalueoptions.html#cfn-quicksight-dashboard-secondaryvalueoptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [SecondaryValueOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility Determines the visibility of the secondary value. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SecondaryValueOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SecondaryValueOptionsProperty.builder() /** * @param visibility Determines the visibility of the secondary value. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SecondaryValueOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SecondaryValueOptionsProperty, ) : CdkObject(cdkObject), SecondaryValueOptionsProperty { /** * Determines the visibility of the secondary value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-secondaryvalueoptions.html#cfn-quicksight-dashboard-secondaryvalueoptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SecondaryValueOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SecondaryValueOptionsProperty): SecondaryValueOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? SecondaryValueOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SecondaryValueOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SecondaryValueOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SecondaryValueOptionsProperty } } /** * The configuration of a page break after a section. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SectionAfterPageBreakProperty sectionAfterPageBreakProperty = * SectionAfterPageBreakProperty.builder() * .status("status") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionafterpagebreak.html) */ public interface SectionAfterPageBreakProperty { /** * The option that enables or disables a page break at the end of a section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionafterpagebreak.html#cfn-quicksight-dashboard-sectionafterpagebreak-status) */ public fun status(): String? = unwrap(this).getStatus() /** * A builder for [SectionAfterPageBreakProperty] */ @CdkDslMarker public interface Builder { /** * @param status The option that enables or disables a page break at the end of a section. */ public fun status(status: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionAfterPageBreakProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SectionAfterPageBreakProperty.builder() /** * @param status The option that enables or disables a page break at the end of a section. */ override fun status(status: String) { cdkBuilder.status(status) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionAfterPageBreakProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionAfterPageBreakProperty, ) : CdkObject(cdkObject), SectionAfterPageBreakProperty { /** * The option that enables or disables a page break at the end of a section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionafterpagebreak.html#cfn-quicksight-dashboard-sectionafterpagebreak-status) */ override fun status(): String? = unwrap(this).getStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SectionAfterPageBreakProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionAfterPageBreakProperty): SectionAfterPageBreakProperty = CdkObjectWrappers.wrap(cdkObject) as? SectionAfterPageBreakProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SectionAfterPageBreakProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionAfterPageBreakProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SectionAfterPageBreakProperty } } /** * The options for the canvas of a section-based layout. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SectionBasedLayoutCanvasSizeOptionsProperty sectionBasedLayoutCanvasSizeOptionsProperty = * SectionBasedLayoutCanvasSizeOptionsProperty.builder() * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() * .paperMargin(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .paperOrientation("paperOrientation") * .paperSize("paperSize") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutcanvassizeoptions.html) */ public interface SectionBasedLayoutCanvasSizeOptionsProperty { /** * The options for a paper canvas of a section-based layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutcanvassizeoptions.html#cfn-quicksight-dashboard-sectionbasedlayoutcanvassizeoptions-papercanvassizeoptions) */ public fun paperCanvasSizeOptions(): Any? = unwrap(this).getPaperCanvasSizeOptions() /** * A builder for [SectionBasedLayoutCanvasSizeOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param paperCanvasSizeOptions The options for a paper canvas of a section-based layout. */ public fun paperCanvasSizeOptions(paperCanvasSizeOptions: IResolvable) /** * @param paperCanvasSizeOptions The options for a paper canvas of a section-based layout. */ public fun paperCanvasSizeOptions(paperCanvasSizeOptions: SectionBasedLayoutPaperCanvasSizeOptionsProperty) /** * @param paperCanvasSizeOptions The options for a paper canvas of a section-based layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("26aeb96902426ae1d711309ebaae4f395c6a22ebca428f276a69db9627d5e1c1") public fun paperCanvasSizeOptions(paperCanvasSizeOptions: SectionBasedLayoutPaperCanvasSizeOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutCanvasSizeOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutCanvasSizeOptionsProperty.builder() /** * @param paperCanvasSizeOptions The options for a paper canvas of a section-based layout. */ override fun paperCanvasSizeOptions(paperCanvasSizeOptions: IResolvable) { cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param paperCanvasSizeOptions The options for a paper canvas of a section-based layout. */ override fun paperCanvasSizeOptions(paperCanvasSizeOptions: SectionBasedLayoutPaperCanvasSizeOptionsProperty) { cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(SectionBasedLayoutPaperCanvasSizeOptionsProperty.Companion::unwrap)) } /** * @param paperCanvasSizeOptions The options for a paper canvas of a section-based layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("26aeb96902426ae1d711309ebaae4f395c6a22ebca428f276a69db9627d5e1c1") override fun paperCanvasSizeOptions(paperCanvasSizeOptions: SectionBasedLayoutPaperCanvasSizeOptionsProperty.Builder.() -> Unit): Unit = paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty(paperCanvasSizeOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutCanvasSizeOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutCanvasSizeOptionsProperty, ) : CdkObject(cdkObject), SectionBasedLayoutCanvasSizeOptionsProperty { /** * The options for a paper canvas of a section-based layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutcanvassizeoptions.html#cfn-quicksight-dashboard-sectionbasedlayoutcanvassizeoptions-papercanvassizeoptions) */ override fun paperCanvasSizeOptions(): Any? = unwrap(this).getPaperCanvasSizeOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SectionBasedLayoutCanvasSizeOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutCanvasSizeOptionsProperty): SectionBasedLayoutCanvasSizeOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? SectionBasedLayoutCanvasSizeOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SectionBasedLayoutCanvasSizeOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutCanvasSizeOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutCanvasSizeOptionsProperty } } /** * The configuration for a section-based layout. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SectionBasedLayoutConfigurationProperty sectionBasedLayoutConfigurationProperty = * SectionBasedLayoutConfigurationProperty.builder() * .bodySections(List.of(BodySectionConfigurationProperty.builder() * .content(BodySectionContentProperty.builder() * .layout(SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build()) * .build()) * .sectionId("sectionId") * // the properties below are optional * .pageBreakConfiguration(SectionPageBreakConfigurationProperty.builder() * .after(SectionAfterPageBreakProperty.builder() * .status("status") * .build()) * .build()) * .style(SectionStyleProperty.builder() * .height("height") * .padding(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .build()) * .build())) * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() * .paperMargin(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .paperOrientation("paperOrientation") * .paperSize("paperSize") * .build()) * .build()) * .footerSections(List.of(HeaderFooterSectionConfigurationProperty.builder() * .layout(SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build()) * .sectionId("sectionId") * // the properties below are optional * .style(SectionStyleProperty.builder() * .height("height") * .padding(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .build()) * .build())) * .headerSections(List.of(HeaderFooterSectionConfigurationProperty.builder() * .layout(SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build()) * .sectionId("sectionId") * // the properties below are optional * .style(SectionStyleProperty.builder() * .height("height") * .padding(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutconfiguration.html) */ public interface SectionBasedLayoutConfigurationProperty { /** * A list of body section configurations. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-sectionbasedlayoutconfiguration-bodysections) */ public fun bodySections(): Any /** * The options for the canvas of a section-based layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-sectionbasedlayoutconfiguration-canvassizeoptions) */ public fun canvasSizeOptions(): Any /** * A list of footer section configurations. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-sectionbasedlayoutconfiguration-footersections) */ public fun footerSections(): Any /** * A list of header section configurations. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-sectionbasedlayoutconfiguration-headersections) */ public fun headerSections(): Any /** * A builder for [SectionBasedLayoutConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param bodySections A list of body section configurations. */ public fun bodySections(bodySections: IResolvable) /** * @param bodySections A list of body section configurations. */ public fun bodySections(bodySections: List) /** * @param bodySections A list of body section configurations. */ public fun bodySections(vararg bodySections: Any) /** * @param canvasSizeOptions The options for the canvas of a section-based layout. */ public fun canvasSizeOptions(canvasSizeOptions: IResolvable) /** * @param canvasSizeOptions The options for the canvas of a section-based layout. */ public fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) /** * @param canvasSizeOptions The options for the canvas of a section-based layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dae9c424a8ec374560435254b3738620b2d6e9a347d8ec4daed485c1bfd7c0bb") public fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) /** * @param footerSections A list of footer section configurations. */ public fun footerSections(footerSections: IResolvable) /** * @param footerSections A list of footer section configurations. */ public fun footerSections(footerSections: List) /** * @param footerSections A list of footer section configurations. */ public fun footerSections(vararg footerSections: Any) /** * @param headerSections A list of header section configurations. */ public fun headerSections(headerSections: IResolvable) /** * @param headerSections A list of header section configurations. */ public fun headerSections(headerSections: List) /** * @param headerSections A list of header section configurations. */ public fun headerSections(vararg headerSections: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutConfigurationProperty.builder() /** * @param bodySections A list of body section configurations. */ override fun bodySections(bodySections: IResolvable) { cdkBuilder.bodySections(bodySections.let(IResolvable.Companion::unwrap)) } /** * @param bodySections A list of body section configurations. */ override fun bodySections(bodySections: List) { cdkBuilder.bodySections(bodySections.map{CdkObjectWrappers.unwrap(it)}) } /** * @param bodySections A list of body section configurations. */ override fun bodySections(vararg bodySections: Any): Unit = bodySections(bodySections.toList()) /** * @param canvasSizeOptions The options for the canvas of a section-based layout. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param canvasSizeOptions The options for the canvas of a section-based layout. */ override fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) { cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** * @param canvasSizeOptions The options for the canvas of a section-based layout. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dae9c424a8ec374560435254b3738620b2d6e9a347d8ec4daed485c1bfd7c0bb") override fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): Unit = canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) /** * @param footerSections A list of footer section configurations. */ override fun footerSections(footerSections: IResolvable) { cdkBuilder.footerSections(footerSections.let(IResolvable.Companion::unwrap)) } /** * @param footerSections A list of footer section configurations. */ override fun footerSections(footerSections: List) { cdkBuilder.footerSections(footerSections.map{CdkObjectWrappers.unwrap(it)}) } /** * @param footerSections A list of footer section configurations. */ override fun footerSections(vararg footerSections: Any): Unit = footerSections(footerSections.toList()) /** * @param headerSections A list of header section configurations. */ override fun headerSections(headerSections: IResolvable) { cdkBuilder.headerSections(headerSections.let(IResolvable.Companion::unwrap)) } /** * @param headerSections A list of header section configurations. */ override fun headerSections(headerSections: List) { cdkBuilder.headerSections(headerSections.map{CdkObjectWrappers.unwrap(it)}) } /** * @param headerSections A list of header section configurations. */ override fun headerSections(vararg headerSections: Any): Unit = headerSections(headerSections.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutConfigurationProperty, ) : CdkObject(cdkObject), SectionBasedLayoutConfigurationProperty { /** * A list of body section configurations. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-sectionbasedlayoutconfiguration-bodysections) */ override fun bodySections(): Any = unwrap(this).getBodySections() /** * The options for the canvas of a section-based layout. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-sectionbasedlayoutconfiguration-canvassizeoptions) */ override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() /** * A list of footer section configurations. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-sectionbasedlayoutconfiguration-footersections) */ override fun footerSections(): Any = unwrap(this).getFooterSections() /** * A list of header section configurations. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-sectionbasedlayoutconfiguration-headersections) */ override fun headerSections(): Any = unwrap(this).getHeaderSections() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SectionBasedLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutConfigurationProperty): SectionBasedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? SectionBasedLayoutConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SectionBasedLayoutConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutConfigurationProperty } } /** * The options for a paper canvas of a section-based layout. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SectionBasedLayoutPaperCanvasSizeOptionsProperty * sectionBasedLayoutPaperCanvasSizeOptionsProperty = * SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() * .paperMargin(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .paperOrientation("paperOrientation") * .paperSize("paperSize") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions.html) */ public interface SectionBasedLayoutPaperCanvasSizeOptionsProperty { /** * Defines the spacing between the canvas content and the top, bottom, left, and right edges. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions.html#cfn-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions-papermargin) */ public fun paperMargin(): Any? = unwrap(this).getPaperMargin() /** * The paper orientation that is used to define canvas dimensions. Choose one of the following * options:. * * * PORTRAIT * * LANDSCAPE * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions.html#cfn-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions-paperorientation) */ public fun paperOrientation(): String? = unwrap(this).getPaperOrientation() /** * The paper size that is used to define canvas dimensions. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions.html#cfn-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions-papersize) */ public fun paperSize(): String? = unwrap(this).getPaperSize() /** * A builder for [SectionBasedLayoutPaperCanvasSizeOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param paperMargin Defines the spacing between the canvas content and the top, bottom, * left, and right edges. */ public fun paperMargin(paperMargin: IResolvable) /** * @param paperMargin Defines the spacing between the canvas content and the top, bottom, * left, and right edges. */ public fun paperMargin(paperMargin: SpacingProperty) /** * @param paperMargin Defines the spacing between the canvas content and the top, bottom, * left, and right edges. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6249d6135b63467cb625245b8af54495222daff4cd8c9a907784ba6833aeec78") public fun paperMargin(paperMargin: SpacingProperty.Builder.() -> Unit) /** * @param paperOrientation The paper orientation that is used to define canvas dimensions. * Choose one of the following options:. * * PORTRAIT * * LANDSCAPE */ public fun paperOrientation(paperOrientation: String) /** * @param paperSize The paper size that is used to define canvas dimensions. */ public fun paperSize(paperSize: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutPaperCanvasSizeOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() /** * @param paperMargin Defines the spacing between the canvas content and the top, bottom, * left, and right edges. */ override fun paperMargin(paperMargin: IResolvable) { cdkBuilder.paperMargin(paperMargin.let(IResolvable.Companion::unwrap)) } /** * @param paperMargin Defines the spacing between the canvas content and the top, bottom, * left, and right edges. */ override fun paperMargin(paperMargin: SpacingProperty) { cdkBuilder.paperMargin(paperMargin.let(SpacingProperty.Companion::unwrap)) } /** * @param paperMargin Defines the spacing between the canvas content and the top, bottom, * left, and right edges. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6249d6135b63467cb625245b8af54495222daff4cd8c9a907784ba6833aeec78") override fun paperMargin(paperMargin: SpacingProperty.Builder.() -> Unit): Unit = paperMargin(SpacingProperty(paperMargin)) /** * @param paperOrientation The paper orientation that is used to define canvas dimensions. * Choose one of the following options:. * * PORTRAIT * * LANDSCAPE */ override fun paperOrientation(paperOrientation: String) { cdkBuilder.paperOrientation(paperOrientation) } /** * @param paperSize The paper size that is used to define canvas dimensions. */ override fun paperSize(paperSize: String) { cdkBuilder.paperSize(paperSize) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutPaperCanvasSizeOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutPaperCanvasSizeOptionsProperty, ) : CdkObject(cdkObject), SectionBasedLayoutPaperCanvasSizeOptionsProperty { /** * Defines the spacing between the canvas content and the top, bottom, left, and right edges. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions.html#cfn-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions-papermargin) */ override fun paperMargin(): Any? = unwrap(this).getPaperMargin() /** * The paper orientation that is used to define canvas dimensions. Choose one of the following * options:. * * * PORTRAIT * * LANDSCAPE * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions.html#cfn-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions-paperorientation) */ override fun paperOrientation(): String? = unwrap(this).getPaperOrientation() /** * The paper size that is used to define canvas dimensions. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions.html#cfn-quicksight-dashboard-sectionbasedlayoutpapercanvassizeoptions-papersize) */ override fun paperSize(): String? = unwrap(this).getPaperSize() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SectionBasedLayoutPaperCanvasSizeOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutPaperCanvasSizeOptionsProperty): SectionBasedLayoutPaperCanvasSizeOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? SectionBasedLayoutPaperCanvasSizeOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SectionBasedLayoutPaperCanvasSizeOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutPaperCanvasSizeOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SectionBasedLayoutPaperCanvasSizeOptionsProperty } } /** * The layout configuration of a section. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SectionLayoutConfigurationProperty sectionLayoutConfigurationProperty = * SectionLayoutConfigurationProperty.builder() * .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() * .elements(List.of(FreeFormLayoutElementProperty.builder() * .elementId("elementId") * .elementType("elementType") * .height("height") * .width("width") * .xAxisLocation("xAxisLocation") * .yAxisLocation("yAxisLocation") * // the properties below are optional * .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .loadingAnimation(LoadingAnimationProperty.builder() * .visibility("visibility") * .build()) * .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build())) * .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() * .color("color") * .visibility("visibility") * .build()) * .visibility("visibility") * .build())) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionlayoutconfiguration.html) */ public interface SectionLayoutConfigurationProperty { /** * The free-form layout configuration of a section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionlayoutconfiguration.html#cfn-quicksight-dashboard-sectionlayoutconfiguration-freeformlayout) */ public fun freeFormLayout(): Any /** * A builder for [SectionLayoutConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param freeFormLayout The free-form layout configuration of a section. */ public fun freeFormLayout(freeFormLayout: IResolvable) /** * @param freeFormLayout The free-form layout configuration of a section. */ public fun freeFormLayout(freeFormLayout: FreeFormSectionLayoutConfigurationProperty) /** * @param freeFormLayout The free-form layout configuration of a section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("080ef1173756a6c7cf40cca0792350b3be4a3ce46e9b4b6e106057386b6598d9") public fun freeFormLayout(freeFormLayout: FreeFormSectionLayoutConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionLayoutConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SectionLayoutConfigurationProperty.builder() /** * @param freeFormLayout The free-form layout configuration of a section. */ override fun freeFormLayout(freeFormLayout: IResolvable) { cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable.Companion::unwrap)) } /** * @param freeFormLayout The free-form layout configuration of a section. */ override fun freeFormLayout(freeFormLayout: FreeFormSectionLayoutConfigurationProperty) { cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormSectionLayoutConfigurationProperty.Companion::unwrap)) } /** * @param freeFormLayout The free-form layout configuration of a section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("080ef1173756a6c7cf40cca0792350b3be4a3ce46e9b4b6e106057386b6598d9") override fun freeFormLayout(freeFormLayout: FreeFormSectionLayoutConfigurationProperty.Builder.() -> Unit): Unit = freeFormLayout(FreeFormSectionLayoutConfigurationProperty(freeFormLayout)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionLayoutConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionLayoutConfigurationProperty, ) : CdkObject(cdkObject), SectionLayoutConfigurationProperty { /** * The free-form layout configuration of a section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionlayoutconfiguration.html#cfn-quicksight-dashboard-sectionlayoutconfiguration-freeformlayout) */ override fun freeFormLayout(): Any = unwrap(this).getFreeFormLayout() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SectionLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionLayoutConfigurationProperty): SectionLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? SectionLayoutConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SectionLayoutConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SectionLayoutConfigurationProperty } } /** * The configuration of a page break for a section. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SectionPageBreakConfigurationProperty sectionPageBreakConfigurationProperty = * SectionPageBreakConfigurationProperty.builder() * .after(SectionAfterPageBreakProperty.builder() * .status("status") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionpagebreakconfiguration.html) */ public interface SectionPageBreakConfigurationProperty { /** * The configuration of a page break after a section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionpagebreakconfiguration.html#cfn-quicksight-dashboard-sectionpagebreakconfiguration-after) */ public fun after(): Any? = unwrap(this).getAfter() /** * A builder for [SectionPageBreakConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param after The configuration of a page break after a section. */ public fun after(after: IResolvable) /** * @param after The configuration of a page break after a section. */ public fun after(after: SectionAfterPageBreakProperty) /** * @param after The configuration of a page break after a section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ffb201a5c9200fb6c8abcb35691021a3cb6710dc1a0b4dc5bdec31bc66ca9465") public fun after(after: SectionAfterPageBreakProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionPageBreakConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SectionPageBreakConfigurationProperty.builder() /** * @param after The configuration of a page break after a section. */ override fun after(after: IResolvable) { cdkBuilder.after(after.let(IResolvable.Companion::unwrap)) } /** * @param after The configuration of a page break after a section. */ override fun after(after: SectionAfterPageBreakProperty) { cdkBuilder.after(after.let(SectionAfterPageBreakProperty.Companion::unwrap)) } /** * @param after The configuration of a page break after a section. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ffb201a5c9200fb6c8abcb35691021a3cb6710dc1a0b4dc5bdec31bc66ca9465") override fun after(after: SectionAfterPageBreakProperty.Builder.() -> Unit): Unit = after(SectionAfterPageBreakProperty(after)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionPageBreakConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionPageBreakConfigurationProperty, ) : CdkObject(cdkObject), SectionPageBreakConfigurationProperty { /** * The configuration of a page break after a section. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionpagebreakconfiguration.html#cfn-quicksight-dashboard-sectionpagebreakconfiguration-after) */ override fun after(): Any? = unwrap(this).getAfter() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SectionPageBreakConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionPageBreakConfigurationProperty): SectionPageBreakConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? SectionPageBreakConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SectionPageBreakConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionPageBreakConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SectionPageBreakConfigurationProperty } } /** * The options that style a section. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SectionStyleProperty sectionStyleProperty = SectionStyleProperty.builder() * .height("height") * .padding(SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionstyle.html) */ public interface SectionStyleProperty { /** * The height of a section. * * Heights can only be defined for header and footer sections. The default height margin is 0.5 * inches. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionstyle.html#cfn-quicksight-dashboard-sectionstyle-height) */ public fun height(): String? = unwrap(this).getHeight() /** * The spacing between section content and its top, bottom, left, and right edges. * * There is no padding by default. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionstyle.html#cfn-quicksight-dashboard-sectionstyle-padding) */ public fun padding(): Any? = unwrap(this).getPadding() /** * A builder for [SectionStyleProperty] */ @CdkDslMarker public interface Builder { /** * @param height The height of a section. * Heights can only be defined for header and footer sections. The default height margin is * 0.5 inches. */ public fun height(height: String) /** * @param padding The spacing between section content and its top, bottom, left, and right * edges. * There is no padding by default. */ public fun padding(padding: IResolvable) /** * @param padding The spacing between section content and its top, bottom, left, and right * edges. * There is no padding by default. */ public fun padding(padding: SpacingProperty) /** * @param padding The spacing between section content and its top, bottom, left, and right * edges. * There is no padding by default. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dd450a8d74b4b47b57c31478de20e4f5de0f81f61f6cd9ba4e46365624931255") public fun padding(padding: SpacingProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionStyleProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SectionStyleProperty.builder() /** * @param height The height of a section. * Heights can only be defined for header and footer sections. The default height margin is * 0.5 inches. */ override fun height(height: String) { cdkBuilder.height(height) } /** * @param padding The spacing between section content and its top, bottom, left, and right * edges. * There is no padding by default. */ override fun padding(padding: IResolvable) { cdkBuilder.padding(padding.let(IResolvable.Companion::unwrap)) } /** * @param padding The spacing between section content and its top, bottom, left, and right * edges. * There is no padding by default. */ override fun padding(padding: SpacingProperty) { cdkBuilder.padding(padding.let(SpacingProperty.Companion::unwrap)) } /** * @param padding The spacing between section content and its top, bottom, left, and right * edges. * There is no padding by default. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dd450a8d74b4b47b57c31478de20e4f5de0f81f61f6cd9ba4e46365624931255") override fun padding(padding: SpacingProperty.Builder.() -> Unit): Unit = padding(SpacingProperty(padding)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionStyleProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionStyleProperty, ) : CdkObject(cdkObject), SectionStyleProperty { /** * The height of a section. * * Heights can only be defined for header and footer sections. The default height margin is * 0.5 inches. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionstyle.html#cfn-quicksight-dashboard-sectionstyle-height) */ override fun height(): String? = unwrap(this).getHeight() /** * The spacing between section content and its top, bottom, left, and right edges. * * There is no padding by default. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sectionstyle.html#cfn-quicksight-dashboard-sectionstyle-padding) */ override fun padding(): Any? = unwrap(this).getPadding() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SectionStyleProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SectionStyleProperty): SectionStyleProperty = CdkObjectWrappers.wrap(cdkObject) as? SectionStyleProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SectionStyleProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SectionStyleProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SectionStyleProperty } } /** * The configuration for applying a filter to specific sheets or visuals. * * You can apply this filter to multiple visuals that are on one sheet or to all visuals on a * sheet. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SelectedSheetsFilterScopeConfigurationProperty selectedSheetsFilterScopeConfigurationProperty = * SelectedSheetsFilterScopeConfigurationProperty.builder() * .sheetVisualScopingConfigurations(List.of(SheetVisualScopingConfigurationProperty.builder() * .scope("scope") * .sheetId("sheetId") * // the properties below are optional * .visualIds(List.of("visualIds")) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-selectedsheetsfilterscopeconfiguration.html) */ public interface SelectedSheetsFilterScopeConfigurationProperty { /** * The sheet ID and visual IDs of the sheet and visuals that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-selectedsheetsfilterscopeconfiguration.html#cfn-quicksight-dashboard-selectedsheetsfilterscopeconfiguration-sheetvisualscopingconfigurations) */ public fun sheetVisualScopingConfigurations(): Any? = unwrap(this).getSheetVisualScopingConfigurations() /** * A builder for [SelectedSheetsFilterScopeConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param sheetVisualScopingConfigurations The sheet ID and visual IDs of the sheet and * visuals that the filter is applied to. */ public fun sheetVisualScopingConfigurations(sheetVisualScopingConfigurations: IResolvable) /** * @param sheetVisualScopingConfigurations The sheet ID and visual IDs of the sheet and * visuals that the filter is applied to. */ public fun sheetVisualScopingConfigurations(sheetVisualScopingConfigurations: List) /** * @param sheetVisualScopingConfigurations The sheet ID and visual IDs of the sheet and * visuals that the filter is applied to. */ public fun sheetVisualScopingConfigurations(vararg sheetVisualScopingConfigurations: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SelectedSheetsFilterScopeConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SelectedSheetsFilterScopeConfigurationProperty.builder() /** * @param sheetVisualScopingConfigurations The sheet ID and visual IDs of the sheet and * visuals that the filter is applied to. */ override fun sheetVisualScopingConfigurations(sheetVisualScopingConfigurations: IResolvable) { cdkBuilder.sheetVisualScopingConfigurations(sheetVisualScopingConfigurations.let(IResolvable.Companion::unwrap)) } /** * @param sheetVisualScopingConfigurations The sheet ID and visual IDs of the sheet and * visuals that the filter is applied to. */ override fun sheetVisualScopingConfigurations(sheetVisualScopingConfigurations: List) { cdkBuilder.sheetVisualScopingConfigurations(sheetVisualScopingConfigurations.map{CdkObjectWrappers.unwrap(it)}) } /** * @param sheetVisualScopingConfigurations The sheet ID and visual IDs of the sheet and * visuals that the filter is applied to. */ override fun sheetVisualScopingConfigurations(vararg sheetVisualScopingConfigurations: Any): Unit = sheetVisualScopingConfigurations(sheetVisualScopingConfigurations.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SelectedSheetsFilterScopeConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SelectedSheetsFilterScopeConfigurationProperty, ) : CdkObject(cdkObject), SelectedSheetsFilterScopeConfigurationProperty { /** * The sheet ID and visual IDs of the sheet and visuals that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-selectedsheetsfilterscopeconfiguration.html#cfn-quicksight-dashboard-selectedsheetsfilterscopeconfiguration-sheetvisualscopingconfigurations) */ override fun sheetVisualScopingConfigurations(): Any? = unwrap(this).getSheetVisualScopingConfigurations() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SelectedSheetsFilterScopeConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SelectedSheetsFilterScopeConfigurationProperty): SelectedSheetsFilterScopeConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? SelectedSheetsFilterScopeConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SelectedSheetsFilterScopeConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SelectedSheetsFilterScopeConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SelectedSheetsFilterScopeConfigurationProperty } } /** * The series item configuration of a line chart. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SeriesItemProperty seriesItemProperty = SeriesItemProperty.builder() * .dataFieldSeriesItem(DataFieldSeriesItemProperty.builder() * .axisBinding("axisBinding") * .fieldId("fieldId") * // the properties below are optional * .fieldValue("fieldValue") * .settings(LineChartSeriesSettingsProperty.builder() * .lineStyleSettings(LineChartLineStyleSettingsProperty.builder() * .lineInterpolation("lineInterpolation") * .lineStyle("lineStyle") * .lineVisibility("lineVisibility") * .lineWidth("lineWidth") * .build()) * .markerStyleSettings(LineChartMarkerStyleSettingsProperty.builder() * .markerColor("markerColor") * .markerShape("markerShape") * .markerSize("markerSize") * .markerVisibility("markerVisibility") * .build()) * .build()) * .build()) * .fieldSeriesItem(FieldSeriesItemProperty.builder() * .axisBinding("axisBinding") * .fieldId("fieldId") * // the properties below are optional * .settings(LineChartSeriesSettingsProperty.builder() * .lineStyleSettings(LineChartLineStyleSettingsProperty.builder() * .lineInterpolation("lineInterpolation") * .lineStyle("lineStyle") * .lineVisibility("lineVisibility") * .lineWidth("lineWidth") * .build()) * .markerStyleSettings(LineChartMarkerStyleSettingsProperty.builder() * .markerColor("markerColor") * .markerShape("markerShape") * .markerSize("markerSize") * .markerVisibility("markerVisibility") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-seriesitem.html) */ public interface SeriesItemProperty { /** * The data field series item configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-seriesitem.html#cfn-quicksight-dashboard-seriesitem-datafieldseriesitem) */ public fun dataFieldSeriesItem(): Any? = unwrap(this).getDataFieldSeriesItem() /** * The field series item configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-seriesitem.html#cfn-quicksight-dashboard-seriesitem-fieldseriesitem) */ public fun fieldSeriesItem(): Any? = unwrap(this).getFieldSeriesItem() /** * A builder for [SeriesItemProperty] */ @CdkDslMarker public interface Builder { /** * @param dataFieldSeriesItem The data field series item configuration of a line chart. */ public fun dataFieldSeriesItem(dataFieldSeriesItem: IResolvable) /** * @param dataFieldSeriesItem The data field series item configuration of a line chart. */ public fun dataFieldSeriesItem(dataFieldSeriesItem: DataFieldSeriesItemProperty) /** * @param dataFieldSeriesItem The data field series item configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("61f382b1215af8be2179741bf454384327098dc42fc1c58a9f4453c3f232e17c") public fun dataFieldSeriesItem(dataFieldSeriesItem: DataFieldSeriesItemProperty.Builder.() -> Unit) /** * @param fieldSeriesItem The field series item configuration of a line chart. */ public fun fieldSeriesItem(fieldSeriesItem: IResolvable) /** * @param fieldSeriesItem The field series item configuration of a line chart. */ public fun fieldSeriesItem(fieldSeriesItem: FieldSeriesItemProperty) /** * @param fieldSeriesItem The field series item configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("acf756e1a18316c7aad94bc5fa8c0ff56c09b043266ccb388a87b0fefe261da9") public fun fieldSeriesItem(fieldSeriesItem: FieldSeriesItemProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SeriesItemProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SeriesItemProperty.builder() /** * @param dataFieldSeriesItem The data field series item configuration of a line chart. */ override fun dataFieldSeriesItem(dataFieldSeriesItem: IResolvable) { cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(IResolvable.Companion::unwrap)) } /** * @param dataFieldSeriesItem The data field series item configuration of a line chart. */ override fun dataFieldSeriesItem(dataFieldSeriesItem: DataFieldSeriesItemProperty) { cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(DataFieldSeriesItemProperty.Companion::unwrap)) } /** * @param dataFieldSeriesItem The data field series item configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("61f382b1215af8be2179741bf454384327098dc42fc1c58a9f4453c3f232e17c") override fun dataFieldSeriesItem(dataFieldSeriesItem: DataFieldSeriesItemProperty.Builder.() -> Unit): Unit = dataFieldSeriesItem(DataFieldSeriesItemProperty(dataFieldSeriesItem)) /** * @param fieldSeriesItem The field series item configuration of a line chart. */ override fun fieldSeriesItem(fieldSeriesItem: IResolvable) { cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(IResolvable.Companion::unwrap)) } /** * @param fieldSeriesItem The field series item configuration of a line chart. */ override fun fieldSeriesItem(fieldSeriesItem: FieldSeriesItemProperty) { cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(FieldSeriesItemProperty.Companion::unwrap)) } /** * @param fieldSeriesItem The field series item configuration of a line chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("acf756e1a18316c7aad94bc5fa8c0ff56c09b043266ccb388a87b0fefe261da9") override fun fieldSeriesItem(fieldSeriesItem: FieldSeriesItemProperty.Builder.() -> Unit): Unit = fieldSeriesItem(FieldSeriesItemProperty(fieldSeriesItem)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SeriesItemProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SeriesItemProperty, ) : CdkObject(cdkObject), SeriesItemProperty { /** * The data field series item configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-seriesitem.html#cfn-quicksight-dashboard-seriesitem-datafieldseriesitem) */ override fun dataFieldSeriesItem(): Any? = unwrap(this).getDataFieldSeriesItem() /** * The field series item configuration of a line chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-seriesitem.html#cfn-quicksight-dashboard-seriesitem-fieldseriesitem) */ override fun fieldSeriesItem(): Any? = unwrap(this).getFieldSeriesItem() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SeriesItemProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SeriesItemProperty): SeriesItemProperty = CdkObjectWrappers.wrap(cdkObject) as? SeriesItemProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SeriesItemProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SeriesItemProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SeriesItemProperty } } /** * The configuration of adding parameters in action. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SetParameterValueConfigurationProperty setParameterValueConfigurationProperty = * SetParameterValueConfigurationProperty.builder() * .destinationParameterName("destinationParameterName") * .value(DestinationParameterValueConfigurationProperty.builder() * .customValuesConfiguration(CustomValuesConfigurationProperty.builder() * .customValues(CustomParameterValuesProperty.builder() * .dateTimeValues(List.of("dateTimeValues")) * .decimalValues(List.of(123)) * .integerValues(List.of(123)) * .stringValues(List.of("stringValues")) * .build()) * // the properties below are optional * .includeNullValue(false) * .build()) * .selectAllValueOptions("selectAllValueOptions") * .sourceColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceField("sourceField") * .sourceParameterName("sourceParameterName") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-setparametervalueconfiguration.html) */ public interface SetParameterValueConfigurationProperty { /** * The destination parameter name of the `SetParameterValueConfiguration` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-setparametervalueconfiguration.html#cfn-quicksight-dashboard-setparametervalueconfiguration-destinationparametername) */ public fun destinationParameterName(): String /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-setparametervalueconfiguration.html#cfn-quicksight-dashboard-setparametervalueconfiguration-value) */ public fun `value`(): Any /** * A builder for [SetParameterValueConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param destinationParameterName The destination parameter name of the * `SetParameterValueConfiguration` . */ public fun destinationParameterName(destinationParameterName: String) /** * @param value the value to be set. */ public fun `value`(`value`: IResolvable) /** * @param value the value to be set. */ public fun `value`(`value`: DestinationParameterValueConfigurationProperty) /** * @param value the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("53e6db458abedd3f5fdf26e9657c3a8b1cce1fb19c40edef8f8ef778e31d1450") public fun `value`(`value`: DestinationParameterValueConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SetParameterValueConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SetParameterValueConfigurationProperty.builder() /** * @param destinationParameterName The destination parameter name of the * `SetParameterValueConfiguration` . */ override fun destinationParameterName(destinationParameterName: String) { cdkBuilder.destinationParameterName(destinationParameterName) } /** * @param value the value to be set. */ override fun `value`(`value`: IResolvable) { cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value the value to be set. */ override fun `value`(`value`: DestinationParameterValueConfigurationProperty) { cdkBuilder.`value`(`value`.let(DestinationParameterValueConfigurationProperty.Companion::unwrap)) } /** * @param value the value to be set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("53e6db458abedd3f5fdf26e9657c3a8b1cce1fb19c40edef8f8ef778e31d1450") override fun `value`(`value`: DestinationParameterValueConfigurationProperty.Builder.() -> Unit): Unit = `value`(DestinationParameterValueConfigurationProperty(`value`)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SetParameterValueConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SetParameterValueConfigurationProperty, ) : CdkObject(cdkObject), SetParameterValueConfigurationProperty { /** * The destination parameter name of the `SetParameterValueConfiguration` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-setparametervalueconfiguration.html#cfn-quicksight-dashboard-setparametervalueconfiguration-destinationparametername) */ override fun destinationParameterName(): String = unwrap(this).getDestinationParameterName() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-setparametervalueconfiguration.html#cfn-quicksight-dashboard-setparametervalueconfiguration-value) */ override fun `value`(): Any = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SetParameterValueConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SetParameterValueConfigurationProperty): SetParameterValueConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? SetParameterValueConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SetParameterValueConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SetParameterValueConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SetParameterValueConfigurationProperty } } /** * The shape conditional formatting of a filled map visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ShapeConditionalFormatProperty shapeConditionalFormatProperty = * ShapeConditionalFormatProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-shapeconditionalformat.html) */ public interface ShapeConditionalFormatProperty { /** * The conditional formatting for the shape background color of a filled map visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-shapeconditionalformat.html#cfn-quicksight-dashboard-shapeconditionalformat-backgroundcolor) */ public fun backgroundColor(): Any /** * A builder for [ShapeConditionalFormatProperty] */ @CdkDslMarker public interface Builder { /** * @param backgroundColor The conditional formatting for the shape background color of a * filled map visual. */ public fun backgroundColor(backgroundColor: IResolvable) /** * @param backgroundColor The conditional formatting for the shape background color of a * filled map visual. */ public fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) /** * @param backgroundColor The conditional formatting for the shape background color of a * filled map visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d3b01e25c0debcad3c734d323522880782e6c691b8a764dcb61f4aa4f1eba9ef") public fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ShapeConditionalFormatProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ShapeConditionalFormatProperty.builder() /** * @param backgroundColor The conditional formatting for the shape background color of a * filled map visual. */ override fun backgroundColor(backgroundColor: IResolvable) { cdkBuilder.backgroundColor(backgroundColor.let(IResolvable.Companion::unwrap)) } /** * @param backgroundColor The conditional formatting for the shape background color of a * filled map visual. */ override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) { cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** * @param backgroundColor The conditional formatting for the shape background color of a * filled map visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d3b01e25c0debcad3c734d323522880782e6c691b8a764dcb61f4aa4f1eba9ef") override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty.Builder.() -> Unit): Unit = backgroundColor(ConditionalFormattingColorProperty(backgroundColor)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ShapeConditionalFormatProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ShapeConditionalFormatProperty, ) : CdkObject(cdkObject), ShapeConditionalFormatProperty { /** * The conditional formatting for the shape background color of a filled map visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-shapeconditionalformat.html#cfn-quicksight-dashboard-shapeconditionalformat-backgroundcolor) */ override fun backgroundColor(): Any = unwrap(this).getBackgroundColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ShapeConditionalFormatProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ShapeConditionalFormatProperty): ShapeConditionalFormatProperty = CdkObjectWrappers.wrap(cdkObject) as? ShapeConditionalFormatProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ShapeConditionalFormatProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ShapeConditionalFormatProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ShapeConditionalFormatProperty } } /** * A control to display info icons for filters and parameters. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SheetControlInfoIconLabelOptionsProperty sheetControlInfoIconLabelOptionsProperty = * SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrolinfoiconlabeloptions.html) */ public interface SheetControlInfoIconLabelOptionsProperty { /** * The text content of info icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrolinfoiconlabeloptions.html#cfn-quicksight-dashboard-sheetcontrolinfoiconlabeloptions-infoicontext) */ public fun infoIconText(): String? = unwrap(this).getInfoIconText() /** * The visibility configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrolinfoiconlabeloptions.html#cfn-quicksight-dashboard-sheetcontrolinfoiconlabeloptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [SheetControlInfoIconLabelOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param infoIconText The text content of info icon. */ public fun infoIconText(infoIconText: String) /** * @param visibility The visibility configuration of info icon label options. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlInfoIconLabelOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlInfoIconLabelOptionsProperty.builder() /** * @param infoIconText The text content of info icon. */ override fun infoIconText(infoIconText: String) { cdkBuilder.infoIconText(infoIconText) } /** * @param visibility The visibility configuration of info icon label options. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlInfoIconLabelOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlInfoIconLabelOptionsProperty, ) : CdkObject(cdkObject), SheetControlInfoIconLabelOptionsProperty { /** * The text content of info icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrolinfoiconlabeloptions.html#cfn-quicksight-dashboard-sheetcontrolinfoiconlabeloptions-infoicontext) */ override fun infoIconText(): String? = unwrap(this).getInfoIconText() /** * The visibility configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrolinfoiconlabeloptions.html#cfn-quicksight-dashboard-sheetcontrolinfoiconlabeloptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SheetControlInfoIconLabelOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlInfoIconLabelOptionsProperty): SheetControlInfoIconLabelOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? SheetControlInfoIconLabelOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SheetControlInfoIconLabelOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlInfoIconLabelOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlInfoIconLabelOptionsProperty } } /** * The configuration that determines the elements and canvas size options of sheet control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SheetControlLayoutConfigurationProperty sheetControlLayoutConfigurationProperty = * SheetControlLayoutConfigurationProperty.builder() * .gridLayout(GridLayoutConfigurationProperty.builder() * .elements(List.of(GridLayoutElementProperty.builder() * .columnSpan(123) * .elementId("elementId") * .elementType("elementType") * .rowSpan(123) * // the properties below are optional * .columnIndex(123) * .rowIndex(123) * .build())) * // the properties below are optional * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() * .resizeOption("resizeOption") * // the properties below are optional * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrollayoutconfiguration.html) */ public interface SheetControlLayoutConfigurationProperty { /** * The configuration that determines the elements and canvas size options of sheet control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrollayoutconfiguration.html#cfn-quicksight-dashboard-sheetcontrollayoutconfiguration-gridlayout) */ public fun gridLayout(): Any? = unwrap(this).getGridLayout() /** * A builder for [SheetControlLayoutConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param gridLayout The configuration that determines the elements and canvas size options of * sheet control. */ public fun gridLayout(gridLayout: IResolvable) /** * @param gridLayout The configuration that determines the elements and canvas size options of * sheet control. */ public fun gridLayout(gridLayout: GridLayoutConfigurationProperty) /** * @param gridLayout The configuration that determines the elements and canvas size options of * sheet control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d4351bcc0dfaf06dcdfb3128f90d472e9699814fb54ca73cf41500a8b69db9ed") public fun gridLayout(gridLayout: GridLayoutConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutConfigurationProperty.builder() /** * @param gridLayout The configuration that determines the elements and canvas size options of * sheet control. */ override fun gridLayout(gridLayout: IResolvable) { cdkBuilder.gridLayout(gridLayout.let(IResolvable.Companion::unwrap)) } /** * @param gridLayout The configuration that determines the elements and canvas size options of * sheet control. */ override fun gridLayout(gridLayout: GridLayoutConfigurationProperty) { cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty.Companion::unwrap)) } /** * @param gridLayout The configuration that determines the elements and canvas size options of * sheet control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d4351bcc0dfaf06dcdfb3128f90d472e9699814fb54ca73cf41500a8b69db9ed") override fun gridLayout(gridLayout: GridLayoutConfigurationProperty.Builder.() -> Unit): Unit = gridLayout(GridLayoutConfigurationProperty(gridLayout)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutConfigurationProperty, ) : CdkObject(cdkObject), SheetControlLayoutConfigurationProperty { /** * The configuration that determines the elements and canvas size options of sheet control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrollayoutconfiguration.html#cfn-quicksight-dashboard-sheetcontrollayoutconfiguration-gridlayout) */ override fun gridLayout(): Any? = unwrap(this).getGridLayout() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SheetControlLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutConfigurationProperty): SheetControlLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? SheetControlLayoutConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SheetControlLayoutConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutConfigurationProperty } } /** * A grid layout to define the placement of sheet control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SheetControlLayoutProperty sheetControlLayoutProperty = SheetControlLayoutProperty.builder() * .configuration(SheetControlLayoutConfigurationProperty.builder() * .gridLayout(GridLayoutConfigurationProperty.builder() * .elements(List.of(GridLayoutElementProperty.builder() * .columnSpan(123) * .elementId("elementId") * .elementType("elementType") * .rowSpan(123) * // the properties below are optional * .columnIndex(123) * .rowIndex(123) * .build())) * // the properties below are optional * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() * .resizeOption("resizeOption") * // the properties below are optional * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrollayout.html) */ public interface SheetControlLayoutProperty { /** * The configuration that determines the elements and canvas size options of sheet control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrollayout.html#cfn-quicksight-dashboard-sheetcontrollayout-configuration) */ public fun configuration(): Any /** * A builder for [SheetControlLayoutProperty] */ @CdkDslMarker public interface Builder { /** * @param configuration The configuration that determines the elements and canvas size options * of sheet control. */ public fun configuration(configuration: IResolvable) /** * @param configuration The configuration that determines the elements and canvas size options * of sheet control. */ public fun configuration(configuration: SheetControlLayoutConfigurationProperty) /** * @param configuration The configuration that determines the elements and canvas size options * of sheet control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1aa80e4ab2f43c06f4eb7c48e61a5a9efa7fad41faffa4c43234b291a6e1ef43") public fun configuration(configuration: SheetControlLayoutConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutProperty.builder() /** * @param configuration The configuration that determines the elements and canvas size options * of sheet control. */ override fun configuration(configuration: IResolvable) { cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration The configuration that determines the elements and canvas size options * of sheet control. */ override fun configuration(configuration: SheetControlLayoutConfigurationProperty) { cdkBuilder.configuration(configuration.let(SheetControlLayoutConfigurationProperty.Companion::unwrap)) } /** * @param configuration The configuration that determines the elements and canvas size options * of sheet control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1aa80e4ab2f43c06f4eb7c48e61a5a9efa7fad41faffa4c43234b291a6e1ef43") override fun configuration(configuration: SheetControlLayoutConfigurationProperty.Builder.() -> Unit): Unit = configuration(SheetControlLayoutConfigurationProperty(configuration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutProperty, ) : CdkObject(cdkObject), SheetControlLayoutProperty { /** * The configuration that determines the elements and canvas size options of sheet control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrollayout.html#cfn-quicksight-dashboard-sheetcontrollayout-configuration) */ override fun configuration(): Any = unwrap(this).getConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SheetControlLayoutProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutProperty): SheetControlLayoutProperty = CdkObjectWrappers.wrap(cdkObject) as? SheetControlLayoutProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SheetControlLayoutProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlLayoutProperty } } /** * Sheet controls option. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SheetControlsOptionProperty sheetControlsOptionProperty = SheetControlsOptionProperty.builder() * .visibilityState("visibilityState") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrolsoption.html) */ public interface SheetControlsOptionProperty { /** * Visibility state. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrolsoption.html#cfn-quicksight-dashboard-sheetcontrolsoption-visibilitystate) */ public fun visibilityState(): String? = unwrap(this).getVisibilityState() /** * A builder for [SheetControlsOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param visibilityState Visibility state. */ public fun visibilityState(visibilityState: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlsOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlsOptionProperty.builder() /** * @param visibilityState Visibility state. */ override fun visibilityState(visibilityState: String) { cdkBuilder.visibilityState(visibilityState) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlsOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlsOptionProperty, ) : CdkObject(cdkObject), SheetControlsOptionProperty { /** * Visibility state. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrolsoption.html#cfn-quicksight-dashboard-sheetcontrolsoption-visibilitystate) */ override fun visibilityState(): String? = unwrap(this).getVisibilityState() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SheetControlsOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlsOptionProperty): SheetControlsOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? SheetControlsOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SheetControlsOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlsOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SheetControlsOptionProperty } } /** * A sheet is an object that contains a set of visuals that are viewed together on one page in a * paginated report. * * Every analysis and dashboard must contain at least one sheet. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html) */ public interface SheetDefinitionProperty { /** * The layout content type of the sheet. Choose one of the following options:. * * * `PAGINATED` : Creates a sheet for a paginated report. * * `INTERACTIVE` : Creates a sheet for an interactive dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-contenttype) */ public fun contentType(): String? = unwrap(this).getContentType() /** * A description of the sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-description) */ public fun description(): String? = unwrap(this).getDescription() /** * The list of filter controls that are on a sheet. * * For more information, see [Adding filter controls to analysis * sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-filtercontrols) */ public fun filterControls(): Any? = unwrap(this).getFilterControls() /** * Layouts define how the components of a sheet are arranged. * * For more information, see [Types of * layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-layouts) */ public fun layouts(): Any? = unwrap(this).getLayouts() /** * The name of the sheet. * * This name is displayed on the sheet's tab in the Amazon QuickSight console. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-name) */ public fun name(): String? = unwrap(this).getName() /** * The list of parameter controls that are on a sheet. * * For more information, see [Using a Control with a Parameter in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-parametercontrols) */ public fun parameterControls(): Any? = unwrap(this).getParameterControls() /** * The control layouts of the sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-sheetcontrollayouts) */ public fun sheetControlLayouts(): Any? = unwrap(this).getSheetControlLayouts() /** * The unique identifier of a sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-sheetid) */ public fun sheetId(): String /** * The text boxes that are on a sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-textboxes) */ public fun textBoxes(): Any? = unwrap(this).getTextBoxes() /** * The title of the sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-title) */ public fun title(): String? = unwrap(this).getTitle() /** * A list of the visuals that are on a sheet. * * Visual placement is determined by the layout of the sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-visuals) */ public fun visuals(): Any? = unwrap(this).getVisuals() /** * A builder for [SheetDefinitionProperty] */ @CdkDslMarker public interface Builder { /** * @param contentType The layout content type of the sheet. Choose one of the following * options:. * * `PAGINATED` : Creates a sheet for a paginated report. * * `INTERACTIVE` : Creates a sheet for an interactive dashboard. */ public fun contentType(contentType: String) /** * @param description A description of the sheet. */ public fun description(description: String) /** * @param filterControls The list of filter controls that are on a sheet. * For more information, see [Adding filter controls to analysis * sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the * *Amazon QuickSight User Guide* . */ public fun filterControls(filterControls: IResolvable) /** * @param filterControls The list of filter controls that are on a sheet. * For more information, see [Adding filter controls to analysis * sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the * *Amazon QuickSight User Guide* . */ public fun filterControls(filterControls: List) /** * @param filterControls The list of filter controls that are on a sheet. * For more information, see [Adding filter controls to analysis * sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the * *Amazon QuickSight User Guide* . */ public fun filterControls(vararg filterControls: Any) /** * @param layouts Layouts define how the components of a sheet are arranged. * For more information, see [Types of * layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the * *Amazon QuickSight User Guide* . */ public fun layouts(layouts: IResolvable) /** * @param layouts Layouts define how the components of a sheet are arranged. * For more information, see [Types of * layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the * *Amazon QuickSight User Guide* . */ public fun layouts(layouts: List) /** * @param layouts Layouts define how the components of a sheet are arranged. * For more information, see [Types of * layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the * *Amazon QuickSight User Guide* . */ public fun layouts(vararg layouts: Any) /** * @param name The name of the sheet. * This name is displayed on the sheet's tab in the Amazon QuickSight console. */ public fun name(name: String) /** * @param parameterControls The list of parameter controls that are on a sheet. * For more information, see [Using a Control with a Parameter in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in * the *Amazon QuickSight User Guide* . */ public fun parameterControls(parameterControls: IResolvable) /** * @param parameterControls The list of parameter controls that are on a sheet. * For more information, see [Using a Control with a Parameter in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in * the *Amazon QuickSight User Guide* . */ public fun parameterControls(parameterControls: List) /** * @param parameterControls The list of parameter controls that are on a sheet. * For more information, see [Using a Control with a Parameter in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in * the *Amazon QuickSight User Guide* . */ public fun parameterControls(vararg parameterControls: Any) /** * @param sheetControlLayouts The control layouts of the sheet. */ public fun sheetControlLayouts(sheetControlLayouts: IResolvable) /** * @param sheetControlLayouts The control layouts of the sheet. */ public fun sheetControlLayouts(sheetControlLayouts: List) /** * @param sheetControlLayouts The control layouts of the sheet. */ public fun sheetControlLayouts(vararg sheetControlLayouts: Any) /** * @param sheetId The unique identifier of a sheet. */ public fun sheetId(sheetId: String) /** * @param textBoxes The text boxes that are on a sheet. */ public fun textBoxes(textBoxes: IResolvable) /** * @param textBoxes The text boxes that are on a sheet. */ public fun textBoxes(textBoxes: List) /** * @param textBoxes The text boxes that are on a sheet. */ public fun textBoxes(vararg textBoxes: Any) /** * @param title The title of the sheet. */ public fun title(title: String) /** * @param visuals A list of the visuals that are on a sheet. * Visual placement is determined by the layout of the sheet. */ public fun visuals(visuals: IResolvable) /** * @param visuals A list of the visuals that are on a sheet. * Visual placement is determined by the layout of the sheet. */ public fun visuals(visuals: List) /** * @param visuals A list of the visuals that are on a sheet. * Visual placement is determined by the layout of the sheet. */ public fun visuals(vararg visuals: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetDefinitionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SheetDefinitionProperty.builder() /** * @param contentType The layout content type of the sheet. Choose one of the following * options:. * * `PAGINATED` : Creates a sheet for a paginated report. * * `INTERACTIVE` : Creates a sheet for an interactive dashboard. */ override fun contentType(contentType: String) { cdkBuilder.contentType(contentType) } /** * @param description A description of the sheet. */ override fun description(description: String) { cdkBuilder.description(description) } /** * @param filterControls The list of filter controls that are on a sheet. * For more information, see [Adding filter controls to analysis * sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the * *Amazon QuickSight User Guide* . */ override fun filterControls(filterControls: IResolvable) { cdkBuilder.filterControls(filterControls.let(IResolvable.Companion::unwrap)) } /** * @param filterControls The list of filter controls that are on a sheet. * For more information, see [Adding filter controls to analysis * sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the * *Amazon QuickSight User Guide* . */ override fun filterControls(filterControls: List) { cdkBuilder.filterControls(filterControls.map{CdkObjectWrappers.unwrap(it)}) } /** * @param filterControls The list of filter controls that are on a sheet. * For more information, see [Adding filter controls to analysis * sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the * *Amazon QuickSight User Guide* . */ override fun filterControls(vararg filterControls: Any): Unit = filterControls(filterControls.toList()) /** * @param layouts Layouts define how the components of a sheet are arranged. * For more information, see [Types of * layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the * *Amazon QuickSight User Guide* . */ override fun layouts(layouts: IResolvable) { cdkBuilder.layouts(layouts.let(IResolvable.Companion::unwrap)) } /** * @param layouts Layouts define how the components of a sheet are arranged. * For more information, see [Types of * layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the * *Amazon QuickSight User Guide* . */ override fun layouts(layouts: List) { cdkBuilder.layouts(layouts.map{CdkObjectWrappers.unwrap(it)}) } /** * @param layouts Layouts define how the components of a sheet are arranged. * For more information, see [Types of * layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the * *Amazon QuickSight User Guide* . */ override fun layouts(vararg layouts: Any): Unit = layouts(layouts.toList()) /** * @param name The name of the sheet. * This name is displayed on the sheet's tab in the Amazon QuickSight console. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param parameterControls The list of parameter controls that are on a sheet. * For more information, see [Using a Control with a Parameter in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in * the *Amazon QuickSight User Guide* . */ override fun parameterControls(parameterControls: IResolvable) { cdkBuilder.parameterControls(parameterControls.let(IResolvable.Companion::unwrap)) } /** * @param parameterControls The list of parameter controls that are on a sheet. * For more information, see [Using a Control with a Parameter in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in * the *Amazon QuickSight User Guide* . */ override fun parameterControls(parameterControls: List) { cdkBuilder.parameterControls(parameterControls.map{CdkObjectWrappers.unwrap(it)}) } /** * @param parameterControls The list of parameter controls that are on a sheet. * For more information, see [Using a Control with a Parameter in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in * the *Amazon QuickSight User Guide* . */ override fun parameterControls(vararg parameterControls: Any): Unit = parameterControls(parameterControls.toList()) /** * @param sheetControlLayouts The control layouts of the sheet. */ override fun sheetControlLayouts(sheetControlLayouts: IResolvable) { cdkBuilder.sheetControlLayouts(sheetControlLayouts.let(IResolvable.Companion::unwrap)) } /** * @param sheetControlLayouts The control layouts of the sheet. */ override fun sheetControlLayouts(sheetControlLayouts: List) { cdkBuilder.sheetControlLayouts(sheetControlLayouts.map{CdkObjectWrappers.unwrap(it)}) } /** * @param sheetControlLayouts The control layouts of the sheet. */ override fun sheetControlLayouts(vararg sheetControlLayouts: Any): Unit = sheetControlLayouts(sheetControlLayouts.toList()) /** * @param sheetId The unique identifier of a sheet. */ override fun sheetId(sheetId: String) { cdkBuilder.sheetId(sheetId) } /** * @param textBoxes The text boxes that are on a sheet. */ override fun textBoxes(textBoxes: IResolvable) { cdkBuilder.textBoxes(textBoxes.let(IResolvable.Companion::unwrap)) } /** * @param textBoxes The text boxes that are on a sheet. */ override fun textBoxes(textBoxes: List) { cdkBuilder.textBoxes(textBoxes.map{CdkObjectWrappers.unwrap(it)}) } /** * @param textBoxes The text boxes that are on a sheet. */ override fun textBoxes(vararg textBoxes: Any): Unit = textBoxes(textBoxes.toList()) /** * @param title The title of the sheet. */ override fun title(title: String) { cdkBuilder.title(title) } /** * @param visuals A list of the visuals that are on a sheet. * Visual placement is determined by the layout of the sheet. */ override fun visuals(visuals: IResolvable) { cdkBuilder.visuals(visuals.let(IResolvable.Companion::unwrap)) } /** * @param visuals A list of the visuals that are on a sheet. * Visual placement is determined by the layout of the sheet. */ override fun visuals(visuals: List) { cdkBuilder.visuals(visuals.map{CdkObjectWrappers.unwrap(it)}) } /** * @param visuals A list of the visuals that are on a sheet. * Visual placement is determined by the layout of the sheet. */ override fun visuals(vararg visuals: Any): Unit = visuals(visuals.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetDefinitionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetDefinitionProperty, ) : CdkObject(cdkObject), SheetDefinitionProperty { /** * The layout content type of the sheet. Choose one of the following options:. * * * `PAGINATED` : Creates a sheet for a paginated report. * * `INTERACTIVE` : Creates a sheet for an interactive dashboard. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-contenttype) */ override fun contentType(): String? = unwrap(this).getContentType() /** * A description of the sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-description) */ override fun description(): String? = unwrap(this).getDescription() /** * The list of filter controls that are on a sheet. * * For more information, see [Adding filter controls to analysis * sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-filtercontrols) */ override fun filterControls(): Any? = unwrap(this).getFilterControls() /** * Layouts define how the components of a sheet are arranged. * * For more information, see [Types of * layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-layouts) */ override fun layouts(): Any? = unwrap(this).getLayouts() /** * The name of the sheet. * * This name is displayed on the sheet's tab in the Amazon QuickSight console. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-name) */ override fun name(): String? = unwrap(this).getName() /** * The list of parameter controls that are on a sheet. * * For more information, see [Using a Control with a Parameter in Amazon * QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in * the *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-parametercontrols) */ override fun parameterControls(): Any? = unwrap(this).getParameterControls() /** * The control layouts of the sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-sheetcontrollayouts) */ override fun sheetControlLayouts(): Any? = unwrap(this).getSheetControlLayouts() /** * The unique identifier of a sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-sheetid) */ override fun sheetId(): String = unwrap(this).getSheetId() /** * The text boxes that are on a sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-textboxes) */ override fun textBoxes(): Any? = unwrap(this).getTextBoxes() /** * The title of the sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-title) */ override fun title(): String? = unwrap(this).getTitle() /** * A list of the visuals that are on a sheet. * * Visual placement is determined by the layout of the sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetdefinition.html#cfn-quicksight-dashboard-sheetdefinition-visuals) */ override fun visuals(): Any? = unwrap(this).getVisuals() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SheetDefinitionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetDefinitionProperty): SheetDefinitionProperty = CdkObjectWrappers.wrap(cdkObject) as? SheetDefinitionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SheetDefinitionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetDefinitionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SheetDefinitionProperty } } /** * The override configuration of the rendering rules of a sheet. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SheetElementConfigurationOverridesProperty sheetElementConfigurationOverridesProperty = * SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetelementconfigurationoverrides.html) */ public interface SheetElementConfigurationOverridesProperty { /** * Determines whether or not the overrides are visible. Choose one of the following options:. * * * `VISIBLE` * * `HIDDEN` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetelementconfigurationoverrides.html#cfn-quicksight-dashboard-sheetelementconfigurationoverrides-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [SheetElementConfigurationOverridesProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility Determines whether or not the overrides are visible. Choose one of the * following options:. * * `VISIBLE` * * `HIDDEN` */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementConfigurationOverridesProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementConfigurationOverridesProperty.builder() /** * @param visibility Determines whether or not the overrides are visible. Choose one of the * following options:. * * `VISIBLE` * * `HIDDEN` */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementConfigurationOverridesProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementConfigurationOverridesProperty, ) : CdkObject(cdkObject), SheetElementConfigurationOverridesProperty { /** * Determines whether or not the overrides are visible. Choose one of the following options:. * * * `VISIBLE` * * `HIDDEN` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetelementconfigurationoverrides.html#cfn-quicksight-dashboard-sheetelementconfigurationoverrides-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SheetElementConfigurationOverridesProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementConfigurationOverridesProperty): SheetElementConfigurationOverridesProperty = CdkObjectWrappers.wrap(cdkObject) as? SheetElementConfigurationOverridesProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SheetElementConfigurationOverridesProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementConfigurationOverridesProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementConfigurationOverridesProperty } } /** * The rendering rules of a sheet that uses a free-form layout. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SheetElementRenderingRuleProperty sheetElementRenderingRuleProperty = * SheetElementRenderingRuleProperty.builder() * .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() * .visibility("visibility") * .build()) * .expression("expression") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetelementrenderingrule.html) */ public interface SheetElementRenderingRuleProperty { /** * The override configuration of the rendering rules of a sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetelementrenderingrule.html#cfn-quicksight-dashboard-sheetelementrenderingrule-configurationoverrides) */ public fun configurationOverrides(): Any /** * The expression of the rendering rules of a sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetelementrenderingrule.html#cfn-quicksight-dashboard-sheetelementrenderingrule-expression) */ public fun expression(): String /** * A builder for [SheetElementRenderingRuleProperty] */ @CdkDslMarker public interface Builder { /** * @param configurationOverrides The override configuration of the rendering rules of a sheet. * */ public fun configurationOverrides(configurationOverrides: IResolvable) /** * @param configurationOverrides The override configuration of the rendering rules of a sheet. * */ public fun configurationOverrides(configurationOverrides: SheetElementConfigurationOverridesProperty) /** * @param configurationOverrides The override configuration of the rendering rules of a sheet. * */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("501809decd0680bfc33b802f759037afe73e64fdf63ab8cc19fa64951584dcdd") public fun configurationOverrides(configurationOverrides: SheetElementConfigurationOverridesProperty.Builder.() -> Unit) /** * @param expression The expression of the rendering rules of a sheet. */ public fun expression(expression: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementRenderingRuleProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementRenderingRuleProperty.builder() /** * @param configurationOverrides The override configuration of the rendering rules of a sheet. * */ override fun configurationOverrides(configurationOverrides: IResolvable) { cdkBuilder.configurationOverrides(configurationOverrides.let(IResolvable.Companion::unwrap)) } /** * @param configurationOverrides The override configuration of the rendering rules of a sheet. * */ override fun configurationOverrides(configurationOverrides: SheetElementConfigurationOverridesProperty) { cdkBuilder.configurationOverrides(configurationOverrides.let(SheetElementConfigurationOverridesProperty.Companion::unwrap)) } /** * @param configurationOverrides The override configuration of the rendering rules of a sheet. * */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("501809decd0680bfc33b802f759037afe73e64fdf63ab8cc19fa64951584dcdd") override fun configurationOverrides(configurationOverrides: SheetElementConfigurationOverridesProperty.Builder.() -> Unit): Unit = configurationOverrides(SheetElementConfigurationOverridesProperty(configurationOverrides)) /** * @param expression The expression of the rendering rules of a sheet. */ override fun expression(expression: String) { cdkBuilder.expression(expression) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementRenderingRuleProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementRenderingRuleProperty, ) : CdkObject(cdkObject), SheetElementRenderingRuleProperty { /** * The override configuration of the rendering rules of a sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetelementrenderingrule.html#cfn-quicksight-dashboard-sheetelementrenderingrule-configurationoverrides) */ override fun configurationOverrides(): Any = unwrap(this).getConfigurationOverrides() /** * The expression of the rendering rules of a sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetelementrenderingrule.html#cfn-quicksight-dashboard-sheetelementrenderingrule-expression) */ override fun expression(): String = unwrap(this).getExpression() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SheetElementRenderingRuleProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementRenderingRuleProperty): SheetElementRenderingRuleProperty = CdkObjectWrappers.wrap(cdkObject) as? SheetElementRenderingRuleProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SheetElementRenderingRuleProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementRenderingRuleProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SheetElementRenderingRuleProperty } } /** * The sheet layout maximization options of a dashbaord. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SheetLayoutElementMaximizationOptionProperty sheetLayoutElementMaximizationOptionProperty = * SheetLayoutElementMaximizationOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetlayoutelementmaximizationoption.html) */ public interface SheetLayoutElementMaximizationOptionProperty { /** * The status of the sheet layout maximization options of a dashbaord. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetlayoutelementmaximizationoption.html#cfn-quicksight-dashboard-sheetlayoutelementmaximizationoption-availabilitystatus) */ public fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() /** * A builder for [SheetLayoutElementMaximizationOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param availabilityStatus The status of the sheet layout maximization options of a * dashbaord. */ public fun availabilityStatus(availabilityStatus: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetLayoutElementMaximizationOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SheetLayoutElementMaximizationOptionProperty.builder() /** * @param availabilityStatus The status of the sheet layout maximization options of a * dashbaord. */ override fun availabilityStatus(availabilityStatus: String) { cdkBuilder.availabilityStatus(availabilityStatus) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetLayoutElementMaximizationOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetLayoutElementMaximizationOptionProperty, ) : CdkObject(cdkObject), SheetLayoutElementMaximizationOptionProperty { /** * The status of the sheet layout maximization options of a dashbaord. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetlayoutelementmaximizationoption.html#cfn-quicksight-dashboard-sheetlayoutelementmaximizationoption-availabilitystatus) */ override fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SheetLayoutElementMaximizationOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetLayoutElementMaximizationOptionProperty): SheetLayoutElementMaximizationOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? SheetLayoutElementMaximizationOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SheetLayoutElementMaximizationOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetLayoutElementMaximizationOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SheetLayoutElementMaximizationOptionProperty } } /** * A *sheet* , which is an object that contains a set of visuals that are viewed together on one * page in Amazon QuickSight. * * Every analysis and dashboard contains at least one sheet. Each sheet contains at least one * visualization widget, for example a chart, pivot table, or narrative insight. Sheets can be * associated with other components, such as controls, filters, and so on. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SheetProperty sheetProperty = SheetProperty.builder() * .name("name") * .sheetId("sheetId") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheet.html) */ public interface SheetProperty { /** * The name of a sheet. * * This name is displayed on the sheet's tab in the Amazon QuickSight console. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheet.html#cfn-quicksight-dashboard-sheet-name) */ public fun name(): String? = unwrap(this).getName() /** * The unique identifier associated with a sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheet.html#cfn-quicksight-dashboard-sheet-sheetid) */ public fun sheetId(): String? = unwrap(this).getSheetId() /** * A builder for [SheetProperty] */ @CdkDslMarker public interface Builder { /** * @param name The name of a sheet. * This name is displayed on the sheet's tab in the Amazon QuickSight console. */ public fun name(name: String) /** * @param sheetId The unique identifier associated with a sheet. */ public fun sheetId(sheetId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SheetProperty.builder() /** * @param name The name of a sheet. * This name is displayed on the sheet's tab in the Amazon QuickSight console. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param sheetId The unique identifier associated with a sheet. */ override fun sheetId(sheetId: String) { cdkBuilder.sheetId(sheetId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetProperty, ) : CdkObject(cdkObject), SheetProperty { /** * The name of a sheet. * * This name is displayed on the sheet's tab in the Amazon QuickSight console. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheet.html#cfn-quicksight-dashboard-sheet-name) */ override fun name(): String? = unwrap(this).getName() /** * The unique identifier associated with a sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheet.html#cfn-quicksight-dashboard-sheet-sheetid) */ override fun sheetId(): String? = unwrap(this).getSheetId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SheetProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetProperty): SheetProperty = CdkObjectWrappers.wrap(cdkObject) as? SheetProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SheetProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SheetProperty } } /** * A text box. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SheetTextBoxProperty sheetTextBoxProperty = SheetTextBoxProperty.builder() * .sheetTextBoxId("sheetTextBoxId") * // the properties below are optional * .content("content") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheettextbox.html) */ public interface SheetTextBoxProperty { /** * The content that is displayed in the text box. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheettextbox.html#cfn-quicksight-dashboard-sheettextbox-content) */ public fun content(): String? = unwrap(this).getContent() /** * The unique identifier for a text box. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have text boxes that share identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheettextbox.html#cfn-quicksight-dashboard-sheettextbox-sheettextboxid) */ public fun sheetTextBoxId(): String /** * A builder for [SheetTextBoxProperty] */ @CdkDslMarker public interface Builder { /** * @param content The content that is displayed in the text box. */ public fun content(content: String) /** * @param sheetTextBoxId The unique identifier for a text box. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have text boxes that share identifiers. */ public fun sheetTextBoxId(sheetTextBoxId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetTextBoxProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SheetTextBoxProperty.builder() /** * @param content The content that is displayed in the text box. */ override fun content(content: String) { cdkBuilder.content(content) } /** * @param sheetTextBoxId The unique identifier for a text box. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have text boxes that share identifiers. */ override fun sheetTextBoxId(sheetTextBoxId: String) { cdkBuilder.sheetTextBoxId(sheetTextBoxId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetTextBoxProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetTextBoxProperty, ) : CdkObject(cdkObject), SheetTextBoxProperty { /** * The content that is displayed in the text box. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheettextbox.html#cfn-quicksight-dashboard-sheettextbox-content) */ override fun content(): String? = unwrap(this).getContent() /** * The unique identifier for a text box. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have text boxes that share identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheettextbox.html#cfn-quicksight-dashboard-sheettextbox-sheettextboxid) */ override fun sheetTextBoxId(): String = unwrap(this).getSheetTextBoxId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SheetTextBoxProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetTextBoxProperty): SheetTextBoxProperty = CdkObjectWrappers.wrap(cdkObject) as? SheetTextBoxProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SheetTextBoxProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetTextBoxProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SheetTextBoxProperty } } /** * The filter that is applied to the options. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SheetVisualScopingConfigurationProperty sheetVisualScopingConfigurationProperty = * SheetVisualScopingConfigurationProperty.builder() * .scope("scope") * .sheetId("sheetId") * // the properties below are optional * .visualIds(List.of("visualIds")) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetvisualscopingconfiguration.html) */ public interface SheetVisualScopingConfigurationProperty { /** * The scope of the applied entities. Choose one of the following options:. * * * `ALL_VISUALS` * * `SELECTED_VISUALS` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetvisualscopingconfiguration.html#cfn-quicksight-dashboard-sheetvisualscopingconfiguration-scope) */ public fun scope(): String /** * The selected sheet that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetvisualscopingconfiguration.html#cfn-quicksight-dashboard-sheetvisualscopingconfiguration-sheetid) */ public fun sheetId(): String /** * The selected visuals that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetvisualscopingconfiguration.html#cfn-quicksight-dashboard-sheetvisualscopingconfiguration-visualids) */ public fun visualIds(): List = unwrap(this).getVisualIds() ?: emptyList() /** * A builder for [SheetVisualScopingConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param scope The scope of the applied entities. Choose one of the following options:. * * `ALL_VISUALS` * * `SELECTED_VISUALS` */ public fun scope(scope: String) /** * @param sheetId The selected sheet that the filter is applied to. */ public fun sheetId(sheetId: String) /** * @param visualIds The selected visuals that the filter is applied to. */ public fun visualIds(visualIds: List) /** * @param visualIds The selected visuals that the filter is applied to. */ public fun visualIds(vararg visualIds: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetVisualScopingConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SheetVisualScopingConfigurationProperty.builder() /** * @param scope The scope of the applied entities. Choose one of the following options:. * * `ALL_VISUALS` * * `SELECTED_VISUALS` */ override fun scope(scope: String) { cdkBuilder.scope(scope) } /** * @param sheetId The selected sheet that the filter is applied to. */ override fun sheetId(sheetId: String) { cdkBuilder.sheetId(sheetId) } /** * @param visualIds The selected visuals that the filter is applied to. */ override fun visualIds(visualIds: List) { cdkBuilder.visualIds(visualIds) } /** * @param visualIds The selected visuals that the filter is applied to. */ override fun visualIds(vararg visualIds: String): Unit = visualIds(visualIds.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetVisualScopingConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetVisualScopingConfigurationProperty, ) : CdkObject(cdkObject), SheetVisualScopingConfigurationProperty { /** * The scope of the applied entities. Choose one of the following options:. * * * `ALL_VISUALS` * * `SELECTED_VISUALS` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetvisualscopingconfiguration.html#cfn-quicksight-dashboard-sheetvisualscopingconfiguration-scope) */ override fun scope(): String = unwrap(this).getScope() /** * The selected sheet that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetvisualscopingconfiguration.html#cfn-quicksight-dashboard-sheetvisualscopingconfiguration-sheetid) */ override fun sheetId(): String = unwrap(this).getSheetId() /** * The selected visuals that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetvisualscopingconfiguration.html#cfn-quicksight-dashboard-sheetvisualscopingconfiguration-visualids) */ override fun visualIds(): List = unwrap(this).getVisualIds() ?: emptyList() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SheetVisualScopingConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SheetVisualScopingConfigurationProperty): SheetVisualScopingConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? SheetVisualScopingConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SheetVisualScopingConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SheetVisualScopingConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SheetVisualScopingConfigurationProperty } } /** * The text format for the title. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ShortFormatTextProperty shortFormatTextProperty = ShortFormatTextProperty.builder() * .plainText("plainText") * .richText("richText") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-shortformattext.html) */ public interface ShortFormatTextProperty { /** * Plain text format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-shortformattext.html#cfn-quicksight-dashboard-shortformattext-plaintext) */ public fun plainText(): String? = unwrap(this).getPlainText() /** * Rich text. * * Examples of rich text include bold, underline, and italics. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-shortformattext.html#cfn-quicksight-dashboard-shortformattext-richtext) */ public fun richText(): String? = unwrap(this).getRichText() /** * A builder for [ShortFormatTextProperty] */ @CdkDslMarker public interface Builder { /** * @param plainText Plain text format. */ public fun plainText(plainText: String) /** * @param richText Rich text. * Examples of rich text include bold, underline, and italics. */ public fun richText(richText: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ShortFormatTextProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ShortFormatTextProperty.builder() /** * @param plainText Plain text format. */ override fun plainText(plainText: String) { cdkBuilder.plainText(plainText) } /** * @param richText Rich text. * Examples of rich text include bold, underline, and italics. */ override fun richText(richText: String) { cdkBuilder.richText(richText) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ShortFormatTextProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ShortFormatTextProperty, ) : CdkObject(cdkObject), ShortFormatTextProperty { /** * Plain text format. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-shortformattext.html#cfn-quicksight-dashboard-shortformattext-plaintext) */ override fun plainText(): String? = unwrap(this).getPlainText() /** * Rich text. * * Examples of rich text include bold, underline, and italics. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-shortformattext.html#cfn-quicksight-dashboard-shortformattext-richtext) */ override fun richText(): String? = unwrap(this).getRichText() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ShortFormatTextProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ShortFormatTextProperty): ShortFormatTextProperty = CdkObjectWrappers.wrap(cdkObject) as? ShortFormatTextProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ShortFormatTextProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ShortFormatTextProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ShortFormatTextProperty } } /** * The simple cluster marker of the cluster marker. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SimpleClusterMarkerProperty simpleClusterMarkerProperty = SimpleClusterMarkerProperty.builder() * .color("color") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-simpleclustermarker.html) */ public interface SimpleClusterMarkerProperty { /** * The color of the simple cluster marker. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-simpleclustermarker.html#cfn-quicksight-dashboard-simpleclustermarker-color) */ public fun color(): String? = unwrap(this).getColor() /** * A builder for [SimpleClusterMarkerProperty] */ @CdkDslMarker public interface Builder { /** * @param color The color of the simple cluster marker. */ public fun color(color: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SimpleClusterMarkerProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SimpleClusterMarkerProperty.builder() /** * @param color The color of the simple cluster marker. */ override fun color(color: String) { cdkBuilder.color(color) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SimpleClusterMarkerProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SimpleClusterMarkerProperty, ) : CdkObject(cdkObject), SimpleClusterMarkerProperty { /** * The color of the simple cluster marker. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-simpleclustermarker.html#cfn-quicksight-dashboard-simpleclustermarker-color) */ override fun color(): String? = unwrap(this).getColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SimpleClusterMarkerProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SimpleClusterMarkerProperty): SimpleClusterMarkerProperty = CdkObjectWrappers.wrap(cdkObject) as? SimpleClusterMarkerProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SimpleClusterMarkerProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SimpleClusterMarkerProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SimpleClusterMarkerProperty } } /** * The settings of a chart's single axis configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SingleAxisOptionsProperty singleAxisOptionsProperty = SingleAxisOptionsProperty.builder() * .yAxisOptions(YAxisOptionsProperty.builder() * .yAxis("yAxis") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-singleaxisoptions.html) */ public interface SingleAxisOptionsProperty { /** * The Y axis options of a single axis configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-singleaxisoptions.html#cfn-quicksight-dashboard-singleaxisoptions-yaxisoptions) */ public fun yAxisOptions(): Any? = unwrap(this).getYAxisOptions() /** * A builder for [SingleAxisOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param yAxisOptions The Y axis options of a single axis configuration. */ public fun yAxisOptions(yAxisOptions: IResolvable) /** * @param yAxisOptions The Y axis options of a single axis configuration. */ public fun yAxisOptions(yAxisOptions: YAxisOptionsProperty) /** * @param yAxisOptions The Y axis options of a single axis configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0709b46be981faa3a79bacf8e7d4b450a1d6ab4826216438891a0df8b854611c") public fun yAxisOptions(yAxisOptions: YAxisOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SingleAxisOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SingleAxisOptionsProperty.builder() /** * @param yAxisOptions The Y axis options of a single axis configuration. */ override fun yAxisOptions(yAxisOptions: IResolvable) { cdkBuilder.yAxisOptions(yAxisOptions.let(IResolvable.Companion::unwrap)) } /** * @param yAxisOptions The Y axis options of a single axis configuration. */ override fun yAxisOptions(yAxisOptions: YAxisOptionsProperty) { cdkBuilder.yAxisOptions(yAxisOptions.let(YAxisOptionsProperty.Companion::unwrap)) } /** * @param yAxisOptions The Y axis options of a single axis configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0709b46be981faa3a79bacf8e7d4b450a1d6ab4826216438891a0df8b854611c") override fun yAxisOptions(yAxisOptions: YAxisOptionsProperty.Builder.() -> Unit): Unit = yAxisOptions(YAxisOptionsProperty(yAxisOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SingleAxisOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SingleAxisOptionsProperty, ) : CdkObject(cdkObject), SingleAxisOptionsProperty { /** * The Y axis options of a single axis configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-singleaxisoptions.html#cfn-quicksight-dashboard-singleaxisoptions-yaxisoptions) */ override fun yAxisOptions(): Any? = unwrap(this).getYAxisOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SingleAxisOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SingleAxisOptionsProperty): SingleAxisOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? SingleAxisOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SingleAxisOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SingleAxisOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SingleAxisOptionsProperty } } /** * The display options of a control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SliderControlDisplayOptionsProperty sliderControlDisplayOptionsProperty = * SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-slidercontroldisplayoptions.html) */ public interface SliderControlDisplayOptionsProperty { /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-slidercontroldisplayoptions.html#cfn-quicksight-dashboard-slidercontroldisplayoptions-infoiconlabeloptions) */ public fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-slidercontroldisplayoptions.html#cfn-quicksight-dashboard-slidercontroldisplayoptions-titleoptions) */ public fun titleOptions(): Any? = unwrap(this).getTitleOptions() /** * A builder for [SliderControlDisplayOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ead3b046988dddc9b4551a2ac6927fd657e5dc4a20e194919824e9b66d843876") public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: IResolvable) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: LabelOptionsProperty) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d9f7d4555d78096b5d80dd55b74eacd39f307b50d4e689f8dd7021589ae56a0e") public fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SliderControlDisplayOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SliderControlDisplayOptionsProperty.builder() /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ead3b046988dddc9b4551a2ac6927fd657e5dc4a20e194919824e9b66d843876") override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit): Unit = infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty(infoIconLabelOptions)) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d9f7d4555d78096b5d80dd55b74eacd39f307b50d4e689f8dd7021589ae56a0e") override fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit): Unit = titleOptions(LabelOptionsProperty(titleOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SliderControlDisplayOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SliderControlDisplayOptionsProperty, ) : CdkObject(cdkObject), SliderControlDisplayOptionsProperty { /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-slidercontroldisplayoptions.html#cfn-quicksight-dashboard-slidercontroldisplayoptions-infoiconlabeloptions) */ override fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-slidercontroldisplayoptions.html#cfn-quicksight-dashboard-slidercontroldisplayoptions-titleoptions) */ override fun titleOptions(): Any? = unwrap(this).getTitleOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SliderControlDisplayOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SliderControlDisplayOptionsProperty): SliderControlDisplayOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? SliderControlDisplayOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SliderControlDisplayOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SliderControlDisplayOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SliderControlDisplayOptionsProperty } } /** * Configures the properties of a chart's axes that are used by small multiples panels. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SmallMultiplesAxisPropertiesProperty smallMultiplesAxisPropertiesProperty = * SmallMultiplesAxisPropertiesProperty.builder() * .placement("placement") * .scale("scale") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesaxisproperties.html) */ public interface SmallMultiplesAxisPropertiesProperty { /** * Defines the placement of the axis. * * By default, axes are rendered `OUTSIDE` of the panels. Axes with `INDEPENDENT` scale are * rendered `INSIDE` the panels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesaxisproperties.html#cfn-quicksight-dashboard-smallmultiplesaxisproperties-placement) */ public fun placement(): String? = unwrap(this).getPlacement() /** * Determines whether scale of the axes are shared or independent. * * The default value is `SHARED` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesaxisproperties.html#cfn-quicksight-dashboard-smallmultiplesaxisproperties-scale) */ public fun scale(): String? = unwrap(this).getScale() /** * A builder for [SmallMultiplesAxisPropertiesProperty] */ @CdkDslMarker public interface Builder { /** * @param placement Defines the placement of the axis. * By default, axes are rendered `OUTSIDE` of the panels. Axes with `INDEPENDENT` scale are * rendered `INSIDE` the panels. */ public fun placement(placement: String) /** * @param scale Determines whether scale of the axes are shared or independent. * The default value is `SHARED` . */ public fun scale(scale: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesAxisPropertiesProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesAxisPropertiesProperty.builder() /** * @param placement Defines the placement of the axis. * By default, axes are rendered `OUTSIDE` of the panels. Axes with `INDEPENDENT` scale are * rendered `INSIDE` the panels. */ override fun placement(placement: String) { cdkBuilder.placement(placement) } /** * @param scale Determines whether scale of the axes are shared or independent. * The default value is `SHARED` . */ override fun scale(scale: String) { cdkBuilder.scale(scale) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesAxisPropertiesProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesAxisPropertiesProperty, ) : CdkObject(cdkObject), SmallMultiplesAxisPropertiesProperty { /** * Defines the placement of the axis. * * By default, axes are rendered `OUTSIDE` of the panels. Axes with `INDEPENDENT` scale are * rendered `INSIDE` the panels. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesaxisproperties.html#cfn-quicksight-dashboard-smallmultiplesaxisproperties-placement) */ override fun placement(): String? = unwrap(this).getPlacement() /** * Determines whether scale of the axes are shared or independent. * * The default value is `SHARED` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesaxisproperties.html#cfn-quicksight-dashboard-smallmultiplesaxisproperties-scale) */ override fun scale(): String? = unwrap(this).getScale() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SmallMultiplesAxisPropertiesProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesAxisPropertiesProperty): SmallMultiplesAxisPropertiesProperty = CdkObjectWrappers.wrap(cdkObject) as? SmallMultiplesAxisPropertiesProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SmallMultiplesAxisPropertiesProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesAxisPropertiesProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesAxisPropertiesProperty } } /** * Options that determine the layout and display options of a chart's small multiples. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SmallMultiplesOptionsProperty smallMultiplesOptionsProperty = * SmallMultiplesOptionsProperty.builder() * .maxVisibleColumns(123) * .maxVisibleRows(123) * .panelConfiguration(PanelConfigurationProperty.builder() * .backgroundColor("backgroundColor") * .backgroundVisibility("backgroundVisibility") * .borderColor("borderColor") * .borderStyle("borderStyle") * .borderThickness("borderThickness") * .borderVisibility("borderVisibility") * .gutterSpacing("gutterSpacing") * .gutterVisibility("gutterVisibility") * .title(PanelTitleOptionsProperty.builder() * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .horizontalTextAlignment("horizontalTextAlignment") * .visibility("visibility") * .build()) * .build()) * .xAxis(SmallMultiplesAxisPropertiesProperty.builder() * .placement("placement") * .scale("scale") * .build()) * .yAxis(SmallMultiplesAxisPropertiesProperty.builder() * .placement("placement") * .scale("scale") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesoptions.html) */ public interface SmallMultiplesOptionsProperty { /** * Sets the maximum number of visible columns to display in the grid of small multiples panels. * * The default is `Auto` , which automatically adjusts the columns in the grid to fit the * overall layout and size of the given chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesoptions.html#cfn-quicksight-dashboard-smallmultiplesoptions-maxvisiblecolumns) */ public fun maxVisibleColumns(): Number? = unwrap(this).getMaxVisibleColumns() /** * Sets the maximum number of visible rows to display in the grid of small multiples panels. * * The default value is `Auto` , which automatically adjusts the rows in the grid to fit the * overall layout and size of the given chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesoptions.html#cfn-quicksight-dashboard-smallmultiplesoptions-maxvisiblerows) */ public fun maxVisibleRows(): Number? = unwrap(this).getMaxVisibleRows() /** * Configures the display options for each small multiples panel. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesoptions.html#cfn-quicksight-dashboard-smallmultiplesoptions-panelconfiguration) */ public fun panelConfiguration(): Any? = unwrap(this).getPanelConfiguration() /** * The properties of a small multiples X axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesoptions.html#cfn-quicksight-dashboard-smallmultiplesoptions-xaxis) */ public fun xAxis(): Any? = unwrap(this).getXAxis() /** * The properties of a small multiples Y axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesoptions.html#cfn-quicksight-dashboard-smallmultiplesoptions-yaxis) */ public fun yAxis(): Any? = unwrap(this).getYAxis() /** * A builder for [SmallMultiplesOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param maxVisibleColumns Sets the maximum number of visible columns to display in the grid * of small multiples panels. * The default is `Auto` , which automatically adjusts the columns in the grid to fit the * overall layout and size of the given chart. */ public fun maxVisibleColumns(maxVisibleColumns: Number) /** * @param maxVisibleRows Sets the maximum number of visible rows to display in the grid of * small multiples panels. * The default value is `Auto` , which automatically adjusts the rows in the grid to fit the * overall layout and size of the given chart. */ public fun maxVisibleRows(maxVisibleRows: Number) /** * @param panelConfiguration Configures the display options for each small multiples panel. */ public fun panelConfiguration(panelConfiguration: IResolvable) /** * @param panelConfiguration Configures the display options for each small multiples panel. */ public fun panelConfiguration(panelConfiguration: PanelConfigurationProperty) /** * @param panelConfiguration Configures the display options for each small multiples panel. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("84c98160dcddf66ee2255d299f555dbff510e4eb62aa3f5812ce23f817cac430") public fun panelConfiguration(panelConfiguration: PanelConfigurationProperty.Builder.() -> Unit) /** * @param xAxis The properties of a small multiples X axis. */ public fun xAxis(xAxis: IResolvable) /** * @param xAxis The properties of a small multiples X axis. */ public fun xAxis(xAxis: SmallMultiplesAxisPropertiesProperty) /** * @param xAxis The properties of a small multiples X axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("39106686ede88bc8b05a7d411eae9d30f5e4df18abf640f61108cce973cee50a") public fun xAxis(xAxis: SmallMultiplesAxisPropertiesProperty.Builder.() -> Unit) /** * @param yAxis The properties of a small multiples Y axis. */ public fun yAxis(yAxis: IResolvable) /** * @param yAxis The properties of a small multiples Y axis. */ public fun yAxis(yAxis: SmallMultiplesAxisPropertiesProperty) /** * @param yAxis The properties of a small multiples Y axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a7e44a8753db9db734fca20d113134f25d4418d369fa6562935fd60913c26671") public fun yAxis(yAxis: SmallMultiplesAxisPropertiesProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesOptionsProperty.builder() /** * @param maxVisibleColumns Sets the maximum number of visible columns to display in the grid * of small multiples panels. * The default is `Auto` , which automatically adjusts the columns in the grid to fit the * overall layout and size of the given chart. */ override fun maxVisibleColumns(maxVisibleColumns: Number) { cdkBuilder.maxVisibleColumns(maxVisibleColumns) } /** * @param maxVisibleRows Sets the maximum number of visible rows to display in the grid of * small multiples panels. * The default value is `Auto` , which automatically adjusts the rows in the grid to fit the * overall layout and size of the given chart. */ override fun maxVisibleRows(maxVisibleRows: Number) { cdkBuilder.maxVisibleRows(maxVisibleRows) } /** * @param panelConfiguration Configures the display options for each small multiples panel. */ override fun panelConfiguration(panelConfiguration: IResolvable) { cdkBuilder.panelConfiguration(panelConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param panelConfiguration Configures the display options for each small multiples panel. */ override fun panelConfiguration(panelConfiguration: PanelConfigurationProperty) { cdkBuilder.panelConfiguration(panelConfiguration.let(PanelConfigurationProperty.Companion::unwrap)) } /** * @param panelConfiguration Configures the display options for each small multiples panel. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("84c98160dcddf66ee2255d299f555dbff510e4eb62aa3f5812ce23f817cac430") override fun panelConfiguration(panelConfiguration: PanelConfigurationProperty.Builder.() -> Unit): Unit = panelConfiguration(PanelConfigurationProperty(panelConfiguration)) /** * @param xAxis The properties of a small multiples X axis. */ override fun xAxis(xAxis: IResolvable) { cdkBuilder.xAxis(xAxis.let(IResolvable.Companion::unwrap)) } /** * @param xAxis The properties of a small multiples X axis. */ override fun xAxis(xAxis: SmallMultiplesAxisPropertiesProperty) { cdkBuilder.xAxis(xAxis.let(SmallMultiplesAxisPropertiesProperty.Companion::unwrap)) } /** * @param xAxis The properties of a small multiples X axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("39106686ede88bc8b05a7d411eae9d30f5e4df18abf640f61108cce973cee50a") override fun xAxis(xAxis: SmallMultiplesAxisPropertiesProperty.Builder.() -> Unit): Unit = xAxis(SmallMultiplesAxisPropertiesProperty(xAxis)) /** * @param yAxis The properties of a small multiples Y axis. */ override fun yAxis(yAxis: IResolvable) { cdkBuilder.yAxis(yAxis.let(IResolvable.Companion::unwrap)) } /** * @param yAxis The properties of a small multiples Y axis. */ override fun yAxis(yAxis: SmallMultiplesAxisPropertiesProperty) { cdkBuilder.yAxis(yAxis.let(SmallMultiplesAxisPropertiesProperty.Companion::unwrap)) } /** * @param yAxis The properties of a small multiples Y axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a7e44a8753db9db734fca20d113134f25d4418d369fa6562935fd60913c26671") override fun yAxis(yAxis: SmallMultiplesAxisPropertiesProperty.Builder.() -> Unit): Unit = yAxis(SmallMultiplesAxisPropertiesProperty(yAxis)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesOptionsProperty, ) : CdkObject(cdkObject), SmallMultiplesOptionsProperty { /** * Sets the maximum number of visible columns to display in the grid of small multiples * panels. * * The default is `Auto` , which automatically adjusts the columns in the grid to fit the * overall layout and size of the given chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesoptions.html#cfn-quicksight-dashboard-smallmultiplesoptions-maxvisiblecolumns) */ override fun maxVisibleColumns(): Number? = unwrap(this).getMaxVisibleColumns() /** * Sets the maximum number of visible rows to display in the grid of small multiples panels. * * The default value is `Auto` , which automatically adjusts the rows in the grid to fit the * overall layout and size of the given chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesoptions.html#cfn-quicksight-dashboard-smallmultiplesoptions-maxvisiblerows) */ override fun maxVisibleRows(): Number? = unwrap(this).getMaxVisibleRows() /** * Configures the display options for each small multiples panel. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesoptions.html#cfn-quicksight-dashboard-smallmultiplesoptions-panelconfiguration) */ override fun panelConfiguration(): Any? = unwrap(this).getPanelConfiguration() /** * The properties of a small multiples X axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesoptions.html#cfn-quicksight-dashboard-smallmultiplesoptions-xaxis) */ override fun xAxis(): Any? = unwrap(this).getXAxis() /** * The properties of a small multiples Y axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-smallmultiplesoptions.html#cfn-quicksight-dashboard-smallmultiplesoptions-yaxis) */ override fun yAxis(): Any? = unwrap(this).getYAxis() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SmallMultiplesOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesOptionsProperty): SmallMultiplesOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? SmallMultiplesOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SmallMultiplesOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SmallMultiplesOptionsProperty } } /** * The configuration of spacing (often a margin or padding). * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SpacingProperty spacingProperty = SpacingProperty.builder() * .bottom("bottom") * .left("left") * .right("right") * .top("top") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-spacing.html) */ public interface SpacingProperty { /** * Define the bottom spacing. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-spacing.html#cfn-quicksight-dashboard-spacing-bottom) */ public fun bottom(): String? = unwrap(this).getBottom() /** * Define the left spacing. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-spacing.html#cfn-quicksight-dashboard-spacing-left) */ public fun left(): String? = unwrap(this).getLeft() /** * Define the right spacing. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-spacing.html#cfn-quicksight-dashboard-spacing-right) */ public fun right(): String? = unwrap(this).getRight() /** * Define the top spacing. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-spacing.html#cfn-quicksight-dashboard-spacing-top) */ public fun top(): String? = unwrap(this).getTop() /** * A builder for [SpacingProperty] */ @CdkDslMarker public interface Builder { /** * @param bottom Define the bottom spacing. */ public fun bottom(bottom: String) /** * @param left Define the left spacing. */ public fun left(left: String) /** * @param right Define the right spacing. */ public fun right(right: String) /** * @param top Define the top spacing. */ public fun top(top: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SpacingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SpacingProperty.builder() /** * @param bottom Define the bottom spacing. */ override fun bottom(bottom: String) { cdkBuilder.bottom(bottom) } /** * @param left Define the left spacing. */ override fun left(left: String) { cdkBuilder.left(left) } /** * @param right Define the right spacing. */ override fun right(right: String) { cdkBuilder.right(right) } /** * @param top Define the top spacing. */ override fun top(top: String) { cdkBuilder.top(top) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SpacingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SpacingProperty, ) : CdkObject(cdkObject), SpacingProperty { /** * Define the bottom spacing. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-spacing.html#cfn-quicksight-dashboard-spacing-bottom) */ override fun bottom(): String? = unwrap(this).getBottom() /** * Define the left spacing. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-spacing.html#cfn-quicksight-dashboard-spacing-left) */ override fun left(): String? = unwrap(this).getLeft() /** * Define the right spacing. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-spacing.html#cfn-quicksight-dashboard-spacing-right) */ override fun right(): String? = unwrap(this).getRight() /** * Define the top spacing. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-spacing.html#cfn-quicksight-dashboard-spacing-top) */ override fun top(): String? = unwrap(this).getTop() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SpacingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SpacingProperty): SpacingProperty = CdkObjectWrappers.wrap(cdkObject) as? SpacingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SpacingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SpacingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SpacingProperty } } /** * The default values of the `StringParameterDeclaration` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * StringDefaultValuesProperty stringDefaultValuesProperty = StringDefaultValuesProperty.builder() * .dynamicValue(DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .staticValues(List.of("staticValues")) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringdefaultvalues.html) */ public interface StringDefaultValuesProperty { /** * The dynamic value of the `StringDefaultValues` . * * Different defaults displayed according to users, groups, and values mapping. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringdefaultvalues.html#cfn-quicksight-dashboard-stringdefaultvalues-dynamicvalue) */ public fun dynamicValue(): Any? = unwrap(this).getDynamicValue() /** * The static values of the `DecimalDefaultValues` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringdefaultvalues.html#cfn-quicksight-dashboard-stringdefaultvalues-staticvalues) */ public fun staticValues(): List = unwrap(this).getStaticValues() ?: emptyList() /** * A builder for [StringDefaultValuesProperty] */ @CdkDslMarker public interface Builder { /** * @param dynamicValue The dynamic value of the `StringDefaultValues` . * Different defaults displayed according to users, groups, and values mapping. */ public fun dynamicValue(dynamicValue: IResolvable) /** * @param dynamicValue The dynamic value of the `StringDefaultValues` . * Different defaults displayed according to users, groups, and values mapping. */ public fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) /** * @param dynamicValue The dynamic value of the `StringDefaultValues` . * Different defaults displayed according to users, groups, and values mapping. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("70e9e340c0043c36b024ad8ef9de372263fb6caed2120b56431a5807d2153032") public fun dynamicValue(dynamicValue: DynamicDefaultValueProperty.Builder.() -> Unit) /** * @param staticValues The static values of the `DecimalDefaultValues` . */ public fun staticValues(staticValues: List) /** * @param staticValues The static values of the `DecimalDefaultValues` . */ public fun staticValues(vararg staticValues: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.StringDefaultValuesProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.StringDefaultValuesProperty.builder() /** * @param dynamicValue The dynamic value of the `StringDefaultValues` . * Different defaults displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** * @param dynamicValue The dynamic value of the `StringDefaultValues` . * Different defaults displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** * @param dynamicValue The dynamic value of the `StringDefaultValues` . * Different defaults displayed according to users, groups, and values mapping. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("70e9e340c0043c36b024ad8ef9de372263fb6caed2120b56431a5807d2153032") override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty.Builder.() -> Unit): Unit = dynamicValue(DynamicDefaultValueProperty(dynamicValue)) /** * @param staticValues The static values of the `DecimalDefaultValues` . */ override fun staticValues(staticValues: List) { cdkBuilder.staticValues(staticValues) } /** * @param staticValues The static values of the `DecimalDefaultValues` . */ override fun staticValues(vararg staticValues: String): Unit = staticValues(staticValues.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.StringDefaultValuesProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.StringDefaultValuesProperty, ) : CdkObject(cdkObject), StringDefaultValuesProperty { /** * The dynamic value of the `StringDefaultValues` . * * Different defaults displayed according to users, groups, and values mapping. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringdefaultvalues.html#cfn-quicksight-dashboard-stringdefaultvalues-dynamicvalue) */ override fun dynamicValue(): Any? = unwrap(this).getDynamicValue() /** * The static values of the `DecimalDefaultValues` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringdefaultvalues.html#cfn-quicksight-dashboard-stringdefaultvalues-staticvalues) */ override fun staticValues(): List = unwrap(this).getStaticValues() ?: emptyList() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): StringDefaultValuesProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.StringDefaultValuesProperty): StringDefaultValuesProperty = CdkObjectWrappers.wrap(cdkObject) as? StringDefaultValuesProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: StringDefaultValuesProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.StringDefaultValuesProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.StringDefaultValuesProperty } } /** * Formatting configuration for string fields. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * StringFormatConfigurationProperty stringFormatConfigurationProperty = * StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringformatconfiguration.html) */ public interface StringFormatConfigurationProperty { /** * The options that determine the null value format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringformatconfiguration.html#cfn-quicksight-dashboard-stringformatconfiguration-nullvalueformatconfiguration) */ public fun nullValueFormatConfiguration(): Any? = unwrap(this).getNullValueFormatConfiguration() /** * The formatting configuration for numeric strings. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringformatconfiguration.html#cfn-quicksight-dashboard-stringformatconfiguration-numericformatconfiguration) */ public fun numericFormatConfiguration(): Any? = unwrap(this).getNumericFormatConfiguration() /** * A builder for [StringFormatConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ public fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ public fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("91b2f7032557850ce34f495144330d162821fc23aed91b764d94d39753a60d53") public fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty.Builder.() -> Unit) /** * @param numericFormatConfiguration The formatting configuration for numeric strings. */ public fun numericFormatConfiguration(numericFormatConfiguration: IResolvable) /** * @param numericFormatConfiguration The formatting configuration for numeric strings. */ public fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty) /** * @param numericFormatConfiguration The formatting configuration for numeric strings. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3b065188f691c80fe563d4312f9b82e1f461e0010d25ccffbcea42ab42e37c10") public fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.StringFormatConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.StringFormatConfigurationProperty.builder() /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** * @param nullValueFormatConfiguration The options that determine the null value format * configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("91b2f7032557850ce34f495144330d162821fc23aed91b764d94d39753a60d53") override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty.Builder.() -> Unit): Unit = nullValueFormatConfiguration(NullValueFormatConfigurationProperty(nullValueFormatConfiguration)) /** * @param numericFormatConfiguration The formatting configuration for numeric strings. */ override fun numericFormatConfiguration(numericFormatConfiguration: IResolvable) { cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param numericFormatConfiguration The formatting configuration for numeric strings. */ override fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty) { cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** * @param numericFormatConfiguration The formatting configuration for numeric strings. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3b065188f691c80fe563d4312f9b82e1f461e0010d25ccffbcea42ab42e37c10") override fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty.Builder.() -> Unit): Unit = numericFormatConfiguration(NumericFormatConfigurationProperty(numericFormatConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.StringFormatConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.StringFormatConfigurationProperty, ) : CdkObject(cdkObject), StringFormatConfigurationProperty { /** * The options that determine the null value format configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringformatconfiguration.html#cfn-quicksight-dashboard-stringformatconfiguration-nullvalueformatconfiguration) */ override fun nullValueFormatConfiguration(): Any? = unwrap(this).getNullValueFormatConfiguration() /** * The formatting configuration for numeric strings. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringformatconfiguration.html#cfn-quicksight-dashboard-stringformatconfiguration-numericformatconfiguration) */ override fun numericFormatConfiguration(): Any? = unwrap(this).getNumericFormatConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): StringFormatConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.StringFormatConfigurationProperty): StringFormatConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? StringFormatConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: StringFormatConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.StringFormatConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.StringFormatConfigurationProperty } } /** * A parameter declaration for the `String` data type. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * StringParameterDeclarationProperty stringParameterDeclarationProperty = * StringParameterDeclarationProperty.builder() * .name("name") * .parameterValueType("parameterValueType") * // the properties below are optional * .defaultValues(StringDefaultValuesProperty.builder() * .dynamicValue(DynamicDefaultValueProperty.builder() * .defaultValueColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .groupNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .userNameColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .build()) * .staticValues(List.of("staticValues")) * .build()) * .mappedDataSetParameters(List.of(MappedDataSetParameterProperty.builder() * .dataSetIdentifier("dataSetIdentifier") * .dataSetParameterName("dataSetParameterName") * .build())) * .valueWhenUnset(StringValueWhenUnsetConfigurationProperty.builder() * .customValue("customValue") * .valueWhenUnsetOption("valueWhenUnsetOption") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameterdeclaration.html) */ public interface StringParameterDeclarationProperty { /** * The default values of a parameter. * * If the parameter is a single-value parameter, a maximum of one default value can be provided. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameterdeclaration.html#cfn-quicksight-dashboard-stringparameterdeclaration-defaultvalues) */ public fun defaultValues(): Any? = unwrap(this).getDefaultValues() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameterdeclaration.html#cfn-quicksight-dashboard-stringparameterdeclaration-mappeddatasetparameters) */ public fun mappedDataSetParameters(): Any? = unwrap(this).getMappedDataSetParameters() /** * The name of the parameter that is being declared. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameterdeclaration.html#cfn-quicksight-dashboard-stringparameterdeclaration-name) */ public fun name(): String /** * The value type determines whether the parameter is a single-value or multi-value parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameterdeclaration.html#cfn-quicksight-dashboard-stringparameterdeclaration-parametervaluetype) */ public fun parameterValueType(): String /** * The configuration that defines the default value of a `String` parameter when a value has not * been set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameterdeclaration.html#cfn-quicksight-dashboard-stringparameterdeclaration-valuewhenunset) */ public fun valueWhenUnset(): Any? = unwrap(this).getValueWhenUnset() /** * A builder for [StringParameterDeclarationProperty] */ @CdkDslMarker public interface Builder { /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ public fun defaultValues(defaultValues: IResolvable) /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ public fun defaultValues(defaultValues: StringDefaultValuesProperty) /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3fbd77cf1391e598ce69d2b5deb02bc524795b03df462fa4a3c208201f85fea5") public fun defaultValues(defaultValues: StringDefaultValuesProperty.Builder.() -> Unit) /** * @param mappedDataSetParameters the value to be set. */ public fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) /** * @param mappedDataSetParameters the value to be set. */ public fun mappedDataSetParameters(mappedDataSetParameters: List) /** * @param mappedDataSetParameters the value to be set. */ public fun mappedDataSetParameters(vararg mappedDataSetParameters: Any) /** * @param name The name of the parameter that is being declared. */ public fun name(name: String) /** * @param parameterValueType The value type determines whether the parameter is a single-value * or multi-value parameter. */ public fun parameterValueType(parameterValueType: String) /** * @param valueWhenUnset The configuration that defines the default value of a `String` * parameter when a value has not been set. */ public fun valueWhenUnset(valueWhenUnset: IResolvable) /** * @param valueWhenUnset The configuration that defines the default value of a `String` * parameter when a value has not been set. */ public fun valueWhenUnset(valueWhenUnset: StringValueWhenUnsetConfigurationProperty) /** * @param valueWhenUnset The configuration that defines the default value of a `String` * parameter when a value has not been set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a718b1012585985b9a07817b259d66dcc4e4f1e63850eb1226a29b3c0f4048f5") public fun valueWhenUnset(valueWhenUnset: StringValueWhenUnsetConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterDeclarationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterDeclarationProperty.builder() /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ override fun defaultValues(defaultValues: IResolvable) { cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ override fun defaultValues(defaultValues: StringDefaultValuesProperty) { cdkBuilder.defaultValues(defaultValues.let(StringDefaultValuesProperty.Companion::unwrap)) } /** * @param defaultValues The default values of a parameter. * If the parameter is a single-value parameter, a maximum of one default value can be * provided. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3fbd77cf1391e598ce69d2b5deb02bc524795b03df462fa4a3c208201f85fea5") override fun defaultValues(defaultValues: StringDefaultValuesProperty.Builder.() -> Unit): Unit = defaultValues(StringDefaultValuesProperty(defaultValues)) /** * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: List) { cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.map{CdkObjectWrappers.unwrap(it)}) } /** * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(vararg mappedDataSetParameters: Any): Unit = mappedDataSetParameters(mappedDataSetParameters.toList()) /** * @param name The name of the parameter that is being declared. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param parameterValueType The value type determines whether the parameter is a single-value * or multi-value parameter. */ override fun parameterValueType(parameterValueType: String) { cdkBuilder.parameterValueType(parameterValueType) } /** * @param valueWhenUnset The configuration that defines the default value of a `String` * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** * @param valueWhenUnset The configuration that defines the default value of a `String` * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: StringValueWhenUnsetConfigurationProperty) { cdkBuilder.valueWhenUnset(valueWhenUnset.let(StringValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** * @param valueWhenUnset The configuration that defines the default value of a `String` * parameter when a value has not been set. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a718b1012585985b9a07817b259d66dcc4e4f1e63850eb1226a29b3c0f4048f5") override fun valueWhenUnset(valueWhenUnset: StringValueWhenUnsetConfigurationProperty.Builder.() -> Unit): Unit = valueWhenUnset(StringValueWhenUnsetConfigurationProperty(valueWhenUnset)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterDeclarationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterDeclarationProperty, ) : CdkObject(cdkObject), StringParameterDeclarationProperty { /** * The default values of a parameter. * * If the parameter is a single-value parameter, a maximum of one default value can be * provided. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameterdeclaration.html#cfn-quicksight-dashboard-stringparameterdeclaration-defaultvalues) */ override fun defaultValues(): Any? = unwrap(this).getDefaultValues() /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameterdeclaration.html#cfn-quicksight-dashboard-stringparameterdeclaration-mappeddatasetparameters) */ override fun mappedDataSetParameters(): Any? = unwrap(this).getMappedDataSetParameters() /** * The name of the parameter that is being declared. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameterdeclaration.html#cfn-quicksight-dashboard-stringparameterdeclaration-name) */ override fun name(): String = unwrap(this).getName() /** * The value type determines whether the parameter is a single-value or multi-value parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameterdeclaration.html#cfn-quicksight-dashboard-stringparameterdeclaration-parametervaluetype) */ override fun parameterValueType(): String = unwrap(this).getParameterValueType() /** * The configuration that defines the default value of a `String` parameter when a value has * not been set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameterdeclaration.html#cfn-quicksight-dashboard-stringparameterdeclaration-valuewhenunset) */ override fun valueWhenUnset(): Any? = unwrap(this).getValueWhenUnset() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): StringParameterDeclarationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterDeclarationProperty): StringParameterDeclarationProperty = CdkObjectWrappers.wrap(cdkObject) as? StringParameterDeclarationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: StringParameterDeclarationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterDeclarationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterDeclarationProperty } } /** * A string parameter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * StringParameterProperty stringParameterProperty = StringParameterProperty.builder() * .name("name") * .values(List.of("values")) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameter.html) */ public interface StringParameterProperty { /** * A display name for a string parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameter.html#cfn-quicksight-dashboard-stringparameter-name) */ public fun name(): String /** * The values of a string parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameter.html#cfn-quicksight-dashboard-stringparameter-values) */ public fun values(): List /** * A builder for [StringParameterProperty] */ @CdkDslMarker public interface Builder { /** * @param name A display name for a string parameter. */ public fun name(name: String) /** * @param values The values of a string parameter. */ public fun values(values: List) /** * @param values The values of a string parameter. */ public fun values(vararg values: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterProperty.builder() /** * @param name A display name for a string parameter. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param values The values of a string parameter. */ override fun values(values: List) { cdkBuilder.values(values) } /** * @param values The values of a string parameter. */ override fun values(vararg values: String): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterProperty, ) : CdkObject(cdkObject), StringParameterProperty { /** * A display name for a string parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameter.html#cfn-quicksight-dashboard-stringparameter-name) */ override fun name(): String = unwrap(this).getName() /** * The values of a string parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameter.html#cfn-quicksight-dashboard-stringparameter-values) */ override fun values(): List = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): StringParameterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterProperty): StringParameterProperty = CdkObjectWrappers.wrap(cdkObject) as? StringParameterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: StringParameterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterProperty } } /** * The configuration that defines the default value of a `String` parameter when a value has not * been set. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * StringValueWhenUnsetConfigurationProperty stringValueWhenUnsetConfigurationProperty = * StringValueWhenUnsetConfigurationProperty.builder() * .customValue("customValue") * .valueWhenUnsetOption("valueWhenUnsetOption") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringvaluewhenunsetconfiguration.html) */ public interface StringValueWhenUnsetConfigurationProperty { /** * A custom value that's used when the value of a parameter isn't set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringvaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-stringvaluewhenunsetconfiguration-customvalue) */ public fun customValue(): String? = unwrap(this).getCustomValue() /** * The built-in options for default values. The value can be one of the following:. * * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringvaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-stringvaluewhenunsetconfiguration-valuewhenunsetoption) */ public fun valueWhenUnsetOption(): String? = unwrap(this).getValueWhenUnsetOption() /** * A builder for [StringValueWhenUnsetConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param customValue A custom value that's used when the value of a parameter isn't set. */ public fun customValue(customValue: String) /** * @param valueWhenUnsetOption The built-in options for default values. The value can be one * of the following:. * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. */ public fun valueWhenUnsetOption(valueWhenUnsetOption: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.StringValueWhenUnsetConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.StringValueWhenUnsetConfigurationProperty.builder() /** * @param customValue A custom value that's used when the value of a parameter isn't set. */ override fun customValue(customValue: String) { cdkBuilder.customValue(customValue) } /** * @param valueWhenUnsetOption The built-in options for default values. The value can be one * of the following:. * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. */ override fun valueWhenUnsetOption(valueWhenUnsetOption: String) { cdkBuilder.valueWhenUnsetOption(valueWhenUnsetOption) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.StringValueWhenUnsetConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.StringValueWhenUnsetConfigurationProperty, ) : CdkObject(cdkObject), StringValueWhenUnsetConfigurationProperty { /** * A custom value that's used when the value of a parameter isn't set. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringvaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-stringvaluewhenunsetconfiguration-customvalue) */ override fun customValue(): String? = unwrap(this).getCustomValue() /** * The built-in options for default values. The value can be one of the following:. * * * `RECOMMENDED` : The recommended value. * * `NULL` : The `NULL` value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringvaluewhenunsetconfiguration.html#cfn-quicksight-dashboard-stringvaluewhenunsetconfiguration-valuewhenunsetoption) */ override fun valueWhenUnsetOption(): String? = unwrap(this).getValueWhenUnsetOption() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): StringValueWhenUnsetConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.StringValueWhenUnsetConfigurationProperty): StringValueWhenUnsetConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? StringValueWhenUnsetConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: StringValueWhenUnsetConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.StringValueWhenUnsetConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.StringValueWhenUnsetConfigurationProperty } } /** * The subtotal options. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * SubtotalOptionsProperty subtotalOptionsProperty = SubtotalOptionsProperty.builder() * .customLabel("customLabel") * .fieldLevel("fieldLevel") * .fieldLevelOptions(List.of(PivotTableFieldSubtotalOptionsProperty.builder() * .fieldId("fieldId") * .build())) * .metricHeaderCellStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .styleTargets(List.of(TableStyleTargetProperty.builder() * .cellType("cellType") * .build())) * .totalCellStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .totalsVisibility("totalsVisibility") * .valueCellStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html) */ public interface SubtotalOptionsProperty { /** * The custom label string for the subtotal cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-customlabel) */ public fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The field level (all, custom, last) for the subtotal cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-fieldlevel) */ public fun fieldLevel(): String? = unwrap(this).getFieldLevel() /** * The optional configuration of subtotal cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-fieldleveloptions) */ public fun fieldLevelOptions(): Any? = unwrap(this).getFieldLevelOptions() /** * The cell styling options for the subtotals of header cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-metricheadercellstyle) */ public fun metricHeaderCellStyle(): Any? = unwrap(this).getMetricHeaderCellStyle() /** * The style targets options for subtotals. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-styletargets) */ public fun styleTargets(): Any? = unwrap(this).getStyleTargets() /** * The cell styling options for the subtotal cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-totalcellstyle) */ public fun totalCellStyle(): Any? = unwrap(this).getTotalCellStyle() /** * The visibility configuration for the subtotal cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-totalsvisibility) */ public fun totalsVisibility(): String? = unwrap(this).getTotalsVisibility() /** * The cell styling options for the subtotals of value cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-valuecellstyle) */ public fun valueCellStyle(): Any? = unwrap(this).getValueCellStyle() /** * A builder for [SubtotalOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param customLabel The custom label string for the subtotal cells. */ public fun customLabel(customLabel: String) /** * @param fieldLevel The field level (all, custom, last) for the subtotal cells. */ public fun fieldLevel(fieldLevel: String) /** * @param fieldLevelOptions The optional configuration of subtotal cells. */ public fun fieldLevelOptions(fieldLevelOptions: IResolvable) /** * @param fieldLevelOptions The optional configuration of subtotal cells. */ public fun fieldLevelOptions(fieldLevelOptions: List) /** * @param fieldLevelOptions The optional configuration of subtotal cells. */ public fun fieldLevelOptions(vararg fieldLevelOptions: Any) /** * @param metricHeaderCellStyle The cell styling options for the subtotals of header cells. */ public fun metricHeaderCellStyle(metricHeaderCellStyle: IResolvable) /** * @param metricHeaderCellStyle The cell styling options for the subtotals of header cells. */ public fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty) /** * @param metricHeaderCellStyle The cell styling options for the subtotals of header cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3c065d831a78d513a15f023a1f8841e4a2d50af9a47962b6800bbd37e01c8d89") public fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty.Builder.() -> Unit) /** * @param styleTargets The style targets options for subtotals. */ public fun styleTargets(styleTargets: IResolvable) /** * @param styleTargets The style targets options for subtotals. */ public fun styleTargets(styleTargets: List) /** * @param styleTargets The style targets options for subtotals. */ public fun styleTargets(vararg styleTargets: Any) /** * @param totalCellStyle The cell styling options for the subtotal cells. */ public fun totalCellStyle(totalCellStyle: IResolvable) /** * @param totalCellStyle The cell styling options for the subtotal cells. */ public fun totalCellStyle(totalCellStyle: TableCellStyleProperty) /** * @param totalCellStyle The cell styling options for the subtotal cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1ddea85e57ba16d56dc9dedcb607a571238bfd20458e77a03eceb8227e6b8d87") public fun totalCellStyle(totalCellStyle: TableCellStyleProperty.Builder.() -> Unit) /** * @param totalsVisibility The visibility configuration for the subtotal cells. */ public fun totalsVisibility(totalsVisibility: String) /** * @param valueCellStyle The cell styling options for the subtotals of value cells. */ public fun valueCellStyle(valueCellStyle: IResolvable) /** * @param valueCellStyle The cell styling options for the subtotals of value cells. */ public fun valueCellStyle(valueCellStyle: TableCellStyleProperty) /** * @param valueCellStyle The cell styling options for the subtotals of value cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c48b383f8170052c39f03fbc22b15af8204a72936db4de82cf2ac10442a229c2") public fun valueCellStyle(valueCellStyle: TableCellStyleProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.SubtotalOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.SubtotalOptionsProperty.builder() /** * @param customLabel The custom label string for the subtotal cells. */ override fun customLabel(customLabel: String) { cdkBuilder.customLabel(customLabel) } /** * @param fieldLevel The field level (all, custom, last) for the subtotal cells. */ override fun fieldLevel(fieldLevel: String) { cdkBuilder.fieldLevel(fieldLevel) } /** * @param fieldLevelOptions The optional configuration of subtotal cells. */ override fun fieldLevelOptions(fieldLevelOptions: IResolvable) { cdkBuilder.fieldLevelOptions(fieldLevelOptions.let(IResolvable.Companion::unwrap)) } /** * @param fieldLevelOptions The optional configuration of subtotal cells. */ override fun fieldLevelOptions(fieldLevelOptions: List) { cdkBuilder.fieldLevelOptions(fieldLevelOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param fieldLevelOptions The optional configuration of subtotal cells. */ override fun fieldLevelOptions(vararg fieldLevelOptions: Any): Unit = fieldLevelOptions(fieldLevelOptions.toList()) /** * @param metricHeaderCellStyle The cell styling options for the subtotals of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: IResolvable) { cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param metricHeaderCellStyle The cell styling options for the subtotals of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty) { cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param metricHeaderCellStyle The cell styling options for the subtotals of header cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3c065d831a78d513a15f023a1f8841e4a2d50af9a47962b6800bbd37e01c8d89") override fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = metricHeaderCellStyle(TableCellStyleProperty(metricHeaderCellStyle)) /** * @param styleTargets The style targets options for subtotals. */ override fun styleTargets(styleTargets: IResolvable) { cdkBuilder.styleTargets(styleTargets.let(IResolvable.Companion::unwrap)) } /** * @param styleTargets The style targets options for subtotals. */ override fun styleTargets(styleTargets: List) { cdkBuilder.styleTargets(styleTargets.map{CdkObjectWrappers.unwrap(it)}) } /** * @param styleTargets The style targets options for subtotals. */ override fun styleTargets(vararg styleTargets: Any): Unit = styleTargets(styleTargets.toList()) /** * @param totalCellStyle The cell styling options for the subtotal cells. */ override fun totalCellStyle(totalCellStyle: IResolvable) { cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param totalCellStyle The cell styling options for the subtotal cells. */ override fun totalCellStyle(totalCellStyle: TableCellStyleProperty) { cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param totalCellStyle The cell styling options for the subtotal cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1ddea85e57ba16d56dc9dedcb607a571238bfd20458e77a03eceb8227e6b8d87") override fun totalCellStyle(totalCellStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = totalCellStyle(TableCellStyleProperty(totalCellStyle)) /** * @param totalsVisibility The visibility configuration for the subtotal cells. */ override fun totalsVisibility(totalsVisibility: String) { cdkBuilder.totalsVisibility(totalsVisibility) } /** * @param valueCellStyle The cell styling options for the subtotals of value cells. */ override fun valueCellStyle(valueCellStyle: IResolvable) { cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param valueCellStyle The cell styling options for the subtotals of value cells. */ override fun valueCellStyle(valueCellStyle: TableCellStyleProperty) { cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param valueCellStyle The cell styling options for the subtotals of value cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c48b383f8170052c39f03fbc22b15af8204a72936db4de82cf2ac10442a229c2") override fun valueCellStyle(valueCellStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = valueCellStyle(TableCellStyleProperty(valueCellStyle)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.SubtotalOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SubtotalOptionsProperty, ) : CdkObject(cdkObject), SubtotalOptionsProperty { /** * The custom label string for the subtotal cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-customlabel) */ override fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The field level (all, custom, last) for the subtotal cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-fieldlevel) */ override fun fieldLevel(): String? = unwrap(this).getFieldLevel() /** * The optional configuration of subtotal cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-fieldleveloptions) */ override fun fieldLevelOptions(): Any? = unwrap(this).getFieldLevelOptions() /** * The cell styling options for the subtotals of header cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-metricheadercellstyle) */ override fun metricHeaderCellStyle(): Any? = unwrap(this).getMetricHeaderCellStyle() /** * The style targets options for subtotals. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-styletargets) */ override fun styleTargets(): Any? = unwrap(this).getStyleTargets() /** * The cell styling options for the subtotal cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-totalcellstyle) */ override fun totalCellStyle(): Any? = unwrap(this).getTotalCellStyle() /** * The visibility configuration for the subtotal cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-totalsvisibility) */ override fun totalsVisibility(): String? = unwrap(this).getTotalsVisibility() /** * The cell styling options for the subtotals of value cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-subtotaloptions.html#cfn-quicksight-dashboard-subtotaloptions-valuecellstyle) */ override fun valueCellStyle(): Any? = unwrap(this).getValueCellStyle() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): SubtotalOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.SubtotalOptionsProperty): SubtotalOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? SubtotalOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: SubtotalOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.SubtotalOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.SubtotalOptionsProperty } } /** * The aggregated field well for the table. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableAggregatedFieldWellsProperty tableAggregatedFieldWellsProperty = * TableAggregatedFieldWellsProperty.builder() * .groupBy(List.of(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build())) * .values(List.of(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableaggregatedfieldwells.html) */ public interface TableAggregatedFieldWellsProperty { /** * The group by field well for a pivot table. * * Values are grouped by group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableaggregatedfieldwells.html#cfn-quicksight-dashboard-tableaggregatedfieldwells-groupby) */ public fun groupBy(): Any? = unwrap(this).getGroupBy() /** * The values field well for a pivot table. * * Values are aggregated based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableaggregatedfieldwells.html#cfn-quicksight-dashboard-tableaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [TableAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param groupBy The group by field well for a pivot table. * Values are grouped by group by fields. */ public fun groupBy(groupBy: IResolvable) /** * @param groupBy The group by field well for a pivot table. * Values are grouped by group by fields. */ public fun groupBy(groupBy: List) /** * @param groupBy The group by field well for a pivot table. * Values are grouped by group by fields. */ public fun groupBy(vararg groupBy: Any) /** * @param values The values field well for a pivot table. * Values are aggregated based on group by fields. */ public fun values(values: IResolvable) /** * @param values The values field well for a pivot table. * Values are aggregated based on group by fields. */ public fun values(values: List) /** * @param values The values field well for a pivot table. * Values are aggregated based on group by fields. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableAggregatedFieldWellsProperty.builder() /** * @param groupBy The group by field well for a pivot table. * Values are grouped by group by fields. */ override fun groupBy(groupBy: IResolvable) { cdkBuilder.groupBy(groupBy.let(IResolvable.Companion::unwrap)) } /** * @param groupBy The group by field well for a pivot table. * Values are grouped by group by fields. */ override fun groupBy(groupBy: List) { cdkBuilder.groupBy(groupBy.map{CdkObjectWrappers.unwrap(it)}) } /** * @param groupBy The group by field well for a pivot table. * Values are grouped by group by fields. */ override fun groupBy(vararg groupBy: Any): Unit = groupBy(groupBy.toList()) /** * @param values The values field well for a pivot table. * Values are aggregated based on group by fields. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The values field well for a pivot table. * Values are aggregated based on group by fields. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The values field well for a pivot table. * Values are aggregated based on group by fields. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), TableAggregatedFieldWellsProperty { /** * The group by field well for a pivot table. * * Values are grouped by group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableaggregatedfieldwells.html#cfn-quicksight-dashboard-tableaggregatedfieldwells-groupby) */ override fun groupBy(): Any? = unwrap(this).getGroupBy() /** * The values field well for a pivot table. * * Values are aggregated based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableaggregatedfieldwells.html#cfn-quicksight-dashboard-tableaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableAggregatedFieldWellsProperty): TableAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? TableAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableAggregatedFieldWellsProperty } } /** * The border options for a table border. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableBorderOptionsProperty tableBorderOptionsProperty = TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableborderoptions.html) */ public interface TableBorderOptionsProperty { /** * The color of a table border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableborderoptions.html#cfn-quicksight-dashboard-tableborderoptions-color) */ public fun color(): String? = unwrap(this).getColor() /** * The style (none, solid) of a table border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableborderoptions.html#cfn-quicksight-dashboard-tableborderoptions-style) */ public fun style(): String? = unwrap(this).getStyle() /** * The thickness of a table border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableborderoptions.html#cfn-quicksight-dashboard-tableborderoptions-thickness) */ public fun thickness(): Number? = unwrap(this).getThickness() /** * A builder for [TableBorderOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param color The color of a table border. */ public fun color(color: String) /** * @param style The style (none, solid) of a table border. */ public fun style(style: String) /** * @param thickness The thickness of a table border. */ public fun thickness(thickness: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableBorderOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableBorderOptionsProperty.builder() /** * @param color The color of a table border. */ override fun color(color: String) { cdkBuilder.color(color) } /** * @param style The style (none, solid) of a table border. */ override fun style(style: String) { cdkBuilder.style(style) } /** * @param thickness The thickness of a table border. */ override fun thickness(thickness: Number) { cdkBuilder.thickness(thickness) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableBorderOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableBorderOptionsProperty, ) : CdkObject(cdkObject), TableBorderOptionsProperty { /** * The color of a table border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableborderoptions.html#cfn-quicksight-dashboard-tableborderoptions-color) */ override fun color(): String? = unwrap(this).getColor() /** * The style (none, solid) of a table border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableborderoptions.html#cfn-quicksight-dashboard-tableborderoptions-style) */ override fun style(): String? = unwrap(this).getStyle() /** * The thickness of a table border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableborderoptions.html#cfn-quicksight-dashboard-tableborderoptions-thickness) */ override fun thickness(): Number? = unwrap(this).getThickness() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableBorderOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableBorderOptionsProperty): TableBorderOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? TableBorderOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableBorderOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableBorderOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableBorderOptionsProperty } } /** * The cell conditional formatting option for a table. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableCellConditionalFormattingProperty tableCellConditionalFormattingProperty = * TableCellConditionalFormattingProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .textFormat(TextConditionalFormatProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellconditionalformatting.html) */ public interface TableCellConditionalFormattingProperty { /** * The field ID of the cell for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellconditionalformatting.html#cfn-quicksight-dashboard-tablecellconditionalformatting-fieldid) */ public fun fieldId(): String /** * The text format of the cell for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellconditionalformatting.html#cfn-quicksight-dashboard-tablecellconditionalformatting-textformat) */ public fun textFormat(): Any? = unwrap(this).getTextFormat() /** * A builder for [TableCellConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldId The field ID of the cell for conditional formatting. */ public fun fieldId(fieldId: String) /** * @param textFormat The text format of the cell for conditional formatting. */ public fun textFormat(textFormat: IResolvable) /** * @param textFormat The text format of the cell for conditional formatting. */ public fun textFormat(textFormat: TextConditionalFormatProperty) /** * @param textFormat The text format of the cell for conditional formatting. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ccfbee30b7f284a68d1465a61928831dee11fb4d8177fd3138b7f0bc67d16c82") public fun textFormat(textFormat: TextConditionalFormatProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellConditionalFormattingProperty.builder() /** * @param fieldId The field ID of the cell for conditional formatting. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: IResolvable) { cdkBuilder.textFormat(textFormat.let(IResolvable.Companion::unwrap)) } /** * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: TextConditionalFormatProperty) { cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty.Companion::unwrap)) } /** * @param textFormat The text format of the cell for conditional formatting. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ccfbee30b7f284a68d1465a61928831dee11fb4d8177fd3138b7f0bc67d16c82") override fun textFormat(textFormat: TextConditionalFormatProperty.Builder.() -> Unit): Unit = textFormat(TextConditionalFormatProperty(textFormat)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellConditionalFormattingProperty, ) : CdkObject(cdkObject), TableCellConditionalFormattingProperty { /** * The field ID of the cell for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellconditionalformatting.html#cfn-quicksight-dashboard-tablecellconditionalformatting-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The text format of the cell for conditional formatting. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellconditionalformatting.html#cfn-quicksight-dashboard-tablecellconditionalformatting-textformat) */ override fun textFormat(): Any? = unwrap(this).getTextFormat() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableCellConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellConditionalFormattingProperty): TableCellConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? TableCellConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableCellConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellConditionalFormattingProperty } } /** * The sizing options for the table image configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableCellImageSizingConfigurationProperty tableCellImageSizingConfigurationProperty = * TableCellImageSizingConfigurationProperty.builder() * .tableCellImageScalingConfiguration("tableCellImageScalingConfiguration") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellimagesizingconfiguration.html) */ public interface TableCellImageSizingConfigurationProperty { /** * The cell scaling configuration of the sizing options for the table image configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellimagesizingconfiguration.html#cfn-quicksight-dashboard-tablecellimagesizingconfiguration-tablecellimagescalingconfiguration) */ public fun tableCellImageScalingConfiguration(): String? = unwrap(this).getTableCellImageScalingConfiguration() /** * A builder for [TableCellImageSizingConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param tableCellImageScalingConfiguration The cell scaling configuration of the sizing * options for the table image configuration. */ public fun tableCellImageScalingConfiguration(tableCellImageScalingConfiguration: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellImageSizingConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellImageSizingConfigurationProperty.builder() /** * @param tableCellImageScalingConfiguration The cell scaling configuration of the sizing * options for the table image configuration. */ override fun tableCellImageScalingConfiguration(tableCellImageScalingConfiguration: String) { cdkBuilder.tableCellImageScalingConfiguration(tableCellImageScalingConfiguration) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellImageSizingConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellImageSizingConfigurationProperty, ) : CdkObject(cdkObject), TableCellImageSizingConfigurationProperty { /** * The cell scaling configuration of the sizing options for the table image configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellimagesizingconfiguration.html#cfn-quicksight-dashboard-tablecellimagesizingconfiguration-tablecellimagescalingconfiguration) */ override fun tableCellImageScalingConfiguration(): String? = unwrap(this).getTableCellImageScalingConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableCellImageSizingConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellImageSizingConfigurationProperty): TableCellImageSizingConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? TableCellImageSizingConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableCellImageSizingConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellImageSizingConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellImageSizingConfigurationProperty } } /** * The table cell style for a cell in pivot table or table visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableCellStyleProperty tableCellStyleProperty = TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html) */ public interface TableCellStyleProperty { /** * The background color for the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-backgroundcolor) */ public fun backgroundColor(): String? = unwrap(this).getBackgroundColor() /** * The borders for the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-border) */ public fun border(): Any? = unwrap(this).getBorder() /** * The font configuration of the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-fontconfiguration) */ public fun fontConfiguration(): Any? = unwrap(this).getFontConfiguration() /** * The height color for the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-height) */ public fun height(): Number? = unwrap(this).getHeight() /** * The horizontal text alignment (left, center, right, auto) for the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-horizontaltextalignment) */ public fun horizontalTextAlignment(): String? = unwrap(this).getHorizontalTextAlignment() /** * The text wrap (none, wrap) for the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-textwrap) */ public fun textWrap(): String? = unwrap(this).getTextWrap() /** * The vertical text alignment (top, middle, bottom) for the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-verticaltextalignment) */ public fun verticalTextAlignment(): String? = unwrap(this).getVerticalTextAlignment() /** * The visibility of the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [TableCellStyleProperty] */ @CdkDslMarker public interface Builder { /** * @param backgroundColor The background color for the table cells. */ public fun backgroundColor(backgroundColor: String) /** * @param border The borders for the table cells. */ public fun border(border: IResolvable) /** * @param border The borders for the table cells. */ public fun border(border: GlobalTableBorderOptionsProperty) /** * @param border The borders for the table cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("20bc257756abb4bd720a7127aed3b126b618d13b77918234f7fcbb8ab9f43e3e") public fun border(border: GlobalTableBorderOptionsProperty.Builder.() -> Unit) /** * @param fontConfiguration The font configuration of the table cells. */ public fun fontConfiguration(fontConfiguration: IResolvable) /** * @param fontConfiguration The font configuration of the table cells. */ public fun fontConfiguration(fontConfiguration: FontConfigurationProperty) /** * @param fontConfiguration The font configuration of the table cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0ac6914e60111815c2049dbf5318bfcbfea838ca1be8935cdf056c787abea32e") public fun fontConfiguration(fontConfiguration: FontConfigurationProperty.Builder.() -> Unit) /** * @param height The height color for the table cells. */ public fun height(height: Number) /** * @param horizontalTextAlignment The horizontal text alignment (left, center, right, auto) * for the table cells. */ public fun horizontalTextAlignment(horizontalTextAlignment: String) /** * @param textWrap The text wrap (none, wrap) for the table cells. */ public fun textWrap(textWrap: String) /** * @param verticalTextAlignment The vertical text alignment (top, middle, bottom) for the * table cells. */ public fun verticalTextAlignment(verticalTextAlignment: String) /** * @param visibility The visibility of the table cells. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellStyleProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellStyleProperty.builder() /** * @param backgroundColor The background color for the table cells. */ override fun backgroundColor(backgroundColor: String) { cdkBuilder.backgroundColor(backgroundColor) } /** * @param border The borders for the table cells. */ override fun border(border: IResolvable) { cdkBuilder.border(border.let(IResolvable.Companion::unwrap)) } /** * @param border The borders for the table cells. */ override fun border(border: GlobalTableBorderOptionsProperty) { cdkBuilder.border(border.let(GlobalTableBorderOptionsProperty.Companion::unwrap)) } /** * @param border The borders for the table cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("20bc257756abb4bd720a7127aed3b126b618d13b77918234f7fcbb8ab9f43e3e") override fun border(border: GlobalTableBorderOptionsProperty.Builder.() -> Unit): Unit = border(GlobalTableBorderOptionsProperty(border)) /** * @param fontConfiguration The font configuration of the table cells. */ override fun fontConfiguration(fontConfiguration: IResolvable) { cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the table cells. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the table cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0ac6914e60111815c2049dbf5318bfcbfea838ca1be8935cdf056c787abea32e") override fun fontConfiguration(fontConfiguration: FontConfigurationProperty.Builder.() -> Unit): Unit = fontConfiguration(FontConfigurationProperty(fontConfiguration)) /** * @param height The height color for the table cells. */ override fun height(height: Number) { cdkBuilder.height(height) } /** * @param horizontalTextAlignment The horizontal text alignment (left, center, right, auto) * for the table cells. */ override fun horizontalTextAlignment(horizontalTextAlignment: String) { cdkBuilder.horizontalTextAlignment(horizontalTextAlignment) } /** * @param textWrap The text wrap (none, wrap) for the table cells. */ override fun textWrap(textWrap: String) { cdkBuilder.textWrap(textWrap) } /** * @param verticalTextAlignment The vertical text alignment (top, middle, bottom) for the * table cells. */ override fun verticalTextAlignment(verticalTextAlignment: String) { cdkBuilder.verticalTextAlignment(verticalTextAlignment) } /** * @param visibility The visibility of the table cells. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellStyleProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellStyleProperty, ) : CdkObject(cdkObject), TableCellStyleProperty { /** * The background color for the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-backgroundcolor) */ override fun backgroundColor(): String? = unwrap(this).getBackgroundColor() /** * The borders for the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-border) */ override fun border(): Any? = unwrap(this).getBorder() /** * The font configuration of the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-fontconfiguration) */ override fun fontConfiguration(): Any? = unwrap(this).getFontConfiguration() /** * The height color for the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-height) */ override fun height(): Number? = unwrap(this).getHeight() /** * The horizontal text alignment (left, center, right, auto) for the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-horizontaltextalignment) */ override fun horizontalTextAlignment(): String? = unwrap(this).getHorizontalTextAlignment() /** * The text wrap (none, wrap) for the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-textwrap) */ override fun textWrap(): String? = unwrap(this).getTextWrap() /** * The vertical text alignment (top, middle, bottom) for the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-verticaltextalignment) */ override fun verticalTextAlignment(): String? = unwrap(this).getVerticalTextAlignment() /** * The visibility of the table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablecellstyle.html#cfn-quicksight-dashboard-tablecellstyle-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableCellStyleProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellStyleProperty): TableCellStyleProperty = CdkObjectWrappers.wrap(cdkObject) as? TableCellStyleProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableCellStyleProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellStyleProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableCellStyleProperty } } /** * Conditional formatting options for a `PivotTableVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableConditionalFormattingOptionProperty tableConditionalFormattingOptionProperty = * TableConditionalFormattingOptionProperty.builder() * .cell(TableCellConditionalFormattingProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .textFormat(TextConditionalFormatProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build()) * .row(TableRowConditionalFormattingProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconditionalformattingoption.html) */ public interface TableConditionalFormattingOptionProperty { /** * The cell conditional formatting option for a table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconditionalformattingoption.html#cfn-quicksight-dashboard-tableconditionalformattingoption-cell) */ public fun cell(): Any? = unwrap(this).getCell() /** * The row conditional formatting option for a table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconditionalformattingoption.html#cfn-quicksight-dashboard-tableconditionalformattingoption-row) */ public fun row(): Any? = unwrap(this).getRow() /** * A builder for [TableConditionalFormattingOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param cell The cell conditional formatting option for a table. */ public fun cell(cell: IResolvable) /** * @param cell The cell conditional formatting option for a table. */ public fun cell(cell: TableCellConditionalFormattingProperty) /** * @param cell The cell conditional formatting option for a table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("506b2e2772db3191b74073dac3de2dbe42d4f76423df6bb3338697608d307c14") public fun cell(cell: TableCellConditionalFormattingProperty.Builder.() -> Unit) /** * @param row The row conditional formatting option for a table. */ public fun row(row: IResolvable) /** * @param row The row conditional formatting option for a table. */ public fun row(row: TableRowConditionalFormattingProperty) /** * @param row The row conditional formatting option for a table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("12a59cab856e938bedbe42e5b4ac890664a580bbacdf7f2983d9081db3af745c") public fun row(row: TableRowConditionalFormattingProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingOptionProperty.builder() /** * @param cell The cell conditional formatting option for a table. */ override fun cell(cell: IResolvable) { cdkBuilder.cell(cell.let(IResolvable.Companion::unwrap)) } /** * @param cell The cell conditional formatting option for a table. */ override fun cell(cell: TableCellConditionalFormattingProperty) { cdkBuilder.cell(cell.let(TableCellConditionalFormattingProperty.Companion::unwrap)) } /** * @param cell The cell conditional formatting option for a table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("506b2e2772db3191b74073dac3de2dbe42d4f76423df6bb3338697608d307c14") override fun cell(cell: TableCellConditionalFormattingProperty.Builder.() -> Unit): Unit = cell(TableCellConditionalFormattingProperty(cell)) /** * @param row The row conditional formatting option for a table. */ override fun row(row: IResolvable) { cdkBuilder.row(row.let(IResolvable.Companion::unwrap)) } /** * @param row The row conditional formatting option for a table. */ override fun row(row: TableRowConditionalFormattingProperty) { cdkBuilder.row(row.let(TableRowConditionalFormattingProperty.Companion::unwrap)) } /** * @param row The row conditional formatting option for a table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("12a59cab856e938bedbe42e5b4ac890664a580bbacdf7f2983d9081db3af745c") override fun row(row: TableRowConditionalFormattingProperty.Builder.() -> Unit): Unit = row(TableRowConditionalFormattingProperty(row)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingOptionProperty, ) : CdkObject(cdkObject), TableConditionalFormattingOptionProperty { /** * The cell conditional formatting option for a table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconditionalformattingoption.html#cfn-quicksight-dashboard-tableconditionalformattingoption-cell) */ override fun cell(): Any? = unwrap(this).getCell() /** * The row conditional formatting option for a table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconditionalformattingoption.html#cfn-quicksight-dashboard-tableconditionalformattingoption-row) */ override fun row(): Any? = unwrap(this).getRow() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableConditionalFormattingOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingOptionProperty): TableConditionalFormattingOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? TableConditionalFormattingOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableConditionalFormattingOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingOptionProperty } } /** * The conditional formatting for a `PivotTableVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableConditionalFormattingProperty tableConditionalFormattingProperty = * TableConditionalFormattingProperty.builder() * .conditionalFormattingOptions(List.of(TableConditionalFormattingOptionProperty.builder() * .cell(TableCellConditionalFormattingProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .textFormat(TextConditionalFormatProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build()) * .row(TableRowConditionalFormattingProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconditionalformatting.html) */ public interface TableConditionalFormattingProperty { /** * Conditional formatting options for a `PivotTableVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconditionalformatting.html#cfn-quicksight-dashboard-tableconditionalformatting-conditionalformattingoptions) */ public fun conditionalFormattingOptions(): Any? = unwrap(this).getConditionalFormattingOptions() /** * A builder for [TableConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param conditionalFormattingOptions Conditional formatting options for a `PivotTableVisual` * . */ public fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) /** * @param conditionalFormattingOptions Conditional formatting options for a `PivotTableVisual` * . */ public fun conditionalFormattingOptions(conditionalFormattingOptions: List) /** * @param conditionalFormattingOptions Conditional formatting options for a `PivotTableVisual` * . */ public fun conditionalFormattingOptions(vararg conditionalFormattingOptions: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingProperty.builder() /** * @param conditionalFormattingOptions Conditional formatting options for a `PivotTableVisual` * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormattingOptions Conditional formatting options for a `PivotTableVisual` * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: List) { cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param conditionalFormattingOptions Conditional formatting options for a `PivotTableVisual` * . */ override fun conditionalFormattingOptions(vararg conditionalFormattingOptions: Any): Unit = conditionalFormattingOptions(conditionalFormattingOptions.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingProperty, ) : CdkObject(cdkObject), TableConditionalFormattingProperty { /** * Conditional formatting options for a `PivotTableVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconditionalformatting.html#cfn-quicksight-dashboard-tableconditionalformatting-conditionalformattingoptions) */ override fun conditionalFormattingOptions(): Any? = unwrap(this).getConditionalFormattingOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingProperty): TableConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? TableConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableConditionalFormattingProperty } } /** * The configuration for a `TableVisual` . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html) */ public interface TableConfigurationProperty { /** * The field options for a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-fieldoptions) */ public fun fieldOptions(): Any? = unwrap(this).getFieldOptions() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The paginated report options for a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-paginatedreportoptions) */ public fun paginatedReportOptions(): Any? = unwrap(this).getPaginatedReportOptions() /** * The sort configuration for a `TableVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * A collection of inline visualizations to display within a chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-tableinlinevisualizations) */ public fun tableInlineVisualizations(): Any? = unwrap(this).getTableInlineVisualizations() /** * The table options for a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-tableoptions) */ public fun tableOptions(): Any? = unwrap(this).getTableOptions() /** * The total options for a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-totaloptions) */ public fun totalOptions(): Any? = unwrap(this).getTotalOptions() /** * A builder for [TableConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldOptions The field options for a table visual. */ public fun fieldOptions(fieldOptions: IResolvable) /** * @param fieldOptions The field options for a table visual. */ public fun fieldOptions(fieldOptions: TableFieldOptionsProperty) /** * @param fieldOptions The field options for a table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e831f5d8d712ff8fe904f929a77966cf9bc23e6f22f73882cfb67139f2e2dade") public fun fieldOptions(fieldOptions: TableFieldOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: TableFieldWellsProperty) /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a6e801a67fdb60783e047329c276290f1961b944323dfcb3f9a12e2b4d7b9818") public fun fieldWells(fieldWells: TableFieldWellsProperty.Builder.() -> Unit) /** * @param paginatedReportOptions The paginated report options for a table visual. */ public fun paginatedReportOptions(paginatedReportOptions: IResolvable) /** * @param paginatedReportOptions The paginated report options for a table visual. */ public fun paginatedReportOptions(paginatedReportOptions: TablePaginatedReportOptionsProperty) /** * @param paginatedReportOptions The paginated report options for a table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("24784c4d5c49968d1ac4800c4add5e7204fb5567360fe63d7b56b86d333e73e7") public fun paginatedReportOptions(paginatedReportOptions: TablePaginatedReportOptionsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration for a `TableVisual` . */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration for a `TableVisual` . */ public fun sortConfiguration(sortConfiguration: TableSortConfigurationProperty) /** * @param sortConfiguration The sort configuration for a `TableVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("00b476d5abfba9cf36a4f25e086e6cd22634e4f7365ff082abdfffe38f96fc54") public fun sortConfiguration(sortConfiguration: TableSortConfigurationProperty.Builder.() -> Unit) /** * @param tableInlineVisualizations A collection of inline visualizations to display within a * chart. */ public fun tableInlineVisualizations(tableInlineVisualizations: IResolvable) /** * @param tableInlineVisualizations A collection of inline visualizations to display within a * chart. */ public fun tableInlineVisualizations(tableInlineVisualizations: List) /** * @param tableInlineVisualizations A collection of inline visualizations to display within a * chart. */ public fun tableInlineVisualizations(vararg tableInlineVisualizations: Any) /** * @param tableOptions The table options for a table visual. */ public fun tableOptions(tableOptions: IResolvable) /** * @param tableOptions The table options for a table visual. */ public fun tableOptions(tableOptions: TableOptionsProperty) /** * @param tableOptions The table options for a table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2186df04c03fb13206924ffc43e9d9278760c92798f9ca5aacc2617e270c58cc") public fun tableOptions(tableOptions: TableOptionsProperty.Builder.() -> Unit) /** * @param totalOptions The total options for a table visual. */ public fun totalOptions(totalOptions: IResolvable) /** * @param totalOptions The total options for a table visual. */ public fun totalOptions(totalOptions: TotalOptionsProperty) /** * @param totalOptions The total options for a table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("20686d7917b9556593073a6481cde3ca619abbf13c41c3ca021b01fe46f0053e") public fun totalOptions(totalOptions: TotalOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableConfigurationProperty.builder() /** * @param fieldOptions The field options for a table visual. */ override fun fieldOptions(fieldOptions: IResolvable) { cdkBuilder.fieldOptions(fieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param fieldOptions The field options for a table visual. */ override fun fieldOptions(fieldOptions: TableFieldOptionsProperty) { cdkBuilder.fieldOptions(fieldOptions.let(TableFieldOptionsProperty.Companion::unwrap)) } /** * @param fieldOptions The field options for a table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e831f5d8d712ff8fe904f929a77966cf9bc23e6f22f73882cfb67139f2e2dade") override fun fieldOptions(fieldOptions: TableFieldOptionsProperty.Builder.() -> Unit): Unit = fieldOptions(TableFieldOptionsProperty(fieldOptions)) /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: TableFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(TableFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a6e801a67fdb60783e047329c276290f1961b944323dfcb3f9a12e2b4d7b9818") override fun fieldWells(fieldWells: TableFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(TableFieldWellsProperty(fieldWells)) /** * @param paginatedReportOptions The paginated report options for a table visual. */ override fun paginatedReportOptions(paginatedReportOptions: IResolvable) { cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable.Companion::unwrap)) } /** * @param paginatedReportOptions The paginated report options for a table visual. */ override fun paginatedReportOptions(paginatedReportOptions: TablePaginatedReportOptionsProperty) { cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(TablePaginatedReportOptionsProperty.Companion::unwrap)) } /** * @param paginatedReportOptions The paginated report options for a table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("24784c4d5c49968d1ac4800c4add5e7204fb5567360fe63d7b56b86d333e73e7") override fun paginatedReportOptions(paginatedReportOptions: TablePaginatedReportOptionsProperty.Builder.() -> Unit): Unit = paginatedReportOptions(TablePaginatedReportOptionsProperty(paginatedReportOptions)) /** * @param sortConfiguration The sort configuration for a `TableVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration for a `TableVisual` . */ override fun sortConfiguration(sortConfiguration: TableSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(TableSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration for a `TableVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("00b476d5abfba9cf36a4f25e086e6cd22634e4f7365ff082abdfffe38f96fc54") override fun sortConfiguration(sortConfiguration: TableSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(TableSortConfigurationProperty(sortConfiguration)) /** * @param tableInlineVisualizations A collection of inline visualizations to display within a * chart. */ override fun tableInlineVisualizations(tableInlineVisualizations: IResolvable) { cdkBuilder.tableInlineVisualizations(tableInlineVisualizations.let(IResolvable.Companion::unwrap)) } /** * @param tableInlineVisualizations A collection of inline visualizations to display within a * chart. */ override fun tableInlineVisualizations(tableInlineVisualizations: List) { cdkBuilder.tableInlineVisualizations(tableInlineVisualizations.map{CdkObjectWrappers.unwrap(it)}) } /** * @param tableInlineVisualizations A collection of inline visualizations to display within a * chart. */ override fun tableInlineVisualizations(vararg tableInlineVisualizations: Any): Unit = tableInlineVisualizations(tableInlineVisualizations.toList()) /** * @param tableOptions The table options for a table visual. */ override fun tableOptions(tableOptions: IResolvable) { cdkBuilder.tableOptions(tableOptions.let(IResolvable.Companion::unwrap)) } /** * @param tableOptions The table options for a table visual. */ override fun tableOptions(tableOptions: TableOptionsProperty) { cdkBuilder.tableOptions(tableOptions.let(TableOptionsProperty.Companion::unwrap)) } /** * @param tableOptions The table options for a table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2186df04c03fb13206924ffc43e9d9278760c92798f9ca5aacc2617e270c58cc") override fun tableOptions(tableOptions: TableOptionsProperty.Builder.() -> Unit): Unit = tableOptions(TableOptionsProperty(tableOptions)) /** * @param totalOptions The total options for a table visual. */ override fun totalOptions(totalOptions: IResolvable) { cdkBuilder.totalOptions(totalOptions.let(IResolvable.Companion::unwrap)) } /** * @param totalOptions The total options for a table visual. */ override fun totalOptions(totalOptions: TotalOptionsProperty) { cdkBuilder.totalOptions(totalOptions.let(TotalOptionsProperty.Companion::unwrap)) } /** * @param totalOptions The total options for a table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("20686d7917b9556593073a6481cde3ca619abbf13c41c3ca021b01fe46f0053e") override fun totalOptions(totalOptions: TotalOptionsProperty.Builder.() -> Unit): Unit = totalOptions(TotalOptionsProperty(totalOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableConfigurationProperty, ) : CdkObject(cdkObject), TableConfigurationProperty { /** * The field options for a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-fieldoptions) */ override fun fieldOptions(): Any? = unwrap(this).getFieldOptions() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The paginated report options for a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-paginatedreportoptions) */ override fun paginatedReportOptions(): Any? = unwrap(this).getPaginatedReportOptions() /** * The sort configuration for a `TableVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * A collection of inline visualizations to display within a chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-tableinlinevisualizations) */ override fun tableInlineVisualizations(): Any? = unwrap(this).getTableInlineVisualizations() /** * The table options for a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-tableoptions) */ override fun tableOptions(): Any? = unwrap(this).getTableOptions() /** * The total options for a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableconfiguration.html#cfn-quicksight-dashboard-tableconfiguration-totaloptions) */ override fun totalOptions(): Any? = unwrap(this).getTotalOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableConfigurationProperty): TableConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? TableConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableConfigurationProperty } } /** * The custom icon content for the table link content configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableFieldCustomIconContentProperty tableFieldCustomIconContentProperty = * TableFieldCustomIconContentProperty.builder() * .icon("icon") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldcustomiconcontent.html) */ public interface TableFieldCustomIconContentProperty { /** * The icon set type (link) of the custom icon content for table URL link content. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldcustomiconcontent.html#cfn-quicksight-dashboard-tablefieldcustomiconcontent-icon) */ public fun icon(): String? = unwrap(this).getIcon() /** * A builder for [TableFieldCustomIconContentProperty] */ @CdkDslMarker public interface Builder { /** * @param icon The icon set type (link) of the custom icon content for table URL link content. */ public fun icon(icon: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomIconContentProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomIconContentProperty.builder() /** * @param icon The icon set type (link) of the custom icon content for table URL link content. */ override fun icon(icon: String) { cdkBuilder.icon(icon) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomIconContentProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomIconContentProperty, ) : CdkObject(cdkObject), TableFieldCustomIconContentProperty { /** * The icon set type (link) of the custom icon content for table URL link content. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldcustomiconcontent.html#cfn-quicksight-dashboard-tablefieldcustomiconcontent-icon) */ override fun icon(): String? = unwrap(this).getIcon() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableFieldCustomIconContentProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomIconContentProperty): TableFieldCustomIconContentProperty = CdkObjectWrappers.wrap(cdkObject) as? TableFieldCustomIconContentProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableFieldCustomIconContentProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomIconContentProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomIconContentProperty } } /** * The custom text content (value, font configuration) for the table link content configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableFieldCustomTextContentProperty tableFieldCustomTextContentProperty = * TableFieldCustomTextContentProperty.builder() * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * // the properties below are optional * .value("value") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldcustomtextcontent.html) */ public interface TableFieldCustomTextContentProperty { /** * The font configuration of the custom text content for the table URL link content. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldcustomtextcontent.html#cfn-quicksight-dashboard-tablefieldcustomtextcontent-fontconfiguration) */ public fun fontConfiguration(): Any /** * The string value of the custom text content for the table URL link content. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldcustomtextcontent.html#cfn-quicksight-dashboard-tablefieldcustomtextcontent-value) */ public fun `value`(): String? = unwrap(this).getValue() /** * A builder for [TableFieldCustomTextContentProperty] */ @CdkDslMarker public interface Builder { /** * @param fontConfiguration The font configuration of the custom text content for the table * URL link content. */ public fun fontConfiguration(fontConfiguration: IResolvable) /** * @param fontConfiguration The font configuration of the custom text content for the table * URL link content. */ public fun fontConfiguration(fontConfiguration: FontConfigurationProperty) /** * @param fontConfiguration The font configuration of the custom text content for the table * URL link content. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d0c46cff97db7a351deeae6618755d2600815bd82e226de98a9f237485ccb611") public fun fontConfiguration(fontConfiguration: FontConfigurationProperty.Builder.() -> Unit) /** * @param value The string value of the custom text content for the table URL link content. */ public fun `value`(`value`: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomTextContentProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomTextContentProperty.builder() /** * @param fontConfiguration The font configuration of the custom text content for the table * URL link content. */ override fun fontConfiguration(fontConfiguration: IResolvable) { cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the custom text content for the table * URL link content. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the custom text content for the table * URL link content. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d0c46cff97db7a351deeae6618755d2600815bd82e226de98a9f237485ccb611") override fun fontConfiguration(fontConfiguration: FontConfigurationProperty.Builder.() -> Unit): Unit = fontConfiguration(FontConfigurationProperty(fontConfiguration)) /** * @param value The string value of the custom text content for the table URL link content. */ override fun `value`(`value`: String) { cdkBuilder.`value`(`value`) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomTextContentProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomTextContentProperty, ) : CdkObject(cdkObject), TableFieldCustomTextContentProperty { /** * The font configuration of the custom text content for the table URL link content. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldcustomtextcontent.html#cfn-quicksight-dashboard-tablefieldcustomtextcontent-fontconfiguration) */ override fun fontConfiguration(): Any = unwrap(this).getFontConfiguration() /** * The string value of the custom text content for the table URL link content. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldcustomtextcontent.html#cfn-quicksight-dashboard-tablefieldcustomtextcontent-value) */ override fun `value`(): String? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableFieldCustomTextContentProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomTextContentProperty): TableFieldCustomTextContentProperty = CdkObjectWrappers.wrap(cdkObject) as? TableFieldCustomTextContentProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableFieldCustomTextContentProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomTextContentProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldCustomTextContentProperty } } /** * The image configuration of a table field URL. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableFieldImageConfigurationProperty tableFieldImageConfigurationProperty = * TableFieldImageConfigurationProperty.builder() * .sizingOptions(TableCellImageSizingConfigurationProperty.builder() * .tableCellImageScalingConfiguration("tableCellImageScalingConfiguration") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldimageconfiguration.html) */ public interface TableFieldImageConfigurationProperty { /** * The sizing options for the table image configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldimageconfiguration.html#cfn-quicksight-dashboard-tablefieldimageconfiguration-sizingoptions) */ public fun sizingOptions(): Any? = unwrap(this).getSizingOptions() /** * A builder for [TableFieldImageConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param sizingOptions The sizing options for the table image configuration. */ public fun sizingOptions(sizingOptions: IResolvable) /** * @param sizingOptions The sizing options for the table image configuration. */ public fun sizingOptions(sizingOptions: TableCellImageSizingConfigurationProperty) /** * @param sizingOptions The sizing options for the table image configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("61834e808e1dbc601853457e3f7abfb92f67518bcad760b84881eb2013a5573e") public fun sizingOptions(sizingOptions: TableCellImageSizingConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldImageConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldImageConfigurationProperty.builder() /** * @param sizingOptions The sizing options for the table image configuration. */ override fun sizingOptions(sizingOptions: IResolvable) { cdkBuilder.sizingOptions(sizingOptions.let(IResolvable.Companion::unwrap)) } /** * @param sizingOptions The sizing options for the table image configuration. */ override fun sizingOptions(sizingOptions: TableCellImageSizingConfigurationProperty) { cdkBuilder.sizingOptions(sizingOptions.let(TableCellImageSizingConfigurationProperty.Companion::unwrap)) } /** * @param sizingOptions The sizing options for the table image configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("61834e808e1dbc601853457e3f7abfb92f67518bcad760b84881eb2013a5573e") override fun sizingOptions(sizingOptions: TableCellImageSizingConfigurationProperty.Builder.() -> Unit): Unit = sizingOptions(TableCellImageSizingConfigurationProperty(sizingOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldImageConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldImageConfigurationProperty, ) : CdkObject(cdkObject), TableFieldImageConfigurationProperty { /** * The sizing options for the table image configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldimageconfiguration.html#cfn-quicksight-dashboard-tablefieldimageconfiguration-sizingoptions) */ override fun sizingOptions(): Any? = unwrap(this).getSizingOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableFieldImageConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldImageConfigurationProperty): TableFieldImageConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? TableFieldImageConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableFieldImageConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldImageConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldImageConfigurationProperty } } /** * The link configuration of a table field URL. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableFieldLinkConfigurationProperty tableFieldLinkConfigurationProperty = * TableFieldLinkConfigurationProperty.builder() * .content(TableFieldLinkContentConfigurationProperty.builder() * .customIconContent(TableFieldCustomIconContentProperty.builder() * .icon("icon") * .build()) * .customTextContent(TableFieldCustomTextContentProperty.builder() * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * // the properties below are optional * .value("value") * .build()) * .build()) * .target("target") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldlinkconfiguration.html) */ public interface TableFieldLinkConfigurationProperty { /** * The URL content (text, icon) for the table link configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldlinkconfiguration.html#cfn-quicksight-dashboard-tablefieldlinkconfiguration-content) */ public fun content(): Any /** * The URL target (new tab, new window, same tab) for the table link configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldlinkconfiguration.html#cfn-quicksight-dashboard-tablefieldlinkconfiguration-target) */ public fun target(): String /** * A builder for [TableFieldLinkConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param content The URL content (text, icon) for the table link configuration. */ public fun content(content: IResolvable) /** * @param content The URL content (text, icon) for the table link configuration. */ public fun content(content: TableFieldLinkContentConfigurationProperty) /** * @param content The URL content (text, icon) for the table link configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8e31b1fab4100ce12a0d6fed0ea4a9f93cb8db3b43e5811eedf62d241531342d") public fun content(content: TableFieldLinkContentConfigurationProperty.Builder.() -> Unit) /** * @param target The URL target (new tab, new window, same tab) for the table link * configuration. */ public fun target(target: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkConfigurationProperty.builder() /** * @param content The URL content (text, icon) for the table link configuration. */ override fun content(content: IResolvable) { cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** * @param content The URL content (text, icon) for the table link configuration. */ override fun content(content: TableFieldLinkContentConfigurationProperty) { cdkBuilder.content(content.let(TableFieldLinkContentConfigurationProperty.Companion::unwrap)) } /** * @param content The URL content (text, icon) for the table link configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8e31b1fab4100ce12a0d6fed0ea4a9f93cb8db3b43e5811eedf62d241531342d") override fun content(content: TableFieldLinkContentConfigurationProperty.Builder.() -> Unit): Unit = content(TableFieldLinkContentConfigurationProperty(content)) /** * @param target The URL target (new tab, new window, same tab) for the table link * configuration. */ override fun target(target: String) { cdkBuilder.target(target) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkConfigurationProperty, ) : CdkObject(cdkObject), TableFieldLinkConfigurationProperty { /** * The URL content (text, icon) for the table link configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldlinkconfiguration.html#cfn-quicksight-dashboard-tablefieldlinkconfiguration-content) */ override fun content(): Any = unwrap(this).getContent() /** * The URL target (new tab, new window, same tab) for the table link configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldlinkconfiguration.html#cfn-quicksight-dashboard-tablefieldlinkconfiguration-target) */ override fun target(): String = unwrap(this).getTarget() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableFieldLinkConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkConfigurationProperty): TableFieldLinkConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? TableFieldLinkConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableFieldLinkConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkConfigurationProperty } } /** * The URL content (text, icon) for the table link configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableFieldLinkContentConfigurationProperty tableFieldLinkContentConfigurationProperty = * TableFieldLinkContentConfigurationProperty.builder() * .customIconContent(TableFieldCustomIconContentProperty.builder() * .icon("icon") * .build()) * .customTextContent(TableFieldCustomTextContentProperty.builder() * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * // the properties below are optional * .value("value") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldlinkcontentconfiguration.html) */ public interface TableFieldLinkContentConfigurationProperty { /** * The custom icon content for the table link content configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldlinkcontentconfiguration.html#cfn-quicksight-dashboard-tablefieldlinkcontentconfiguration-customiconcontent) */ public fun customIconContent(): Any? = unwrap(this).getCustomIconContent() /** * The custom text content (value, font configuration) for the table link content configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldlinkcontentconfiguration.html#cfn-quicksight-dashboard-tablefieldlinkcontentconfiguration-customtextcontent) */ public fun customTextContent(): Any? = unwrap(this).getCustomTextContent() /** * A builder for [TableFieldLinkContentConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param customIconContent The custom icon content for the table link content configuration. */ public fun customIconContent(customIconContent: IResolvable) /** * @param customIconContent The custom icon content for the table link content configuration. */ public fun customIconContent(customIconContent: TableFieldCustomIconContentProperty) /** * @param customIconContent The custom icon content for the table link content configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ec05bd338ea0e9225a4311e2e6e8b49c5bb34077121c59b30e8bd64748b4524a") public fun customIconContent(customIconContent: TableFieldCustomIconContentProperty.Builder.() -> Unit) /** * @param customTextContent The custom text content (value, font configuration) for the table * link content configuration. */ public fun customTextContent(customTextContent: IResolvable) /** * @param customTextContent The custom text content (value, font configuration) for the table * link content configuration. */ public fun customTextContent(customTextContent: TableFieldCustomTextContentProperty) /** * @param customTextContent The custom text content (value, font configuration) for the table * link content configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5800527de19ead80f59200feeccbfda6a205ee610b1798c4de7b56b4344bede0") public fun customTextContent(customTextContent: TableFieldCustomTextContentProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkContentConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkContentConfigurationProperty.builder() /** * @param customIconContent The custom icon content for the table link content configuration. */ override fun customIconContent(customIconContent: IResolvable) { cdkBuilder.customIconContent(customIconContent.let(IResolvable.Companion::unwrap)) } /** * @param customIconContent The custom icon content for the table link content configuration. */ override fun customIconContent(customIconContent: TableFieldCustomIconContentProperty) { cdkBuilder.customIconContent(customIconContent.let(TableFieldCustomIconContentProperty.Companion::unwrap)) } /** * @param customIconContent The custom icon content for the table link content configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ec05bd338ea0e9225a4311e2e6e8b49c5bb34077121c59b30e8bd64748b4524a") override fun customIconContent(customIconContent: TableFieldCustomIconContentProperty.Builder.() -> Unit): Unit = customIconContent(TableFieldCustomIconContentProperty(customIconContent)) /** * @param customTextContent The custom text content (value, font configuration) for the table * link content configuration. */ override fun customTextContent(customTextContent: IResolvable) { cdkBuilder.customTextContent(customTextContent.let(IResolvable.Companion::unwrap)) } /** * @param customTextContent The custom text content (value, font configuration) for the table * link content configuration. */ override fun customTextContent(customTextContent: TableFieldCustomTextContentProperty) { cdkBuilder.customTextContent(customTextContent.let(TableFieldCustomTextContentProperty.Companion::unwrap)) } /** * @param customTextContent The custom text content (value, font configuration) for the table * link content configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5800527de19ead80f59200feeccbfda6a205ee610b1798c4de7b56b4344bede0") override fun customTextContent(customTextContent: TableFieldCustomTextContentProperty.Builder.() -> Unit): Unit = customTextContent(TableFieldCustomTextContentProperty(customTextContent)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkContentConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkContentConfigurationProperty, ) : CdkObject(cdkObject), TableFieldLinkContentConfigurationProperty { /** * The custom icon content for the table link content configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldlinkcontentconfiguration.html#cfn-quicksight-dashboard-tablefieldlinkcontentconfiguration-customiconcontent) */ override fun customIconContent(): Any? = unwrap(this).getCustomIconContent() /** * The custom text content (value, font configuration) for the table link content * configuration. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldlinkcontentconfiguration.html#cfn-quicksight-dashboard-tablefieldlinkcontentconfiguration-customtextcontent) */ override fun customTextContent(): Any? = unwrap(this).getCustomTextContent() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableFieldLinkContentConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkContentConfigurationProperty): TableFieldLinkContentConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? TableFieldLinkContentConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableFieldLinkContentConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkContentConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldLinkContentConfigurationProperty } } /** * The options for a table field. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableFieldOptionProperty tableFieldOptionProperty = TableFieldOptionProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .customLabel("customLabel") * .urlStyling(TableFieldURLConfigurationProperty.builder() * .imageConfiguration(TableFieldImageConfigurationProperty.builder() * .sizingOptions(TableCellImageSizingConfigurationProperty.builder() * .tableCellImageScalingConfiguration("tableCellImageScalingConfiguration") * .build()) * .build()) * .linkConfiguration(TableFieldLinkConfigurationProperty.builder() * .content(TableFieldLinkContentConfigurationProperty.builder() * .customIconContent(TableFieldCustomIconContentProperty.builder() * .icon("icon") * .build()) * .customTextContent(TableFieldCustomTextContentProperty.builder() * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * // the properties below are optional * .value("value") * .build()) * .build()) * .target("target") * .build()) * .build()) * .visibility("visibility") * .width("width") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoption.html) */ public interface TableFieldOptionProperty { /** * The custom label for a table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoption.html#cfn-quicksight-dashboard-tablefieldoption-customlabel) */ public fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The field ID for a table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoption.html#cfn-quicksight-dashboard-tablefieldoption-fieldid) */ public fun fieldId(): String /** * The URL configuration for a table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoption.html#cfn-quicksight-dashboard-tablefieldoption-urlstyling) */ public fun urlStyling(): Any? = unwrap(this).getUrlStyling() /** * The visibility of a table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoption.html#cfn-quicksight-dashboard-tablefieldoption-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * The width for a table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoption.html#cfn-quicksight-dashboard-tablefieldoption-width) */ public fun width(): String? = unwrap(this).getWidth() /** * A builder for [TableFieldOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param customLabel The custom label for a table field. */ public fun customLabel(customLabel: String) /** * @param fieldId The field ID for a table field. */ public fun fieldId(fieldId: String) /** * @param urlStyling The URL configuration for a table field. */ public fun urlStyling(urlStyling: IResolvable) /** * @param urlStyling The URL configuration for a table field. */ public fun urlStyling(urlStyling: TableFieldURLConfigurationProperty) /** * @param urlStyling The URL configuration for a table field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("73bb88ef6ca635d4fc17d922248c5bb11f8daec524db3d5a4ded3111e6ab18cc") public fun urlStyling(urlStyling: TableFieldURLConfigurationProperty.Builder.() -> Unit) /** * @param visibility The visibility of a table field. */ public fun visibility(visibility: String) /** * @param width The width for a table field. */ public fun width(width: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionProperty.builder() /** * @param customLabel The custom label for a table field. */ override fun customLabel(customLabel: String) { cdkBuilder.customLabel(customLabel) } /** * @param fieldId The field ID for a table field. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param urlStyling The URL configuration for a table field. */ override fun urlStyling(urlStyling: IResolvable) { cdkBuilder.urlStyling(urlStyling.let(IResolvable.Companion::unwrap)) } /** * @param urlStyling The URL configuration for a table field. */ override fun urlStyling(urlStyling: TableFieldURLConfigurationProperty) { cdkBuilder.urlStyling(urlStyling.let(TableFieldURLConfigurationProperty.Companion::unwrap)) } /** * @param urlStyling The URL configuration for a table field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("73bb88ef6ca635d4fc17d922248c5bb11f8daec524db3d5a4ded3111e6ab18cc") override fun urlStyling(urlStyling: TableFieldURLConfigurationProperty.Builder.() -> Unit): Unit = urlStyling(TableFieldURLConfigurationProperty(urlStyling)) /** * @param visibility The visibility of a table field. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } /** * @param width The width for a table field. */ override fun width(width: String) { cdkBuilder.width(width) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionProperty, ) : CdkObject(cdkObject), TableFieldOptionProperty { /** * The custom label for a table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoption.html#cfn-quicksight-dashboard-tablefieldoption-customlabel) */ override fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The field ID for a table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoption.html#cfn-quicksight-dashboard-tablefieldoption-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The URL configuration for a table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoption.html#cfn-quicksight-dashboard-tablefieldoption-urlstyling) */ override fun urlStyling(): Any? = unwrap(this).getUrlStyling() /** * The visibility of a table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoption.html#cfn-quicksight-dashboard-tablefieldoption-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() /** * The width for a table field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoption.html#cfn-quicksight-dashboard-tablefieldoption-width) */ override fun width(): String? = unwrap(this).getWidth() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableFieldOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionProperty): TableFieldOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? TableFieldOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableFieldOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionProperty } } /** * The field options of a table visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableFieldOptionsProperty tableFieldOptionsProperty = TableFieldOptionsProperty.builder() * .order(List.of("order")) * .pinnedFieldOptions(TablePinnedFieldOptionsProperty.builder() * .pinnedLeftFields(List.of("pinnedLeftFields")) * .build()) * .selectedFieldOptions(List.of(TableFieldOptionProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .customLabel("customLabel") * .urlStyling(TableFieldURLConfigurationProperty.builder() * .imageConfiguration(TableFieldImageConfigurationProperty.builder() * .sizingOptions(TableCellImageSizingConfigurationProperty.builder() * .tableCellImageScalingConfiguration("tableCellImageScalingConfiguration") * .build()) * .build()) * .linkConfiguration(TableFieldLinkConfigurationProperty.builder() * .content(TableFieldLinkContentConfigurationProperty.builder() * .customIconContent(TableFieldCustomIconContentProperty.builder() * .icon("icon") * .build()) * .customTextContent(TableFieldCustomTextContentProperty.builder() * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * // the properties below are optional * .value("value") * .build()) * .build()) * .target("target") * .build()) * .build()) * .visibility("visibility") * .width("width") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoptions.html) */ public interface TableFieldOptionsProperty { /** * The order of the field IDs that are configured as field options for a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoptions.html#cfn-quicksight-dashboard-tablefieldoptions-order) */ public fun order(): List = unwrap(this).getOrder() ?: emptyList() /** * The settings for the pinned columns of a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoptions.html#cfn-quicksight-dashboard-tablefieldoptions-pinnedfieldoptions) */ public fun pinnedFieldOptions(): Any? = unwrap(this).getPinnedFieldOptions() /** * The field options to be configured to a table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoptions.html#cfn-quicksight-dashboard-tablefieldoptions-selectedfieldoptions) */ public fun selectedFieldOptions(): Any? = unwrap(this).getSelectedFieldOptions() /** * A builder for [TableFieldOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param order The order of the field IDs that are configured as field options for a table * visual. */ public fun order(order: List) /** * @param order The order of the field IDs that are configured as field options for a table * visual. */ public fun order(vararg order: String) /** * @param pinnedFieldOptions The settings for the pinned columns of a table visual. */ public fun pinnedFieldOptions(pinnedFieldOptions: IResolvable) /** * @param pinnedFieldOptions The settings for the pinned columns of a table visual. */ public fun pinnedFieldOptions(pinnedFieldOptions: TablePinnedFieldOptionsProperty) /** * @param pinnedFieldOptions The settings for the pinned columns of a table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("96a6184ac29717194094119abb76b80cb4ddbbb29dc3dac785a2727aeb2df66b") public fun pinnedFieldOptions(pinnedFieldOptions: TablePinnedFieldOptionsProperty.Builder.() -> Unit) /** * @param selectedFieldOptions The field options to be configured to a table. */ public fun selectedFieldOptions(selectedFieldOptions: IResolvable) /** * @param selectedFieldOptions The field options to be configured to a table. */ public fun selectedFieldOptions(selectedFieldOptions: List) /** * @param selectedFieldOptions The field options to be configured to a table. */ public fun selectedFieldOptions(vararg selectedFieldOptions: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionsProperty.builder() /** * @param order The order of the field IDs that are configured as field options for a table * visual. */ override fun order(order: List) { cdkBuilder.order(order) } /** * @param order The order of the field IDs that are configured as field options for a table * visual. */ override fun order(vararg order: String): Unit = order(order.toList()) /** * @param pinnedFieldOptions The settings for the pinned columns of a table visual. */ override fun pinnedFieldOptions(pinnedFieldOptions: IResolvable) { cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param pinnedFieldOptions The settings for the pinned columns of a table visual. */ override fun pinnedFieldOptions(pinnedFieldOptions: TablePinnedFieldOptionsProperty) { cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(TablePinnedFieldOptionsProperty.Companion::unwrap)) } /** * @param pinnedFieldOptions The settings for the pinned columns of a table visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("96a6184ac29717194094119abb76b80cb4ddbbb29dc3dac785a2727aeb2df66b") override fun pinnedFieldOptions(pinnedFieldOptions: TablePinnedFieldOptionsProperty.Builder.() -> Unit): Unit = pinnedFieldOptions(TablePinnedFieldOptionsProperty(pinnedFieldOptions)) /** * @param selectedFieldOptions The field options to be configured to a table. */ override fun selectedFieldOptions(selectedFieldOptions: IResolvable) { cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param selectedFieldOptions The field options to be configured to a table. */ override fun selectedFieldOptions(selectedFieldOptions: List) { cdkBuilder.selectedFieldOptions(selectedFieldOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param selectedFieldOptions The field options to be configured to a table. */ override fun selectedFieldOptions(vararg selectedFieldOptions: Any): Unit = selectedFieldOptions(selectedFieldOptions.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionsProperty, ) : CdkObject(cdkObject), TableFieldOptionsProperty { /** * The order of the field IDs that are configured as field options for a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoptions.html#cfn-quicksight-dashboard-tablefieldoptions-order) */ override fun order(): List = unwrap(this).getOrder() ?: emptyList() /** * The settings for the pinned columns of a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoptions.html#cfn-quicksight-dashboard-tablefieldoptions-pinnedfieldoptions) */ override fun pinnedFieldOptions(): Any? = unwrap(this).getPinnedFieldOptions() /** * The field options to be configured to a table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldoptions.html#cfn-quicksight-dashboard-tablefieldoptions-selectedfieldoptions) */ override fun selectedFieldOptions(): Any? = unwrap(this).getSelectedFieldOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableFieldOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionsProperty): TableFieldOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? TableFieldOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableFieldOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldOptionsProperty } } /** * The URL configuration for a table field. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableFieldURLConfigurationProperty tableFieldURLConfigurationProperty = * TableFieldURLConfigurationProperty.builder() * .imageConfiguration(TableFieldImageConfigurationProperty.builder() * .sizingOptions(TableCellImageSizingConfigurationProperty.builder() * .tableCellImageScalingConfiguration("tableCellImageScalingConfiguration") * .build()) * .build()) * .linkConfiguration(TableFieldLinkConfigurationProperty.builder() * .content(TableFieldLinkContentConfigurationProperty.builder() * .customIconContent(TableFieldCustomIconContentProperty.builder() * .icon("icon") * .build()) * .customTextContent(TableFieldCustomTextContentProperty.builder() * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * // the properties below are optional * .value("value") * .build()) * .build()) * .target("target") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldurlconfiguration.html) */ public interface TableFieldURLConfigurationProperty { /** * The image configuration of a table field URL. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldurlconfiguration.html#cfn-quicksight-dashboard-tablefieldurlconfiguration-imageconfiguration) */ public fun imageConfiguration(): Any? = unwrap(this).getImageConfiguration() /** * The link configuration of a table field URL. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldurlconfiguration.html#cfn-quicksight-dashboard-tablefieldurlconfiguration-linkconfiguration) */ public fun linkConfiguration(): Any? = unwrap(this).getLinkConfiguration() /** * A builder for [TableFieldURLConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param imageConfiguration The image configuration of a table field URL. */ public fun imageConfiguration(imageConfiguration: IResolvable) /** * @param imageConfiguration The image configuration of a table field URL. */ public fun imageConfiguration(imageConfiguration: TableFieldImageConfigurationProperty) /** * @param imageConfiguration The image configuration of a table field URL. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("465f5aceef899b5a52b55a7cbcc6ba1d74315cf264fe029e7919d5619329ae78") public fun imageConfiguration(imageConfiguration: TableFieldImageConfigurationProperty.Builder.() -> Unit) /** * @param linkConfiguration The link configuration of a table field URL. */ public fun linkConfiguration(linkConfiguration: IResolvable) /** * @param linkConfiguration The link configuration of a table field URL. */ public fun linkConfiguration(linkConfiguration: TableFieldLinkConfigurationProperty) /** * @param linkConfiguration The link configuration of a table field URL. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("83338072c09d7660df7996a6f6ab45a4204e2fd41ce369d35f026da782252a7f") public fun linkConfiguration(linkConfiguration: TableFieldLinkConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldURLConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldURLConfigurationProperty.builder() /** * @param imageConfiguration The image configuration of a table field URL. */ override fun imageConfiguration(imageConfiguration: IResolvable) { cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param imageConfiguration The image configuration of a table field URL. */ override fun imageConfiguration(imageConfiguration: TableFieldImageConfigurationProperty) { cdkBuilder.imageConfiguration(imageConfiguration.let(TableFieldImageConfigurationProperty.Companion::unwrap)) } /** * @param imageConfiguration The image configuration of a table field URL. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("465f5aceef899b5a52b55a7cbcc6ba1d74315cf264fe029e7919d5619329ae78") override fun imageConfiguration(imageConfiguration: TableFieldImageConfigurationProperty.Builder.() -> Unit): Unit = imageConfiguration(TableFieldImageConfigurationProperty(imageConfiguration)) /** * @param linkConfiguration The link configuration of a table field URL. */ override fun linkConfiguration(linkConfiguration: IResolvable) { cdkBuilder.linkConfiguration(linkConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param linkConfiguration The link configuration of a table field URL. */ override fun linkConfiguration(linkConfiguration: TableFieldLinkConfigurationProperty) { cdkBuilder.linkConfiguration(linkConfiguration.let(TableFieldLinkConfigurationProperty.Companion::unwrap)) } /** * @param linkConfiguration The link configuration of a table field URL. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("83338072c09d7660df7996a6f6ab45a4204e2fd41ce369d35f026da782252a7f") override fun linkConfiguration(linkConfiguration: TableFieldLinkConfigurationProperty.Builder.() -> Unit): Unit = linkConfiguration(TableFieldLinkConfigurationProperty(linkConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldURLConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldURLConfigurationProperty, ) : CdkObject(cdkObject), TableFieldURLConfigurationProperty { /** * The image configuration of a table field URL. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldurlconfiguration.html#cfn-quicksight-dashboard-tablefieldurlconfiguration-imageconfiguration) */ override fun imageConfiguration(): Any? = unwrap(this).getImageConfiguration() /** * The link configuration of a table field URL. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldurlconfiguration.html#cfn-quicksight-dashboard-tablefieldurlconfiguration-linkconfiguration) */ override fun linkConfiguration(): Any? = unwrap(this).getLinkConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableFieldURLConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldURLConfigurationProperty): TableFieldURLConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? TableFieldURLConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableFieldURLConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldURLConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldURLConfigurationProperty } } /** * The field wells for a table visual. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldwells.html) */ public interface TableFieldWellsProperty { /** * The aggregated field well for the table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldwells.html#cfn-quicksight-dashboard-tablefieldwells-tableaggregatedfieldwells) */ public fun tableAggregatedFieldWells(): Any? = unwrap(this).getTableAggregatedFieldWells() /** * The unaggregated field well for the table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldwells.html#cfn-quicksight-dashboard-tablefieldwells-tableunaggregatedfieldwells) */ public fun tableUnaggregatedFieldWells(): Any? = unwrap(this).getTableUnaggregatedFieldWells() /** * A builder for [TableFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param tableAggregatedFieldWells The aggregated field well for the table. */ public fun tableAggregatedFieldWells(tableAggregatedFieldWells: IResolvable) /** * @param tableAggregatedFieldWells The aggregated field well for the table. */ public fun tableAggregatedFieldWells(tableAggregatedFieldWells: TableAggregatedFieldWellsProperty) /** * @param tableAggregatedFieldWells The aggregated field well for the table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f16dcdd50b441cf4e7b069597f7256b34bda15a1834c6cb32957bd8bb1229f7b") public fun tableAggregatedFieldWells(tableAggregatedFieldWells: TableAggregatedFieldWellsProperty.Builder.() -> Unit) /** * @param tableUnaggregatedFieldWells The unaggregated field well for the table. */ public fun tableUnaggregatedFieldWells(tableUnaggregatedFieldWells: IResolvable) /** * @param tableUnaggregatedFieldWells The unaggregated field well for the table. */ public fun tableUnaggregatedFieldWells(tableUnaggregatedFieldWells: TableUnaggregatedFieldWellsProperty) /** * @param tableUnaggregatedFieldWells The unaggregated field well for the table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aa639da2acac7bb65822137ad45facae936cbbee6bd0d0cc8830b0b12bfee26e") public fun tableUnaggregatedFieldWells(tableUnaggregatedFieldWells: TableUnaggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldWellsProperty.builder() /** * @param tableAggregatedFieldWells The aggregated field well for the table. */ override fun tableAggregatedFieldWells(tableAggregatedFieldWells: IResolvable) { cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param tableAggregatedFieldWells The aggregated field well for the table. */ override fun tableAggregatedFieldWells(tableAggregatedFieldWells: TableAggregatedFieldWellsProperty) { cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(TableAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param tableAggregatedFieldWells The aggregated field well for the table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f16dcdd50b441cf4e7b069597f7256b34bda15a1834c6cb32957bd8bb1229f7b") override fun tableAggregatedFieldWells(tableAggregatedFieldWells: TableAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = tableAggregatedFieldWells(TableAggregatedFieldWellsProperty(tableAggregatedFieldWells)) /** * @param tableUnaggregatedFieldWells The unaggregated field well for the table. */ override fun tableUnaggregatedFieldWells(tableUnaggregatedFieldWells: IResolvable) { cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param tableUnaggregatedFieldWells The unaggregated field well for the table. */ override fun tableUnaggregatedFieldWells(tableUnaggregatedFieldWells: TableUnaggregatedFieldWellsProperty) { cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(TableUnaggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param tableUnaggregatedFieldWells The unaggregated field well for the table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aa639da2acac7bb65822137ad45facae936cbbee6bd0d0cc8830b0b12bfee26e") override fun tableUnaggregatedFieldWells(tableUnaggregatedFieldWells: TableUnaggregatedFieldWellsProperty.Builder.() -> Unit): Unit = tableUnaggregatedFieldWells(TableUnaggregatedFieldWellsProperty(tableUnaggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldWellsProperty, ) : CdkObject(cdkObject), TableFieldWellsProperty { /** * The aggregated field well for the table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldwells.html#cfn-quicksight-dashboard-tablefieldwells-tableaggregatedfieldwells) */ override fun tableAggregatedFieldWells(): Any? = unwrap(this).getTableAggregatedFieldWells() /** * The unaggregated field well for the table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablefieldwells.html#cfn-quicksight-dashboard-tablefieldwells-tableunaggregatedfieldwells) */ override fun tableUnaggregatedFieldWells(): Any? = unwrap(this).getTableUnaggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldWellsProperty): TableFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? TableFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableFieldWellsProperty } } /** * The inline visualization of a specific type to display within a chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableInlineVisualizationProperty tableInlineVisualizationProperty = * TableInlineVisualizationProperty.builder() * .dataBars(DataBarsOptionsProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .negativeColor("negativeColor") * .positiveColor("positiveColor") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableinlinevisualization.html) */ public interface TableInlineVisualizationProperty { /** * The configuration of the inline visualization of the data bars within a chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableinlinevisualization.html#cfn-quicksight-dashboard-tableinlinevisualization-databars) */ public fun dataBars(): Any? = unwrap(this).getDataBars() /** * A builder for [TableInlineVisualizationProperty] */ @CdkDslMarker public interface Builder { /** * @param dataBars The configuration of the inline visualization of the data bars within a * chart. */ public fun dataBars(dataBars: IResolvable) /** * @param dataBars The configuration of the inline visualization of the data bars within a * chart. */ public fun dataBars(dataBars: DataBarsOptionsProperty) /** * @param dataBars The configuration of the inline visualization of the data bars within a * chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("36cd13774ee841b190a8cad0b48d3ceb97c4dfcf1ca98ccab2c5bcb6e23311c9") public fun dataBars(dataBars: DataBarsOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableInlineVisualizationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableInlineVisualizationProperty.builder() /** * @param dataBars The configuration of the inline visualization of the data bars within a * chart. */ override fun dataBars(dataBars: IResolvable) { cdkBuilder.dataBars(dataBars.let(IResolvable.Companion::unwrap)) } /** * @param dataBars The configuration of the inline visualization of the data bars within a * chart. */ override fun dataBars(dataBars: DataBarsOptionsProperty) { cdkBuilder.dataBars(dataBars.let(DataBarsOptionsProperty.Companion::unwrap)) } /** * @param dataBars The configuration of the inline visualization of the data bars within a * chart. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("36cd13774ee841b190a8cad0b48d3ceb97c4dfcf1ca98ccab2c5bcb6e23311c9") override fun dataBars(dataBars: DataBarsOptionsProperty.Builder.() -> Unit): Unit = dataBars(DataBarsOptionsProperty(dataBars)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableInlineVisualizationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableInlineVisualizationProperty, ) : CdkObject(cdkObject), TableInlineVisualizationProperty { /** * The configuration of the inline visualization of the data bars within a chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableinlinevisualization.html#cfn-quicksight-dashboard-tableinlinevisualization-databars) */ override fun dataBars(): Any? = unwrap(this).getDataBars() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableInlineVisualizationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableInlineVisualizationProperty): TableInlineVisualizationProperty = CdkObjectWrappers.wrap(cdkObject) as? TableInlineVisualizationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableInlineVisualizationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableInlineVisualizationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableInlineVisualizationProperty } } /** * The table options for a table visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableOptionsProperty tableOptionsProperty = TableOptionsProperty.builder() * .cellStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .headerStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .orientation("orientation") * .rowAlternateColorOptions(RowAlternateColorOptionsProperty.builder() * .rowAlternateColors(List.of("rowAlternateColors")) * .status("status") * .usePrimaryBackgroundColor("usePrimaryBackgroundColor") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableoptions.html) */ public interface TableOptionsProperty { /** * The table cell style of table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableoptions.html#cfn-quicksight-dashboard-tableoptions-cellstyle) */ public fun cellStyle(): Any? = unwrap(this).getCellStyle() /** * The table cell style of a table header. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableoptions.html#cfn-quicksight-dashboard-tableoptions-headerstyle) */ public fun headerStyle(): Any? = unwrap(this).getHeaderStyle() /** * The orientation (vertical, horizontal) for a table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableoptions.html#cfn-quicksight-dashboard-tableoptions-orientation) */ public fun orientation(): String? = unwrap(this).getOrientation() /** * The row alternate color options (widget status, row alternate colors) for a table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableoptions.html#cfn-quicksight-dashboard-tableoptions-rowalternatecoloroptions) */ public fun rowAlternateColorOptions(): Any? = unwrap(this).getRowAlternateColorOptions() /** * A builder for [TableOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param cellStyle The table cell style of table cells. */ public fun cellStyle(cellStyle: IResolvable) /** * @param cellStyle The table cell style of table cells. */ public fun cellStyle(cellStyle: TableCellStyleProperty) /** * @param cellStyle The table cell style of table cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("57c427b1412ac64d18f96cce7058de7a04910d29c54fb4be3a81a83f52e5e287") public fun cellStyle(cellStyle: TableCellStyleProperty.Builder.() -> Unit) /** * @param headerStyle The table cell style of a table header. */ public fun headerStyle(headerStyle: IResolvable) /** * @param headerStyle The table cell style of a table header. */ public fun headerStyle(headerStyle: TableCellStyleProperty) /** * @param headerStyle The table cell style of a table header. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("15c758e773f2f073bd0d01bb3d3b549a307f0558062a97185c619168ebe94bb3") public fun headerStyle(headerStyle: TableCellStyleProperty.Builder.() -> Unit) /** * @param orientation The orientation (vertical, horizontal) for a table. */ public fun orientation(orientation: String) /** * @param rowAlternateColorOptions The row alternate color options (widget status, row * alternate colors) for a table. */ public fun rowAlternateColorOptions(rowAlternateColorOptions: IResolvable) /** * @param rowAlternateColorOptions The row alternate color options (widget status, row * alternate colors) for a table. */ public fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty) /** * @param rowAlternateColorOptions The row alternate color options (widget status, row * alternate colors) for a table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("11d5736d847ae5be6d0c50cb2c8e78ddacec9f229fe6d6fe891015a88a19d941") public fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableOptionsProperty.builder() /** * @param cellStyle The table cell style of table cells. */ override fun cellStyle(cellStyle: IResolvable) { cdkBuilder.cellStyle(cellStyle.let(IResolvable.Companion::unwrap)) } /** * @param cellStyle The table cell style of table cells. */ override fun cellStyle(cellStyle: TableCellStyleProperty) { cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param cellStyle The table cell style of table cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("57c427b1412ac64d18f96cce7058de7a04910d29c54fb4be3a81a83f52e5e287") override fun cellStyle(cellStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = cellStyle(TableCellStyleProperty(cellStyle)) /** * @param headerStyle The table cell style of a table header. */ override fun headerStyle(headerStyle: IResolvable) { cdkBuilder.headerStyle(headerStyle.let(IResolvable.Companion::unwrap)) } /** * @param headerStyle The table cell style of a table header. */ override fun headerStyle(headerStyle: TableCellStyleProperty) { cdkBuilder.headerStyle(headerStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param headerStyle The table cell style of a table header. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("15c758e773f2f073bd0d01bb3d3b549a307f0558062a97185c619168ebe94bb3") override fun headerStyle(headerStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = headerStyle(TableCellStyleProperty(headerStyle)) /** * @param orientation The orientation (vertical, horizontal) for a table. */ override fun orientation(orientation: String) { cdkBuilder.orientation(orientation) } /** * @param rowAlternateColorOptions The row alternate color options (widget status, row * alternate colors) for a table. */ override fun rowAlternateColorOptions(rowAlternateColorOptions: IResolvable) { cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowAlternateColorOptions The row alternate color options (widget status, row * alternate colors) for a table. */ override fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty) { cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty.Companion::unwrap)) } /** * @param rowAlternateColorOptions The row alternate color options (widget status, row * alternate colors) for a table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("11d5736d847ae5be6d0c50cb2c8e78ddacec9f229fe6d6fe891015a88a19d941") override fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty.Builder.() -> Unit): Unit = rowAlternateColorOptions(RowAlternateColorOptionsProperty(rowAlternateColorOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableOptionsProperty, ) : CdkObject(cdkObject), TableOptionsProperty { /** * The table cell style of table cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableoptions.html#cfn-quicksight-dashboard-tableoptions-cellstyle) */ override fun cellStyle(): Any? = unwrap(this).getCellStyle() /** * The table cell style of a table header. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableoptions.html#cfn-quicksight-dashboard-tableoptions-headerstyle) */ override fun headerStyle(): Any? = unwrap(this).getHeaderStyle() /** * The orientation (vertical, horizontal) for a table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableoptions.html#cfn-quicksight-dashboard-tableoptions-orientation) */ override fun orientation(): String? = unwrap(this).getOrientation() /** * The row alternate color options (widget status, row alternate colors) for a table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableoptions.html#cfn-quicksight-dashboard-tableoptions-rowalternatecoloroptions) */ override fun rowAlternateColorOptions(): Any? = unwrap(this).getRowAlternateColorOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableOptionsProperty): TableOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? TableOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableOptionsProperty } } /** * The paginated report options for a table visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TablePaginatedReportOptionsProperty tablePaginatedReportOptionsProperty = * TablePaginatedReportOptionsProperty.builder() * .overflowColumnHeaderVisibility("overflowColumnHeaderVisibility") * .verticalOverflowVisibility("verticalOverflowVisibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablepaginatedreportoptions.html) */ public interface TablePaginatedReportOptionsProperty { /** * The visibility of repeating header rows on each page. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablepaginatedreportoptions.html#cfn-quicksight-dashboard-tablepaginatedreportoptions-overflowcolumnheadervisibility) */ public fun overflowColumnHeaderVisibility(): String? = unwrap(this).getOverflowColumnHeaderVisibility() /** * The visibility of printing table overflow across pages. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablepaginatedreportoptions.html#cfn-quicksight-dashboard-tablepaginatedreportoptions-verticaloverflowvisibility) */ public fun verticalOverflowVisibility(): String? = unwrap(this).getVerticalOverflowVisibility() /** * A builder for [TablePaginatedReportOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param overflowColumnHeaderVisibility The visibility of repeating header rows on each page. */ public fun overflowColumnHeaderVisibility(overflowColumnHeaderVisibility: String) /** * @param verticalOverflowVisibility The visibility of printing table overflow across pages. */ public fun verticalOverflowVisibility(verticalOverflowVisibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TablePaginatedReportOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TablePaginatedReportOptionsProperty.builder() /** * @param overflowColumnHeaderVisibility The visibility of repeating header rows on each page. */ override fun overflowColumnHeaderVisibility(overflowColumnHeaderVisibility: String) { cdkBuilder.overflowColumnHeaderVisibility(overflowColumnHeaderVisibility) } /** * @param verticalOverflowVisibility The visibility of printing table overflow across pages. */ override fun verticalOverflowVisibility(verticalOverflowVisibility: String) { cdkBuilder.verticalOverflowVisibility(verticalOverflowVisibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TablePaginatedReportOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TablePaginatedReportOptionsProperty, ) : CdkObject(cdkObject), TablePaginatedReportOptionsProperty { /** * The visibility of repeating header rows on each page. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablepaginatedreportoptions.html#cfn-quicksight-dashboard-tablepaginatedreportoptions-overflowcolumnheadervisibility) */ override fun overflowColumnHeaderVisibility(): String? = unwrap(this).getOverflowColumnHeaderVisibility() /** * The visibility of printing table overflow across pages. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablepaginatedreportoptions.html#cfn-quicksight-dashboard-tablepaginatedreportoptions-verticaloverflowvisibility) */ override fun verticalOverflowVisibility(): String? = unwrap(this).getVerticalOverflowVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TablePaginatedReportOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TablePaginatedReportOptionsProperty): TablePaginatedReportOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? TablePaginatedReportOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TablePaginatedReportOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TablePaginatedReportOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TablePaginatedReportOptionsProperty } } /** * The settings for the pinned columns of a table visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TablePinnedFieldOptionsProperty tablePinnedFieldOptionsProperty = * TablePinnedFieldOptionsProperty.builder() * .pinnedLeftFields(List.of("pinnedLeftFields")) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablepinnedfieldoptions.html) */ public interface TablePinnedFieldOptionsProperty { /** * A list of columns to be pinned to the left of a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablepinnedfieldoptions.html#cfn-quicksight-dashboard-tablepinnedfieldoptions-pinnedleftfields) */ public fun pinnedLeftFields(): List = unwrap(this).getPinnedLeftFields() ?: emptyList() /** * A builder for [TablePinnedFieldOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param pinnedLeftFields A list of columns to be pinned to the left of a table visual. */ public fun pinnedLeftFields(pinnedLeftFields: List) /** * @param pinnedLeftFields A list of columns to be pinned to the left of a table visual. */ public fun pinnedLeftFields(vararg pinnedLeftFields: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TablePinnedFieldOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TablePinnedFieldOptionsProperty.builder() /** * @param pinnedLeftFields A list of columns to be pinned to the left of a table visual. */ override fun pinnedLeftFields(pinnedLeftFields: List) { cdkBuilder.pinnedLeftFields(pinnedLeftFields) } /** * @param pinnedLeftFields A list of columns to be pinned to the left of a table visual. */ override fun pinnedLeftFields(vararg pinnedLeftFields: String): Unit = pinnedLeftFields(pinnedLeftFields.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TablePinnedFieldOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TablePinnedFieldOptionsProperty, ) : CdkObject(cdkObject), TablePinnedFieldOptionsProperty { /** * A list of columns to be pinned to the left of a table visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablepinnedfieldoptions.html#cfn-quicksight-dashboard-tablepinnedfieldoptions-pinnedleftfields) */ override fun pinnedLeftFields(): List = unwrap(this).getPinnedLeftFields() ?: emptyList() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TablePinnedFieldOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TablePinnedFieldOptionsProperty): TablePinnedFieldOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? TablePinnedFieldOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TablePinnedFieldOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TablePinnedFieldOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TablePinnedFieldOptionsProperty } } /** * The conditional formatting of a table row. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableRowConditionalFormattingProperty tableRowConditionalFormattingProperty = * TableRowConditionalFormattingProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablerowconditionalformatting.html) */ public interface TableRowConditionalFormattingProperty { /** * The conditional formatting color (solid, gradient) of the background for a table row. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablerowconditionalformatting.html#cfn-quicksight-dashboard-tablerowconditionalformatting-backgroundcolor) */ public fun backgroundColor(): Any? = unwrap(this).getBackgroundColor() /** * The conditional formatting color (solid, gradient) of the text for a table row. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablerowconditionalformatting.html#cfn-quicksight-dashboard-tablerowconditionalformatting-textcolor) */ public fun textColor(): Any? = unwrap(this).getTextColor() /** * A builder for [TableRowConditionalFormattingProperty] */ @CdkDslMarker public interface Builder { /** * @param backgroundColor The conditional formatting color (solid, gradient) of the background * for a table row. */ public fun backgroundColor(backgroundColor: IResolvable) /** * @param backgroundColor The conditional formatting color (solid, gradient) of the background * for a table row. */ public fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) /** * @param backgroundColor The conditional formatting color (solid, gradient) of the background * for a table row. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7db391368a91f3df7d81e9102b8534a4a7bbf0fd6eb63abd3991cc06465a725a") public fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty.Builder.() -> Unit) /** * @param textColor The conditional formatting color (solid, gradient) of the text for a table * row. */ public fun textColor(textColor: IResolvable) /** * @param textColor The conditional formatting color (solid, gradient) of the text for a table * row. */ public fun textColor(textColor: ConditionalFormattingColorProperty) /** * @param textColor The conditional formatting color (solid, gradient) of the text for a table * row. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("25b227926c44932e66f7b85080f8935d63aca085ed343d55d34ce740cb7272b1") public fun textColor(textColor: ConditionalFormattingColorProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableRowConditionalFormattingProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableRowConditionalFormattingProperty.builder() /** * @param backgroundColor The conditional formatting color (solid, gradient) of the background * for a table row. */ override fun backgroundColor(backgroundColor: IResolvable) { cdkBuilder.backgroundColor(backgroundColor.let(IResolvable.Companion::unwrap)) } /** * @param backgroundColor The conditional formatting color (solid, gradient) of the background * for a table row. */ override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) { cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** * @param backgroundColor The conditional formatting color (solid, gradient) of the background * for a table row. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7db391368a91f3df7d81e9102b8534a4a7bbf0fd6eb63abd3991cc06465a725a") override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty.Builder.() -> Unit): Unit = backgroundColor(ConditionalFormattingColorProperty(backgroundColor)) /** * @param textColor The conditional formatting color (solid, gradient) of the text for a table * row. */ override fun textColor(textColor: IResolvable) { cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting color (solid, gradient) of the text for a table * row. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** * @param textColor The conditional formatting color (solid, gradient) of the text for a table * row. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("25b227926c44932e66f7b85080f8935d63aca085ed343d55d34ce740cb7272b1") override fun textColor(textColor: ConditionalFormattingColorProperty.Builder.() -> Unit): Unit = textColor(ConditionalFormattingColorProperty(textColor)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableRowConditionalFormattingProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableRowConditionalFormattingProperty, ) : CdkObject(cdkObject), TableRowConditionalFormattingProperty { /** * The conditional formatting color (solid, gradient) of the background for a table row. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablerowconditionalformatting.html#cfn-quicksight-dashboard-tablerowconditionalformatting-backgroundcolor) */ override fun backgroundColor(): Any? = unwrap(this).getBackgroundColor() /** * The conditional formatting color (solid, gradient) of the text for a table row. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablerowconditionalformatting.html#cfn-quicksight-dashboard-tablerowconditionalformatting-textcolor) */ override fun textColor(): Any? = unwrap(this).getTextColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableRowConditionalFormattingProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableRowConditionalFormattingProperty): TableRowConditionalFormattingProperty = CdkObjectWrappers.wrap(cdkObject) as? TableRowConditionalFormattingProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableRowConditionalFormattingProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableRowConditionalFormattingProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableRowConditionalFormattingProperty } } /** * The side border options for a table. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableSideBorderOptionsProperty tableSideBorderOptionsProperty = * TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html) */ public interface TableSideBorderOptionsProperty { /** * The table border options of the bottom border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html#cfn-quicksight-dashboard-tablesideborderoptions-bottom) */ public fun bottom(): Any? = unwrap(this).getBottom() /** * The table border options of the inner horizontal border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html#cfn-quicksight-dashboard-tablesideborderoptions-innerhorizontal) */ public fun innerHorizontal(): Any? = unwrap(this).getInnerHorizontal() /** * The table border options of the inner vertical border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html#cfn-quicksight-dashboard-tablesideborderoptions-innervertical) */ public fun innerVertical(): Any? = unwrap(this).getInnerVertical() /** * The table border options of the left border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html#cfn-quicksight-dashboard-tablesideborderoptions-left) */ public fun left(): Any? = unwrap(this).getLeft() /** * The table border options of the right border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html#cfn-quicksight-dashboard-tablesideborderoptions-right) */ public fun right(): Any? = unwrap(this).getRight() /** * The table border options of the top border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html#cfn-quicksight-dashboard-tablesideborderoptions-top) */ public fun top(): Any? = unwrap(this).getTop() /** * A builder for [TableSideBorderOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param bottom The table border options of the bottom border. */ public fun bottom(bottom: IResolvable) /** * @param bottom The table border options of the bottom border. */ public fun bottom(bottom: TableBorderOptionsProperty) /** * @param bottom The table border options of the bottom border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0acad46a3e8b8c96ba3a3b1757daac272ae6aba4ae2e174c29ca7635754a3273") public fun bottom(bottom: TableBorderOptionsProperty.Builder.() -> Unit) /** * @param innerHorizontal The table border options of the inner horizontal border. */ public fun innerHorizontal(innerHorizontal: IResolvable) /** * @param innerHorizontal The table border options of the inner horizontal border. */ public fun innerHorizontal(innerHorizontal: TableBorderOptionsProperty) /** * @param innerHorizontal The table border options of the inner horizontal border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e1ab278688079d7710999aff1b385920c3e26ff44a87540b43d105a0cbdf79cf") public fun innerHorizontal(innerHorizontal: TableBorderOptionsProperty.Builder.() -> Unit) /** * @param innerVertical The table border options of the inner vertical border. */ public fun innerVertical(innerVertical: IResolvable) /** * @param innerVertical The table border options of the inner vertical border. */ public fun innerVertical(innerVertical: TableBorderOptionsProperty) /** * @param innerVertical The table border options of the inner vertical border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("031c13ab1ddb0eb64859abe9fdf66fa71292b6877a833fc1d6f126c49a568220") public fun innerVertical(innerVertical: TableBorderOptionsProperty.Builder.() -> Unit) /** * @param left The table border options of the left border. */ public fun left(left: IResolvable) /** * @param left The table border options of the left border. */ public fun left(left: TableBorderOptionsProperty) /** * @param left The table border options of the left border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("005258b452e119ae397167f732ed1379667333a9a98008453710568a4e722f5d") public fun left(left: TableBorderOptionsProperty.Builder.() -> Unit) /** * @param right The table border options of the right border. */ public fun right(right: IResolvable) /** * @param right The table border options of the right border. */ public fun right(right: TableBorderOptionsProperty) /** * @param right The table border options of the right border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("557ee6dc32c57d32537dc21ec81ebbbb3f3e236d01a497c5e63df7a7a1d3edad") public fun right(right: TableBorderOptionsProperty.Builder.() -> Unit) /** * @param top The table border options of the top border. */ public fun top(top: IResolvable) /** * @param top The table border options of the top border. */ public fun top(top: TableBorderOptionsProperty) /** * @param top The table border options of the top border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a373ec4bd78108a834a1b6ab25041f61d587cca39326c71a0f7a7ef6a08c684c") public fun top(top: TableBorderOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableSideBorderOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableSideBorderOptionsProperty.builder() /** * @param bottom The table border options of the bottom border. */ override fun bottom(bottom: IResolvable) { cdkBuilder.bottom(bottom.let(IResolvable.Companion::unwrap)) } /** * @param bottom The table border options of the bottom border. */ override fun bottom(bottom: TableBorderOptionsProperty) { cdkBuilder.bottom(bottom.let(TableBorderOptionsProperty.Companion::unwrap)) } /** * @param bottom The table border options of the bottom border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0acad46a3e8b8c96ba3a3b1757daac272ae6aba4ae2e174c29ca7635754a3273") override fun bottom(bottom: TableBorderOptionsProperty.Builder.() -> Unit): Unit = bottom(TableBorderOptionsProperty(bottom)) /** * @param innerHorizontal The table border options of the inner horizontal border. */ override fun innerHorizontal(innerHorizontal: IResolvable) { cdkBuilder.innerHorizontal(innerHorizontal.let(IResolvable.Companion::unwrap)) } /** * @param innerHorizontal The table border options of the inner horizontal border. */ override fun innerHorizontal(innerHorizontal: TableBorderOptionsProperty) { cdkBuilder.innerHorizontal(innerHorizontal.let(TableBorderOptionsProperty.Companion::unwrap)) } /** * @param innerHorizontal The table border options of the inner horizontal border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e1ab278688079d7710999aff1b385920c3e26ff44a87540b43d105a0cbdf79cf") override fun innerHorizontal(innerHorizontal: TableBorderOptionsProperty.Builder.() -> Unit): Unit = innerHorizontal(TableBorderOptionsProperty(innerHorizontal)) /** * @param innerVertical The table border options of the inner vertical border. */ override fun innerVertical(innerVertical: IResolvable) { cdkBuilder.innerVertical(innerVertical.let(IResolvable.Companion::unwrap)) } /** * @param innerVertical The table border options of the inner vertical border. */ override fun innerVertical(innerVertical: TableBorderOptionsProperty) { cdkBuilder.innerVertical(innerVertical.let(TableBorderOptionsProperty.Companion::unwrap)) } /** * @param innerVertical The table border options of the inner vertical border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("031c13ab1ddb0eb64859abe9fdf66fa71292b6877a833fc1d6f126c49a568220") override fun innerVertical(innerVertical: TableBorderOptionsProperty.Builder.() -> Unit): Unit = innerVertical(TableBorderOptionsProperty(innerVertical)) /** * @param left The table border options of the left border. */ override fun left(left: IResolvable) { cdkBuilder.left(left.let(IResolvable.Companion::unwrap)) } /** * @param left The table border options of the left border. */ override fun left(left: TableBorderOptionsProperty) { cdkBuilder.left(left.let(TableBorderOptionsProperty.Companion::unwrap)) } /** * @param left The table border options of the left border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("005258b452e119ae397167f732ed1379667333a9a98008453710568a4e722f5d") override fun left(left: TableBorderOptionsProperty.Builder.() -> Unit): Unit = left(TableBorderOptionsProperty(left)) /** * @param right The table border options of the right border. */ override fun right(right: IResolvable) { cdkBuilder.right(right.let(IResolvable.Companion::unwrap)) } /** * @param right The table border options of the right border. */ override fun right(right: TableBorderOptionsProperty) { cdkBuilder.right(right.let(TableBorderOptionsProperty.Companion::unwrap)) } /** * @param right The table border options of the right border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("557ee6dc32c57d32537dc21ec81ebbbb3f3e236d01a497c5e63df7a7a1d3edad") override fun right(right: TableBorderOptionsProperty.Builder.() -> Unit): Unit = right(TableBorderOptionsProperty(right)) /** * @param top The table border options of the top border. */ override fun top(top: IResolvable) { cdkBuilder.top(top.let(IResolvable.Companion::unwrap)) } /** * @param top The table border options of the top border. */ override fun top(top: TableBorderOptionsProperty) { cdkBuilder.top(top.let(TableBorderOptionsProperty.Companion::unwrap)) } /** * @param top The table border options of the top border. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a373ec4bd78108a834a1b6ab25041f61d587cca39326c71a0f7a7ef6a08c684c") override fun top(top: TableBorderOptionsProperty.Builder.() -> Unit): Unit = top(TableBorderOptionsProperty(top)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableSideBorderOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableSideBorderOptionsProperty, ) : CdkObject(cdkObject), TableSideBorderOptionsProperty { /** * The table border options of the bottom border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html#cfn-quicksight-dashboard-tablesideborderoptions-bottom) */ override fun bottom(): Any? = unwrap(this).getBottom() /** * The table border options of the inner horizontal border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html#cfn-quicksight-dashboard-tablesideborderoptions-innerhorizontal) */ override fun innerHorizontal(): Any? = unwrap(this).getInnerHorizontal() /** * The table border options of the inner vertical border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html#cfn-quicksight-dashboard-tablesideborderoptions-innervertical) */ override fun innerVertical(): Any? = unwrap(this).getInnerVertical() /** * The table border options of the left border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html#cfn-quicksight-dashboard-tablesideborderoptions-left) */ override fun left(): Any? = unwrap(this).getLeft() /** * The table border options of the right border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html#cfn-quicksight-dashboard-tablesideborderoptions-right) */ override fun right(): Any? = unwrap(this).getRight() /** * The table border options of the top border. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesideborderoptions.html#cfn-quicksight-dashboard-tablesideborderoptions-top) */ override fun top(): Any? = unwrap(this).getTop() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableSideBorderOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableSideBorderOptionsProperty): TableSideBorderOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? TableSideBorderOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableSideBorderOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableSideBorderOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableSideBorderOptionsProperty } } /** * The sort configuration for a `TableVisual` . * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableSortConfigurationProperty tableSortConfigurationProperty = * TableSortConfigurationProperty.builder() * .paginationConfiguration(PaginationConfigurationProperty.builder() * .pageNumber(123) * .pageSize(123) * .build()) * .rowSort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesortconfiguration.html) */ public interface TableSortConfigurationProperty { /** * The pagination configuration (page size, page number) for the table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesortconfiguration.html#cfn-quicksight-dashboard-tablesortconfiguration-paginationconfiguration) */ public fun paginationConfiguration(): Any? = unwrap(this).getPaginationConfiguration() /** * The field sort options for rows in the table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesortconfiguration.html#cfn-quicksight-dashboard-tablesortconfiguration-rowsort) */ public fun rowSort(): Any? = unwrap(this).getRowSort() /** * A builder for [TableSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param paginationConfiguration The pagination configuration (page size, page number) for * the table. */ public fun paginationConfiguration(paginationConfiguration: IResolvable) /** * @param paginationConfiguration The pagination configuration (page size, page number) for * the table. */ public fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty) /** * @param paginationConfiguration The pagination configuration (page size, page number) for * the table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("71574f7c8df055f04837a438bde13e12a3364540acac38042a2910da1f735ace") public fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty.Builder.() -> Unit) /** * @param rowSort The field sort options for rows in the table. */ public fun rowSort(rowSort: IResolvable) /** * @param rowSort The field sort options for rows in the table. */ public fun rowSort(rowSort: List) /** * @param rowSort The field sort options for rows in the table. */ public fun rowSort(vararg rowSort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableSortConfigurationProperty.builder() /** * @param paginationConfiguration The pagination configuration (page size, page number) for * the table. */ override fun paginationConfiguration(paginationConfiguration: IResolvable) { cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param paginationConfiguration The pagination configuration (page size, page number) for * the table. */ override fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty) { cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty.Companion::unwrap)) } /** * @param paginationConfiguration The pagination configuration (page size, page number) for * the table. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("71574f7c8df055f04837a438bde13e12a3364540acac38042a2910da1f735ace") override fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty.Builder.() -> Unit): Unit = paginationConfiguration(PaginationConfigurationProperty(paginationConfiguration)) /** * @param rowSort The field sort options for rows in the table. */ override fun rowSort(rowSort: IResolvable) { cdkBuilder.rowSort(rowSort.let(IResolvable.Companion::unwrap)) } /** * @param rowSort The field sort options for rows in the table. */ override fun rowSort(rowSort: List) { cdkBuilder.rowSort(rowSort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param rowSort The field sort options for rows in the table. */ override fun rowSort(vararg rowSort: Any): Unit = rowSort(rowSort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableSortConfigurationProperty, ) : CdkObject(cdkObject), TableSortConfigurationProperty { /** * The pagination configuration (page size, page number) for the table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesortconfiguration.html#cfn-quicksight-dashboard-tablesortconfiguration-paginationconfiguration) */ override fun paginationConfiguration(): Any? = unwrap(this).getPaginationConfiguration() /** * The field sort options for rows in the table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablesortconfiguration.html#cfn-quicksight-dashboard-tablesortconfiguration-rowsort) */ override fun rowSort(): Any? = unwrap(this).getRowSort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableSortConfigurationProperty): TableSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? TableSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableSortConfigurationProperty } } /** * The table style target. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableStyleTargetProperty tableStyleTargetProperty = TableStyleTargetProperty.builder() * .cellType("cellType") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablestyletarget.html) */ public interface TableStyleTargetProperty { /** * The cell type of the table style target. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablestyletarget.html#cfn-quicksight-dashboard-tablestyletarget-celltype) */ public fun cellType(): String /** * A builder for [TableStyleTargetProperty] */ @CdkDslMarker public interface Builder { /** * @param cellType The cell type of the table style target. */ public fun cellType(cellType: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableStyleTargetProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableStyleTargetProperty.builder() /** * @param cellType The cell type of the table style target. */ override fun cellType(cellType: String) { cdkBuilder.cellType(cellType) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableStyleTargetProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableStyleTargetProperty, ) : CdkObject(cdkObject), TableStyleTargetProperty { /** * The cell type of the table style target. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablestyletarget.html#cfn-quicksight-dashboard-tablestyletarget-celltype) */ override fun cellType(): String = unwrap(this).getCellType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableStyleTargetProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableStyleTargetProperty): TableStyleTargetProperty = CdkObjectWrappers.wrap(cdkObject) as? TableStyleTargetProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableStyleTargetProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableStyleTargetProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableStyleTargetProperty } } /** * The unaggregated field well for the table. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TableUnaggregatedFieldWellsProperty tableUnaggregatedFieldWellsProperty = * TableUnaggregatedFieldWellsProperty.builder() * .values(List.of(UnaggregatedFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(FormatConfigurationProperty.builder() * .dateTimeFormatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .numberFormatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .stringFormatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableunaggregatedfieldwells.html) */ public interface TableUnaggregatedFieldWellsProperty { /** * The values field well for a pivot table. * * Values are unaggregated for an unaggregated table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableunaggregatedfieldwells.html#cfn-quicksight-dashboard-tableunaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [TableUnaggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param values The values field well for a pivot table. * Values are unaggregated for an unaggregated table. */ public fun values(values: IResolvable) /** * @param values The values field well for a pivot table. * Values are unaggregated for an unaggregated table. */ public fun values(values: List) /** * @param values The values field well for a pivot table. * Values are unaggregated for an unaggregated table. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableUnaggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableUnaggregatedFieldWellsProperty.builder() /** * @param values The values field well for a pivot table. * Values are unaggregated for an unaggregated table. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The values field well for a pivot table. * Values are unaggregated for an unaggregated table. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The values field well for a pivot table. * Values are unaggregated for an unaggregated table. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableUnaggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableUnaggregatedFieldWellsProperty, ) : CdkObject(cdkObject), TableUnaggregatedFieldWellsProperty { /** * The values field well for a pivot table. * * Values are unaggregated for an unaggregated table. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tableunaggregatedfieldwells.html#cfn-quicksight-dashboard-tableunaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableUnaggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableUnaggregatedFieldWellsProperty): TableUnaggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? TableUnaggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableUnaggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableUnaggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableUnaggregatedFieldWellsProperty } } /** * A table visual. * * For more information, see [Using tables as * visuals](https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html) */ public interface TableVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html#cfn-quicksight-dashboard-tablevisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html#cfn-quicksight-dashboard-tablevisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The conditional formatting for a `PivotTableVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html#cfn-quicksight-dashboard-tablevisual-conditionalformatting) */ public fun conditionalFormatting(): Any? = unwrap(this).getConditionalFormatting() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html#cfn-quicksight-dashboard-tablevisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html#cfn-quicksight-dashboard-tablevisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html#cfn-quicksight-dashboard-tablevisual-visualid) */ public fun visualId(): String /** * A builder for [TableVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: TableConfigurationProperty) /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5decdc59c2b9d4e88960a6cd316553a2502e459f1da14fd7baa2cb55ccb480ca") public fun chartConfiguration(chartConfiguration: TableConfigurationProperty.Builder.() -> Unit) /** * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ public fun conditionalFormatting(conditionalFormatting: IResolvable) /** * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ public fun conditionalFormatting(conditionalFormatting: TableConditionalFormattingProperty) /** * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8af41e077194a5207102d0917f7337c2fa02ce374415f48fdd657c4470dae758") public fun conditionalFormatting(conditionalFormatting: TableConditionalFormattingProperty.Builder.() -> Unit) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c3e4b83e800d3d3b0290e2d82cd616090972fbafd0261fc7676d5671a9f54cc0") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2fd27dce77d3a11a696171467db5937ef3ad0037def835d1a8a2912ef657ad3d") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TableVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TableVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: TableConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(TableConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5decdc59c2b9d4e88960a6cd316553a2502e459f1da14fd7baa2cb55ccb480ca") override fun chartConfiguration(chartConfiguration: TableConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(TableConfigurationProperty(chartConfiguration)) /** * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ override fun conditionalFormatting(conditionalFormatting: TableConditionalFormattingProperty) { cdkBuilder.conditionalFormatting(conditionalFormatting.let(TableConditionalFormattingProperty.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8af41e077194a5207102d0917f7337c2fa02ce374415f48fdd657c4470dae758") override fun conditionalFormatting(conditionalFormatting: TableConditionalFormattingProperty.Builder.() -> Unit): Unit = conditionalFormatting(TableConditionalFormattingProperty(conditionalFormatting)) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c3e4b83e800d3d3b0290e2d82cd616090972fbafd0261fc7676d5671a9f54cc0") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2fd27dce77d3a11a696171467db5937ef3ad0037def835d1a8a2912ef657ad3d") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TableVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableVisualProperty, ) : CdkObject(cdkObject), TableVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html#cfn-quicksight-dashboard-tablevisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html#cfn-quicksight-dashboard-tablevisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The conditional formatting for a `PivotTableVisual` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html#cfn-quicksight-dashboard-tablevisual-conditionalformatting) */ override fun conditionalFormatting(): Any? = unwrap(this).getConditionalFormatting() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html#cfn-quicksight-dashboard-tablevisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html#cfn-quicksight-dashboard-tablevisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tablevisual.html#cfn-quicksight-dashboard-tablevisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TableVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TableVisualProperty): TableVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? TableVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TableVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TableVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TableVisualProperty } } /** * The display options of a control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TextAreaControlDisplayOptionsProperty textAreaControlDisplayOptionsProperty = * TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textareacontroldisplayoptions.html) */ public interface TextAreaControlDisplayOptionsProperty { /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textareacontroldisplayoptions.html#cfn-quicksight-dashboard-textareacontroldisplayoptions-infoiconlabeloptions) */ public fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The configuration of the placeholder options in a text area control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textareacontroldisplayoptions.html#cfn-quicksight-dashboard-textareacontroldisplayoptions-placeholderoptions) */ public fun placeholderOptions(): Any? = unwrap(this).getPlaceholderOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textareacontroldisplayoptions.html#cfn-quicksight-dashboard-textareacontroldisplayoptions-titleoptions) */ public fun titleOptions(): Any? = unwrap(this).getTitleOptions() /** * A builder for [TextAreaControlDisplayOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c4a1fd93da089ec04d52ff6376961b32c09fa57a0a41959e5d6fb6a22effd7b6") public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit) /** * @param placeholderOptions The configuration of the placeholder options in a text area * control. */ public fun placeholderOptions(placeholderOptions: IResolvable) /** * @param placeholderOptions The configuration of the placeholder options in a text area * control. */ public fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty) /** * @param placeholderOptions The configuration of the placeholder options in a text area * control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("af0663820d1fa2cf175c3173f18bc474b38a64a9771f6efeb1358d5d6e328cd0") public fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty.Builder.() -> Unit) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: IResolvable) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: LabelOptionsProperty) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2c26de61631991634c492a992ec7af4db7f2bda4ae291d7fe2b55dd8de915e81") public fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TextAreaControlDisplayOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TextAreaControlDisplayOptionsProperty.builder() /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c4a1fd93da089ec04d52ff6376961b32c09fa57a0a41959e5d6fb6a22effd7b6") override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit): Unit = infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty(infoIconLabelOptions)) /** * @param placeholderOptions The configuration of the placeholder options in a text area * control. */ override fun placeholderOptions(placeholderOptions: IResolvable) { cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable.Companion::unwrap)) } /** * @param placeholderOptions The configuration of the placeholder options in a text area * control. */ override fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty) { cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty.Companion::unwrap)) } /** * @param placeholderOptions The configuration of the placeholder options in a text area * control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("af0663820d1fa2cf175c3173f18bc474b38a64a9771f6efeb1358d5d6e328cd0") override fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty.Builder.() -> Unit): Unit = placeholderOptions(TextControlPlaceholderOptionsProperty(placeholderOptions)) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2c26de61631991634c492a992ec7af4db7f2bda4ae291d7fe2b55dd8de915e81") override fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit): Unit = titleOptions(LabelOptionsProperty(titleOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TextAreaControlDisplayOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TextAreaControlDisplayOptionsProperty, ) : CdkObject(cdkObject), TextAreaControlDisplayOptionsProperty { /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textareacontroldisplayoptions.html#cfn-quicksight-dashboard-textareacontroldisplayoptions-infoiconlabeloptions) */ override fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The configuration of the placeholder options in a text area control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textareacontroldisplayoptions.html#cfn-quicksight-dashboard-textareacontroldisplayoptions-placeholderoptions) */ override fun placeholderOptions(): Any? = unwrap(this).getPlaceholderOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textareacontroldisplayoptions.html#cfn-quicksight-dashboard-textareacontroldisplayoptions-titleoptions) */ override fun titleOptions(): Any? = unwrap(this).getTitleOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TextAreaControlDisplayOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TextAreaControlDisplayOptionsProperty): TextAreaControlDisplayOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? TextAreaControlDisplayOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TextAreaControlDisplayOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TextAreaControlDisplayOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TextAreaControlDisplayOptionsProperty } } /** * The conditional formatting for the text. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TextConditionalFormatProperty textConditionalFormatProperty = * TextConditionalFormatProperty.builder() * .backgroundColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .icon(ConditionalFormattingIconProperty.builder() * .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() * .expression("expression") * .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() * .icon("icon") * .unicodeIcon("unicodeIcon") * .build()) * // the properties below are optional * .color("color") * .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() * .iconDisplayOption("iconDisplayOption") * .build()) * .build()) * .iconSet(ConditionalFormattingIconSetProperty.builder() * .expression("expression") * // the properties below are optional * .iconSetType("iconSetType") * .build()) * .build()) * .textColor(ConditionalFormattingColorProperty.builder() * .gradient(ConditionalFormattingGradientColorProperty.builder() * .color(GradientColorProperty.builder() * .stops(List.of(GradientStopProperty.builder() * .gradientOffset(123) * // the properties below are optional * .color("color") * .dataValue(123) * .build())) * .build()) * .expression("expression") * .build()) * .solid(ConditionalFormattingSolidColorProperty.builder() * .expression("expression") * // the properties below are optional * .color("color") * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textconditionalformat.html) */ public interface TextConditionalFormatProperty { /** * The conditional formatting for the text background color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textconditionalformat.html#cfn-quicksight-dashboard-textconditionalformat-backgroundcolor) */ public fun backgroundColor(): Any? = unwrap(this).getBackgroundColor() /** * The conditional formatting for the icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textconditionalformat.html#cfn-quicksight-dashboard-textconditionalformat-icon) */ public fun icon(): Any? = unwrap(this).getIcon() /** * The conditional formatting for the text color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textconditionalformat.html#cfn-quicksight-dashboard-textconditionalformat-textcolor) */ public fun textColor(): Any? = unwrap(this).getTextColor() /** * A builder for [TextConditionalFormatProperty] */ @CdkDslMarker public interface Builder { /** * @param backgroundColor The conditional formatting for the text background color. */ public fun backgroundColor(backgroundColor: IResolvable) /** * @param backgroundColor The conditional formatting for the text background color. */ public fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) /** * @param backgroundColor The conditional formatting for the text background color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f86316ba63e8e7ea60f30f67ec467a61b29d36a38f031de2d590796296157582") public fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty.Builder.() -> Unit) /** * @param icon The conditional formatting for the icon. */ public fun icon(icon: IResolvable) /** * @param icon The conditional formatting for the icon. */ public fun icon(icon: ConditionalFormattingIconProperty) /** * @param icon The conditional formatting for the icon. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("145041e421b579a12f8b960ee4c491e3e205f7e167d37e30f0b364401a120a22") public fun icon(icon: ConditionalFormattingIconProperty.Builder.() -> Unit) /** * @param textColor The conditional formatting for the text color. */ public fun textColor(textColor: IResolvable) /** * @param textColor The conditional formatting for the text color. */ public fun textColor(textColor: ConditionalFormattingColorProperty) /** * @param textColor The conditional formatting for the text color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ba35dc134d5e43eb04f1b318627b44dcd1d0b3ca9d68e9723cf7eb687431b243") public fun textColor(textColor: ConditionalFormattingColorProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TextConditionalFormatProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TextConditionalFormatProperty.builder() /** * @param backgroundColor The conditional formatting for the text background color. */ override fun backgroundColor(backgroundColor: IResolvable) { cdkBuilder.backgroundColor(backgroundColor.let(IResolvable.Companion::unwrap)) } /** * @param backgroundColor The conditional formatting for the text background color. */ override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) { cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** * @param backgroundColor The conditional formatting for the text background color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f86316ba63e8e7ea60f30f67ec467a61b29d36a38f031de2d590796296157582") override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty.Builder.() -> Unit): Unit = backgroundColor(ConditionalFormattingColorProperty(backgroundColor)) /** * @param icon The conditional formatting for the icon. */ override fun icon(icon: IResolvable) { cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting for the icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** * @param icon The conditional formatting for the icon. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("145041e421b579a12f8b960ee4c491e3e205f7e167d37e30f0b364401a120a22") override fun icon(icon: ConditionalFormattingIconProperty.Builder.() -> Unit): Unit = icon(ConditionalFormattingIconProperty(icon)) /** * @param textColor The conditional formatting for the text color. */ override fun textColor(textColor: IResolvable) { cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting for the text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** * @param textColor The conditional formatting for the text color. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ba35dc134d5e43eb04f1b318627b44dcd1d0b3ca9d68e9723cf7eb687431b243") override fun textColor(textColor: ConditionalFormattingColorProperty.Builder.() -> Unit): Unit = textColor(ConditionalFormattingColorProperty(textColor)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TextConditionalFormatProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TextConditionalFormatProperty, ) : CdkObject(cdkObject), TextConditionalFormatProperty { /** * The conditional formatting for the text background color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textconditionalformat.html#cfn-quicksight-dashboard-textconditionalformat-backgroundcolor) */ override fun backgroundColor(): Any? = unwrap(this).getBackgroundColor() /** * The conditional formatting for the icon. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textconditionalformat.html#cfn-quicksight-dashboard-textconditionalformat-icon) */ override fun icon(): Any? = unwrap(this).getIcon() /** * The conditional formatting for the text color. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textconditionalformat.html#cfn-quicksight-dashboard-textconditionalformat-textcolor) */ override fun textColor(): Any? = unwrap(this).getTextColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TextConditionalFormatProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TextConditionalFormatProperty): TextConditionalFormatProperty = CdkObjectWrappers.wrap(cdkObject) as? TextConditionalFormatProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TextConditionalFormatProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TextConditionalFormatProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TextConditionalFormatProperty } } /** * The configuration of the placeholder options in a text control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TextControlPlaceholderOptionsProperty textControlPlaceholderOptionsProperty = * TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textcontrolplaceholderoptions.html) */ public interface TextControlPlaceholderOptionsProperty { /** * The visibility configuration of the placeholder options in a text control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textcontrolplaceholderoptions.html#cfn-quicksight-dashboard-textcontrolplaceholderoptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [TextControlPlaceholderOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility The visibility configuration of the placeholder options in a text * control. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TextControlPlaceholderOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TextControlPlaceholderOptionsProperty.builder() /** * @param visibility The visibility configuration of the placeholder options in a text * control. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TextControlPlaceholderOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TextControlPlaceholderOptionsProperty, ) : CdkObject(cdkObject), TextControlPlaceholderOptionsProperty { /** * The visibility configuration of the placeholder options in a text control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textcontrolplaceholderoptions.html#cfn-quicksight-dashboard-textcontrolplaceholderoptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TextControlPlaceholderOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TextControlPlaceholderOptionsProperty): TextControlPlaceholderOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? TextControlPlaceholderOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TextControlPlaceholderOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TextControlPlaceholderOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TextControlPlaceholderOptionsProperty } } /** * The display options of a control. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TextFieldControlDisplayOptionsProperty textFieldControlDisplayOptionsProperty = * TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textfieldcontroldisplayoptions.html) */ public interface TextFieldControlDisplayOptionsProperty { /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textfieldcontroldisplayoptions.html#cfn-quicksight-dashboard-textfieldcontroldisplayoptions-infoiconlabeloptions) */ public fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The configuration of the placeholder options in a text field control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textfieldcontroldisplayoptions.html#cfn-quicksight-dashboard-textfieldcontroldisplayoptions-placeholderoptions) */ public fun placeholderOptions(): Any? = unwrap(this).getPlaceholderOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textfieldcontroldisplayoptions.html#cfn-quicksight-dashboard-textfieldcontroldisplayoptions-titleoptions) */ public fun titleOptions(): Any? = unwrap(this).getTitleOptions() /** * A builder for [TextFieldControlDisplayOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) /** * @param infoIconLabelOptions The configuration of info icon label options. */ public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8b70285b7ad60e90638d8e3af57e0c9769a1cc094a63fe490dc3f24e2d176376") public fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit) /** * @param placeholderOptions The configuration of the placeholder options in a text field * control. */ public fun placeholderOptions(placeholderOptions: IResolvable) /** * @param placeholderOptions The configuration of the placeholder options in a text field * control. */ public fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty) /** * @param placeholderOptions The configuration of the placeholder options in a text field * control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e12bf2db1d5115b816f7fd01225c3b75db843d9c85d9e3c1b61d4ffe4d3a5a76") public fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty.Builder.() -> Unit) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: IResolvable) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ public fun titleOptions(titleOptions: LabelOptionsProperty) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5d9dd4e43aa856e3f565e5ccd573f87a686c6e297e4c04b6d873be7ca054fd69") public fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TextFieldControlDisplayOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TextFieldControlDisplayOptionsProperty.builder() /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** * @param infoIconLabelOptions The configuration of info icon label options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8b70285b7ad60e90638d8e3af57e0c9769a1cc094a63fe490dc3f24e2d176376") override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty.Builder.() -> Unit): Unit = infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty(infoIconLabelOptions)) /** * @param placeholderOptions The configuration of the placeholder options in a text field * control. */ override fun placeholderOptions(placeholderOptions: IResolvable) { cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable.Companion::unwrap)) } /** * @param placeholderOptions The configuration of the placeholder options in a text field * control. */ override fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty) { cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty.Companion::unwrap)) } /** * @param placeholderOptions The configuration of the placeholder options in a text field * control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e12bf2db1d5115b816f7fd01225c3b75db843d9c85d9e3c1b61d4ffe4d3a5a76") override fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty.Builder.() -> Unit): Unit = placeholderOptions(TextControlPlaceholderOptionsProperty(placeholderOptions)) /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5d9dd4e43aa856e3f565e5ccd573f87a686c6e297e4c04b6d873be7ca054fd69") override fun titleOptions(titleOptions: LabelOptionsProperty.Builder.() -> Unit): Unit = titleOptions(LabelOptionsProperty(titleOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TextFieldControlDisplayOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TextFieldControlDisplayOptionsProperty, ) : CdkObject(cdkObject), TextFieldControlDisplayOptionsProperty { /** * The configuration of info icon label options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textfieldcontroldisplayoptions.html#cfn-quicksight-dashboard-textfieldcontroldisplayoptions-infoiconlabeloptions) */ override fun infoIconLabelOptions(): Any? = unwrap(this).getInfoIconLabelOptions() /** * The configuration of the placeholder options in a text field control. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textfieldcontroldisplayoptions.html#cfn-quicksight-dashboard-textfieldcontroldisplayoptions-placeholderoptions) */ override fun placeholderOptions(): Any? = unwrap(this).getPlaceholderOptions() /** * The options to configure the title visibility, name, and font size. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-textfieldcontroldisplayoptions.html#cfn-quicksight-dashboard-textfieldcontroldisplayoptions-titleoptions) */ override fun titleOptions(): Any? = unwrap(this).getTitleOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TextFieldControlDisplayOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TextFieldControlDisplayOptionsProperty): TextFieldControlDisplayOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? TextFieldControlDisplayOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TextFieldControlDisplayOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TextFieldControlDisplayOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TextFieldControlDisplayOptionsProperty } } /** * The options that determine the thousands separator configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ThousandSeparatorOptionsProperty thousandSeparatorOptionsProperty = * ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-thousandseparatoroptions.html) */ public interface ThousandSeparatorOptionsProperty { /** * Determines the thousands separator symbol. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-thousandseparatoroptions.html#cfn-quicksight-dashboard-thousandseparatoroptions-symbol) */ public fun symbol(): String? = unwrap(this).getSymbol() /** * Determines the visibility of the thousands separator. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-thousandseparatoroptions.html#cfn-quicksight-dashboard-thousandseparatoroptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [ThousandSeparatorOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param symbol Determines the thousands separator symbol. */ public fun symbol(symbol: String) /** * @param visibility Determines the visibility of the thousands separator. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ThousandSeparatorOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ThousandSeparatorOptionsProperty.builder() /** * @param symbol Determines the thousands separator symbol. */ override fun symbol(symbol: String) { cdkBuilder.symbol(symbol) } /** * @param visibility Determines the visibility of the thousands separator. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ThousandSeparatorOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ThousandSeparatorOptionsProperty, ) : CdkObject(cdkObject), ThousandSeparatorOptionsProperty { /** * Determines the thousands separator symbol. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-thousandseparatoroptions.html#cfn-quicksight-dashboard-thousandseparatoroptions-symbol) */ override fun symbol(): String? = unwrap(this).getSymbol() /** * Determines the visibility of the thousands separator. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-thousandseparatoroptions.html#cfn-quicksight-dashboard-thousandseparatoroptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ThousandSeparatorOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ThousandSeparatorOptionsProperty): ThousandSeparatorOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? ThousandSeparatorOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ThousandSeparatorOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ThousandSeparatorOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ThousandSeparatorOptionsProperty } } /** * The forecast properties setup of a forecast in the line chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TimeBasedForecastPropertiesProperty timeBasedForecastPropertiesProperty = * TimeBasedForecastPropertiesProperty.builder() * .lowerBoundary(123) * .periodsBackward(123) * .periodsForward(123) * .predictionInterval(123) * .seasonality(123) * .upperBoundary(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html) */ public interface TimeBasedForecastPropertiesProperty { /** * The lower boundary setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html#cfn-quicksight-dashboard-timebasedforecastproperties-lowerboundary) */ public fun lowerBoundary(): Number? = unwrap(this).getLowerBoundary() /** * The periods backward setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html#cfn-quicksight-dashboard-timebasedforecastproperties-periodsbackward) */ public fun periodsBackward(): Number? = unwrap(this).getPeriodsBackward() /** * The periods forward setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html#cfn-quicksight-dashboard-timebasedforecastproperties-periodsforward) */ public fun periodsForward(): Number? = unwrap(this).getPeriodsForward() /** * The prediction interval setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html#cfn-quicksight-dashboard-timebasedforecastproperties-predictioninterval) */ public fun predictionInterval(): Number? = unwrap(this).getPredictionInterval() /** * The seasonality setup of a forecast computation. Choose one of the following options:. * * * `NULL` : The input is set to `NULL` . * * `NON_NULL` : The input is set to a custom value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html#cfn-quicksight-dashboard-timebasedforecastproperties-seasonality) */ public fun seasonality(): Number? = unwrap(this).getSeasonality() /** * The upper boundary setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html#cfn-quicksight-dashboard-timebasedforecastproperties-upperboundary) */ public fun upperBoundary(): Number? = unwrap(this).getUpperBoundary() /** * A builder for [TimeBasedForecastPropertiesProperty] */ @CdkDslMarker public interface Builder { /** * @param lowerBoundary The lower boundary setup of a forecast computation. */ public fun lowerBoundary(lowerBoundary: Number) /** * @param periodsBackward The periods backward setup of a forecast computation. */ public fun periodsBackward(periodsBackward: Number) /** * @param periodsForward The periods forward setup of a forecast computation. */ public fun periodsForward(periodsForward: Number) /** * @param predictionInterval The prediction interval setup of a forecast computation. */ public fun predictionInterval(predictionInterval: Number) /** * @param seasonality The seasonality setup of a forecast computation. Choose one of the * following options:. * * `NULL` : The input is set to `NULL` . * * `NON_NULL` : The input is set to a custom value. */ public fun seasonality(seasonality: Number) /** * @param upperBoundary The upper boundary setup of a forecast computation. */ public fun upperBoundary(upperBoundary: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeBasedForecastPropertiesProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TimeBasedForecastPropertiesProperty.builder() /** * @param lowerBoundary The lower boundary setup of a forecast computation. */ override fun lowerBoundary(lowerBoundary: Number) { cdkBuilder.lowerBoundary(lowerBoundary) } /** * @param periodsBackward The periods backward setup of a forecast computation. */ override fun periodsBackward(periodsBackward: Number) { cdkBuilder.periodsBackward(periodsBackward) } /** * @param periodsForward The periods forward setup of a forecast computation. */ override fun periodsForward(periodsForward: Number) { cdkBuilder.periodsForward(periodsForward) } /** * @param predictionInterval The prediction interval setup of a forecast computation. */ override fun predictionInterval(predictionInterval: Number) { cdkBuilder.predictionInterval(predictionInterval) } /** * @param seasonality The seasonality setup of a forecast computation. Choose one of the * following options:. * * `NULL` : The input is set to `NULL` . * * `NON_NULL` : The input is set to a custom value. */ override fun seasonality(seasonality: Number) { cdkBuilder.seasonality(seasonality) } /** * @param upperBoundary The upper boundary setup of a forecast computation. */ override fun upperBoundary(upperBoundary: Number) { cdkBuilder.upperBoundary(upperBoundary) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TimeBasedForecastPropertiesProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeBasedForecastPropertiesProperty, ) : CdkObject(cdkObject), TimeBasedForecastPropertiesProperty { /** * The lower boundary setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html#cfn-quicksight-dashboard-timebasedforecastproperties-lowerboundary) */ override fun lowerBoundary(): Number? = unwrap(this).getLowerBoundary() /** * The periods backward setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html#cfn-quicksight-dashboard-timebasedforecastproperties-periodsbackward) */ override fun periodsBackward(): Number? = unwrap(this).getPeriodsBackward() /** * The periods forward setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html#cfn-quicksight-dashboard-timebasedforecastproperties-periodsforward) */ override fun periodsForward(): Number? = unwrap(this).getPeriodsForward() /** * The prediction interval setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html#cfn-quicksight-dashboard-timebasedforecastproperties-predictioninterval) */ override fun predictionInterval(): Number? = unwrap(this).getPredictionInterval() /** * The seasonality setup of a forecast computation. Choose one of the following options:. * * * `NULL` : The input is set to `NULL` . * * `NON_NULL` : The input is set to a custom value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html#cfn-quicksight-dashboard-timebasedforecastproperties-seasonality) */ override fun seasonality(): Number? = unwrap(this).getSeasonality() /** * The upper boundary setup of a forecast computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timebasedforecastproperties.html#cfn-quicksight-dashboard-timebasedforecastproperties-upperboundary) */ override fun upperBoundary(): Number? = unwrap(this).getUpperBoundary() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TimeBasedForecastPropertiesProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeBasedForecastPropertiesProperty): TimeBasedForecastPropertiesProperty = CdkObjectWrappers.wrap(cdkObject) as? TimeBasedForecastPropertiesProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TimeBasedForecastPropertiesProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TimeBasedForecastPropertiesProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TimeBasedForecastPropertiesProperty } } /** * A `TimeEqualityFilter` filters values that are equal to a given value. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TimeEqualityFilterProperty timeEqualityFilterProperty = TimeEqualityFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .filterId("filterId") * // the properties below are optional * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() * .controlOptions(DefaultFilterControlOptionsProperty.builder() * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build()) * .title("title") * .build()) * .parameterName("parameterName") * .rollingDate(RollingDateConfigurationProperty.builder() * .expression("expression") * // the properties below are optional * .dataSetIdentifier("dataSetIdentifier") * .build()) * .timeGranularity("timeGranularity") * .value("value") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html) */ public interface TimeEqualityFilterProperty { /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-column) */ public fun column(): Any /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-defaultfiltercontrolconfiguration) */ public fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-filterid) */ public fun filterId(): String /** * The parameter whose value should be used for the filter value. * * This field is mutually exclusive to `Value` and `RollingDate` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-parametername) */ public fun parameterName(): String? = unwrap(this).getParameterName() /** * The rolling date input for the `TimeEquality` filter. * * This field is mutually exclusive to `Value` and `ParameterName` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-rollingdate) */ public fun rollingDate(): Any? = unwrap(this).getRollingDate() /** * The level of time precision that is used to aggregate `DateTime` values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-timegranularity) */ public fun timeGranularity(): String? = unwrap(this).getTimeGranularity() /** * The value of a `TimeEquality` filter. * * This field is mutually exclusive to `RollingDate` and `ParameterName` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-value) */ public fun `value`(): String? = unwrap(this).getValue() /** * A builder for [TimeEqualityFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param column The column that the filter is applied to. */ public fun column(column: IResolvable) /** * @param column The column that the filter is applied to. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2a244a24b6419650cc0dc6e91eb3f80a8d237778199e98018a364dc8569275c1") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("37f5761842158d9fa0b9f75d752d76c7f409b2c8eebb5eb0f911e25b64976730") public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ public fun filterId(filterId: String) /** * @param parameterName The parameter whose value should be used for the filter value. * This field is mutually exclusive to `Value` and `RollingDate` . */ public fun parameterName(parameterName: String) /** * @param rollingDate The rolling date input for the `TimeEquality` filter. * This field is mutually exclusive to `Value` and `ParameterName` . */ public fun rollingDate(rollingDate: IResolvable) /** * @param rollingDate The rolling date input for the `TimeEquality` filter. * This field is mutually exclusive to `Value` and `ParameterName` . */ public fun rollingDate(rollingDate: RollingDateConfigurationProperty) /** * @param rollingDate The rolling date input for the `TimeEquality` filter. * This field is mutually exclusive to `Value` and `ParameterName` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8662a4ca60b4eacea3ebfca29388929fabc4b1435696654a84514647d15291d8") public fun rollingDate(rollingDate: RollingDateConfigurationProperty.Builder.() -> Unit) /** * @param timeGranularity The level of time precision that is used to aggregate `DateTime` * values. */ public fun timeGranularity(timeGranularity: String) /** * @param value The value of a `TimeEquality` filter. * This field is mutually exclusive to `RollingDate` and `ParameterName` . */ public fun `value`(`value`: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeEqualityFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TimeEqualityFilterProperty.builder() /** * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2a244a24b6419650cc0dc6e91eb3f80a8d237778199e98018a364dc8569275c1") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("37f5761842158d9fa0b9f75d752d76c7f409b2c8eebb5eb0f911e25b64976730") override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): Unit = defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ override fun filterId(filterId: String) { cdkBuilder.filterId(filterId) } /** * @param parameterName The parameter whose value should be used for the filter value. * This field is mutually exclusive to `Value` and `RollingDate` . */ override fun parameterName(parameterName: String) { cdkBuilder.parameterName(parameterName) } /** * @param rollingDate The rolling date input for the `TimeEquality` filter. * This field is mutually exclusive to `Value` and `ParameterName` . */ override fun rollingDate(rollingDate: IResolvable) { cdkBuilder.rollingDate(rollingDate.let(IResolvable.Companion::unwrap)) } /** * @param rollingDate The rolling date input for the `TimeEquality` filter. * This field is mutually exclusive to `Value` and `ParameterName` . */ override fun rollingDate(rollingDate: RollingDateConfigurationProperty) { cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty.Companion::unwrap)) } /** * @param rollingDate The rolling date input for the `TimeEquality` filter. * This field is mutually exclusive to `Value` and `ParameterName` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8662a4ca60b4eacea3ebfca29388929fabc4b1435696654a84514647d15291d8") override fun rollingDate(rollingDate: RollingDateConfigurationProperty.Builder.() -> Unit): Unit = rollingDate(RollingDateConfigurationProperty(rollingDate)) /** * @param timeGranularity The level of time precision that is used to aggregate `DateTime` * values. */ override fun timeGranularity(timeGranularity: String) { cdkBuilder.timeGranularity(timeGranularity) } /** * @param value The value of a `TimeEquality` filter. * This field is mutually exclusive to `RollingDate` and `ParameterName` . */ override fun `value`(`value`: String) { cdkBuilder.`value`(`value`) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TimeEqualityFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeEqualityFilterProperty, ) : CdkObject(cdkObject), TimeEqualityFilterProperty { /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-defaultfiltercontrolconfiguration) */ override fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-filterid) */ override fun filterId(): String = unwrap(this).getFilterId() /** * The parameter whose value should be used for the filter value. * * This field is mutually exclusive to `Value` and `RollingDate` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-parametername) */ override fun parameterName(): String? = unwrap(this).getParameterName() /** * The rolling date input for the `TimeEquality` filter. * * This field is mutually exclusive to `Value` and `ParameterName` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-rollingdate) */ override fun rollingDate(): Any? = unwrap(this).getRollingDate() /** * The level of time precision that is used to aggregate `DateTime` values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-timegranularity) */ override fun timeGranularity(): String? = unwrap(this).getTimeGranularity() /** * The value of a `TimeEquality` filter. * * This field is mutually exclusive to `RollingDate` and `ParameterName` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-value) */ override fun `value`(): String? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TimeEqualityFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeEqualityFilterProperty): TimeEqualityFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? TimeEqualityFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TimeEqualityFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TimeEqualityFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TimeEqualityFilterProperty } } /** * The time range drill down filter. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TimeRangeDrillDownFilterProperty timeRangeDrillDownFilterProperty = * TimeRangeDrillDownFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .rangeMaximum("rangeMaximum") * .rangeMinimum("rangeMinimum") * .timeGranularity("timeGranularity") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangedrilldownfilter.html) */ public interface TimeRangeDrillDownFilterProperty { /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangedrilldownfilter.html#cfn-quicksight-dashboard-timerangedrilldownfilter-column) */ public fun column(): Any /** * The maximum value for the filter value range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangedrilldownfilter.html#cfn-quicksight-dashboard-timerangedrilldownfilter-rangemaximum) */ public fun rangeMaximum(): String /** * The minimum value for the filter value range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangedrilldownfilter.html#cfn-quicksight-dashboard-timerangedrilldownfilter-rangeminimum) */ public fun rangeMinimum(): String /** * The level of time precision that is used to aggregate `DateTime` values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangedrilldownfilter.html#cfn-quicksight-dashboard-timerangedrilldownfilter-timegranularity) */ public fun timeGranularity(): String /** * A builder for [TimeRangeDrillDownFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param column The column that the filter is applied to. */ public fun column(column: IResolvable) /** * @param column The column that the filter is applied to. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f21e4d87277f0ff241acf915a2baa46791822d8b4a6a609eb9939a50c5a07e8a") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param rangeMaximum The maximum value for the filter value range. */ public fun rangeMaximum(rangeMaximum: String) /** * @param rangeMinimum The minimum value for the filter value range. */ public fun rangeMinimum(rangeMinimum: String) /** * @param timeGranularity The level of time precision that is used to aggregate `DateTime` * values. */ public fun timeGranularity(timeGranularity: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeDrillDownFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeDrillDownFilterProperty.builder() /** * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f21e4d87277f0ff241acf915a2baa46791822d8b4a6a609eb9939a50c5a07e8a") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param rangeMaximum The maximum value for the filter value range. */ override fun rangeMaximum(rangeMaximum: String) { cdkBuilder.rangeMaximum(rangeMaximum) } /** * @param rangeMinimum The minimum value for the filter value range. */ override fun rangeMinimum(rangeMinimum: String) { cdkBuilder.rangeMinimum(rangeMinimum) } /** * @param timeGranularity The level of time precision that is used to aggregate `DateTime` * values. */ override fun timeGranularity(timeGranularity: String) { cdkBuilder.timeGranularity(timeGranularity) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeDrillDownFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeDrillDownFilterProperty, ) : CdkObject(cdkObject), TimeRangeDrillDownFilterProperty { /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangedrilldownfilter.html#cfn-quicksight-dashboard-timerangedrilldownfilter-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The maximum value for the filter value range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangedrilldownfilter.html#cfn-quicksight-dashboard-timerangedrilldownfilter-rangemaximum) */ override fun rangeMaximum(): String = unwrap(this).getRangeMaximum() /** * The minimum value for the filter value range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangedrilldownfilter.html#cfn-quicksight-dashboard-timerangedrilldownfilter-rangeminimum) */ override fun rangeMinimum(): String = unwrap(this).getRangeMinimum() /** * The level of time precision that is used to aggregate `DateTime` values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangedrilldownfilter.html#cfn-quicksight-dashboard-timerangedrilldownfilter-timegranularity) */ override fun timeGranularity(): String = unwrap(this).getTimeGranularity() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TimeRangeDrillDownFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeDrillDownFilterProperty): TimeRangeDrillDownFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? TimeRangeDrillDownFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TimeRangeDrillDownFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeDrillDownFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeDrillDownFilterProperty } } /** * A `TimeRangeFilter` filters values that are between two specified values. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TimeRangeFilterProperty timeRangeFilterProperty = TimeRangeFilterProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .filterId("filterId") * .nullOption("nullOption") * // the properties below are optional * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() * .controlOptions(DefaultFilterControlOptionsProperty.builder() * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build()) * .title("title") * .build()) * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() * .amount(123) * .granularity("granularity") * // the properties below are optional * .status("status") * .build()) * .includeMaximum(false) * .includeMinimum(false) * .rangeMaximumValue(TimeRangeFilterValueProperty.builder() * .parameter("parameter") * .rollingDate(RollingDateConfigurationProperty.builder() * .expression("expression") * // the properties below are optional * .dataSetIdentifier("dataSetIdentifier") * .build()) * .staticValue("staticValue") * .build()) * .rangeMinimumValue(TimeRangeFilterValueProperty.builder() * .parameter("parameter") * .rollingDate(RollingDateConfigurationProperty.builder() * .expression("expression") * // the properties below are optional * .dataSetIdentifier("dataSetIdentifier") * .build()) * .staticValue("staticValue") * .build()) * .timeGranularity("timeGranularity") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html) */ public interface TimeRangeFilterProperty { /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-column) */ public fun column(): Any /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-defaultfiltercontrolconfiguration) */ public fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * The exclude period of the time range filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-excludeperiodconfiguration) */ public fun excludePeriodConfiguration(): Any? = unwrap(this).getExcludePeriodConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-filterid) */ public fun filterId(): String /** * Determines whether the maximum value in the filter value range should be included in the * filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-includemaximum) */ public fun includeMaximum(): Any? = unwrap(this).getIncludeMaximum() /** * Determines whether the minimum value in the filter value range should be included in the * filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-includeminimum) */ public fun includeMinimum(): Any? = unwrap(this).getIncludeMinimum() /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-nulloption) */ public fun nullOption(): String /** * The maximum value for the filter value range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-rangemaximumvalue) */ public fun rangeMaximumValue(): Any? = unwrap(this).getRangeMaximumValue() /** * The minimum value for the filter value range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-rangeminimumvalue) */ public fun rangeMinimumValue(): Any? = unwrap(this).getRangeMinimumValue() /** * The level of time precision that is used to aggregate `DateTime` values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-timegranularity) */ public fun timeGranularity(): String? = unwrap(this).getTimeGranularity() /** * A builder for [TimeRangeFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param column The column that the filter is applied to. */ public fun column(column: IResolvable) /** * @param column The column that the filter is applied to. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cf20408749f43e28ac34a02a88541c7092730a90b3dc391e6d1b9bff8afec725") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("553451a9d178eb8859a71737c1d18705390673bf2c83b8ccf62ae572d22ccddd") public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) /** * @param excludePeriodConfiguration The exclude period of the time range filter. */ public fun excludePeriodConfiguration(excludePeriodConfiguration: IResolvable) /** * @param excludePeriodConfiguration The exclude period of the time range filter. */ public fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty) /** * @param excludePeriodConfiguration The exclude period of the time range filter. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3415807e4f8137eb401b0cdcb6301ad41bf883ec18b73c4bd512196885e76c07") public fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty.Builder.() -> Unit) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ public fun filterId(filterId: String) /** * @param includeMaximum Determines whether the maximum value in the filter value range should * be included in the filtered results. */ public fun includeMaximum(includeMaximum: Boolean) /** * @param includeMaximum Determines whether the maximum value in the filter value range should * be included in the filtered results. */ public fun includeMaximum(includeMaximum: IResolvable) /** * @param includeMinimum Determines whether the minimum value in the filter value range should * be included in the filtered results. */ public fun includeMinimum(includeMinimum: Boolean) /** * @param includeMinimum Determines whether the minimum value in the filter value range should * be included in the filtered results. */ public fun includeMinimum(includeMinimum: IResolvable) /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ public fun nullOption(nullOption: String) /** * @param rangeMaximumValue The maximum value for the filter value range. */ public fun rangeMaximumValue(rangeMaximumValue: IResolvable) /** * @param rangeMaximumValue The maximum value for the filter value range. */ public fun rangeMaximumValue(rangeMaximumValue: TimeRangeFilterValueProperty) /** * @param rangeMaximumValue The maximum value for the filter value range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("646094fd2bccf70c8470524cc2a63ce48fe17ec05b68741cd9eaee98c42a0a10") public fun rangeMaximumValue(rangeMaximumValue: TimeRangeFilterValueProperty.Builder.() -> Unit) /** * @param rangeMinimumValue The minimum value for the filter value range. */ public fun rangeMinimumValue(rangeMinimumValue: IResolvable) /** * @param rangeMinimumValue The minimum value for the filter value range. */ public fun rangeMinimumValue(rangeMinimumValue: TimeRangeFilterValueProperty) /** * @param rangeMinimumValue The minimum value for the filter value range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("439f35086dcc44d3ce8c33e5f5f87449c98163ad41c15368a19dc2065dc217a8") public fun rangeMinimumValue(rangeMinimumValue: TimeRangeFilterValueProperty.Builder.() -> Unit) /** * @param timeGranularity The level of time precision that is used to aggregate `DateTime` * values. */ public fun timeGranularity(timeGranularity: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterProperty.builder() /** * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cf20408749f43e28ac34a02a88541c7092730a90b3dc391e6d1b9bff8afec725") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("553451a9d178eb8859a71737c1d18705390673bf2c83b8ccf62ae572d22ccddd") override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): Unit = defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) /** * @param excludePeriodConfiguration The exclude period of the time range filter. */ override fun excludePeriodConfiguration(excludePeriodConfiguration: IResolvable) { cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param excludePeriodConfiguration The exclude period of the time range filter. */ override fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty) { cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty.Companion::unwrap)) } /** * @param excludePeriodConfiguration The exclude period of the time range filter. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3415807e4f8137eb401b0cdcb6301ad41bf883ec18b73c4bd512196885e76c07") override fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty.Builder.() -> Unit): Unit = excludePeriodConfiguration(ExcludePeriodConfigurationProperty(excludePeriodConfiguration)) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ override fun filterId(filterId: String) { cdkBuilder.filterId(filterId) } /** * @param includeMaximum Determines whether the maximum value in the filter value range should * be included in the filtered results. */ override fun includeMaximum(includeMaximum: Boolean) { cdkBuilder.includeMaximum(includeMaximum) } /** * @param includeMaximum Determines whether the maximum value in the filter value range should * be included in the filtered results. */ override fun includeMaximum(includeMaximum: IResolvable) { cdkBuilder.includeMaximum(includeMaximum.let(IResolvable.Companion::unwrap)) } /** * @param includeMinimum Determines whether the minimum value in the filter value range should * be included in the filtered results. */ override fun includeMinimum(includeMinimum: Boolean) { cdkBuilder.includeMinimum(includeMinimum) } /** * @param includeMinimum Determines whether the minimum value in the filter value range should * be included in the filtered results. */ override fun includeMinimum(includeMinimum: IResolvable) { cdkBuilder.includeMinimum(includeMinimum.let(IResolvable.Companion::unwrap)) } /** * @param nullOption This option determines how null values should be treated when filtering * data. * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. */ override fun nullOption(nullOption: String) { cdkBuilder.nullOption(nullOption) } /** * @param rangeMaximumValue The maximum value for the filter value range. */ override fun rangeMaximumValue(rangeMaximumValue: IResolvable) { cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(IResolvable.Companion::unwrap)) } /** * @param rangeMaximumValue The maximum value for the filter value range. */ override fun rangeMaximumValue(rangeMaximumValue: TimeRangeFilterValueProperty) { cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(TimeRangeFilterValueProperty.Companion::unwrap)) } /** * @param rangeMaximumValue The maximum value for the filter value range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("646094fd2bccf70c8470524cc2a63ce48fe17ec05b68741cd9eaee98c42a0a10") override fun rangeMaximumValue(rangeMaximumValue: TimeRangeFilterValueProperty.Builder.() -> Unit): Unit = rangeMaximumValue(TimeRangeFilterValueProperty(rangeMaximumValue)) /** * @param rangeMinimumValue The minimum value for the filter value range. */ override fun rangeMinimumValue(rangeMinimumValue: IResolvable) { cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(IResolvable.Companion::unwrap)) } /** * @param rangeMinimumValue The minimum value for the filter value range. */ override fun rangeMinimumValue(rangeMinimumValue: TimeRangeFilterValueProperty) { cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(TimeRangeFilterValueProperty.Companion::unwrap)) } /** * @param rangeMinimumValue The minimum value for the filter value range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("439f35086dcc44d3ce8c33e5f5f87449c98163ad41c15368a19dc2065dc217a8") override fun rangeMinimumValue(rangeMinimumValue: TimeRangeFilterValueProperty.Builder.() -> Unit): Unit = rangeMinimumValue(TimeRangeFilterValueProperty(rangeMinimumValue)) /** * @param timeGranularity The level of time precision that is used to aggregate `DateTime` * values. */ override fun timeGranularity(timeGranularity: String) { cdkBuilder.timeGranularity(timeGranularity) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterProperty, ) : CdkObject(cdkObject), TimeRangeFilterProperty { /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-defaultfiltercontrolconfiguration) */ override fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * The exclude period of the time range filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-excludeperiodconfiguration) */ override fun excludePeriodConfiguration(): Any? = unwrap(this).getExcludePeriodConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-filterid) */ override fun filterId(): String = unwrap(this).getFilterId() /** * Determines whether the maximum value in the filter value range should be included in the * filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-includemaximum) */ override fun includeMaximum(): Any? = unwrap(this).getIncludeMaximum() /** * Determines whether the minimum value in the filter value range should be included in the * filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-includeminimum) */ override fun includeMinimum(): Any? = unwrap(this).getIncludeMinimum() /** * This option determines how null values should be treated when filtering data. * * * `ALL_VALUES` : Include null values in filtered results. * * `NULLS_ONLY` : Only include null values in filtered results. * * `NON_NULLS_ONLY` : Exclude null values from filtered results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-nulloption) */ override fun nullOption(): String = unwrap(this).getNullOption() /** * The maximum value for the filter value range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-rangemaximumvalue) */ override fun rangeMaximumValue(): Any? = unwrap(this).getRangeMaximumValue() /** * The minimum value for the filter value range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-rangeminimumvalue) */ override fun rangeMinimumValue(): Any? = unwrap(this).getRangeMinimumValue() /** * The level of time precision that is used to aggregate `DateTime` values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-timegranularity) */ override fun timeGranularity(): String? = unwrap(this).getTimeGranularity() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TimeRangeFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterProperty): TimeRangeFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? TimeRangeFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TimeRangeFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterProperty } } /** * The value of a time range filter. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TimeRangeFilterValueProperty timeRangeFilterValueProperty = * TimeRangeFilterValueProperty.builder() * .parameter("parameter") * .rollingDate(RollingDateConfigurationProperty.builder() * .expression("expression") * // the properties below are optional * .dataSetIdentifier("dataSetIdentifier") * .build()) * .staticValue("staticValue") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefiltervalue.html) */ public interface TimeRangeFilterValueProperty { /** * The parameter type input value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefiltervalue.html#cfn-quicksight-dashboard-timerangefiltervalue-parameter) */ public fun parameter(): String? = unwrap(this).getParameter() /** * The rolling date input value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefiltervalue.html#cfn-quicksight-dashboard-timerangefiltervalue-rollingdate) */ public fun rollingDate(): Any? = unwrap(this).getRollingDate() /** * The static input value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefiltervalue.html#cfn-quicksight-dashboard-timerangefiltervalue-staticvalue) */ public fun staticValue(): String? = unwrap(this).getStaticValue() /** * A builder for [TimeRangeFilterValueProperty] */ @CdkDslMarker public interface Builder { /** * @param parameter The parameter type input value. */ public fun parameter(parameter: String) /** * @param rollingDate The rolling date input value. */ public fun rollingDate(rollingDate: IResolvable) /** * @param rollingDate The rolling date input value. */ public fun rollingDate(rollingDate: RollingDateConfigurationProperty) /** * @param rollingDate The rolling date input value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8b43290d68a0109455fcf99ad4f934043d231ffca4243902c44963cd74fc27ef") public fun rollingDate(rollingDate: RollingDateConfigurationProperty.Builder.() -> Unit) /** * @param staticValue The static input value. */ public fun staticValue(staticValue: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterValueProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterValueProperty.builder() /** * @param parameter The parameter type input value. */ override fun parameter(parameter: String) { cdkBuilder.parameter(parameter) } /** * @param rollingDate The rolling date input value. */ override fun rollingDate(rollingDate: IResolvable) { cdkBuilder.rollingDate(rollingDate.let(IResolvable.Companion::unwrap)) } /** * @param rollingDate The rolling date input value. */ override fun rollingDate(rollingDate: RollingDateConfigurationProperty) { cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty.Companion::unwrap)) } /** * @param rollingDate The rolling date input value. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8b43290d68a0109455fcf99ad4f934043d231ffca4243902c44963cd74fc27ef") override fun rollingDate(rollingDate: RollingDateConfigurationProperty.Builder.() -> Unit): Unit = rollingDate(RollingDateConfigurationProperty(rollingDate)) /** * @param staticValue The static input value. */ override fun staticValue(staticValue: String) { cdkBuilder.staticValue(staticValue) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterValueProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterValueProperty, ) : CdkObject(cdkObject), TimeRangeFilterValueProperty { /** * The parameter type input value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefiltervalue.html#cfn-quicksight-dashboard-timerangefiltervalue-parameter) */ override fun parameter(): String? = unwrap(this).getParameter() /** * The rolling date input value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefiltervalue.html#cfn-quicksight-dashboard-timerangefiltervalue-rollingdate) */ override fun rollingDate(): Any? = unwrap(this).getRollingDate() /** * The static input value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefiltervalue.html#cfn-quicksight-dashboard-timerangefiltervalue-staticvalue) */ override fun staticValue(): String? = unwrap(this).getStaticValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TimeRangeFilterValueProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterValueProperty): TimeRangeFilterValueProperty = CdkObjectWrappers.wrap(cdkObject) as? TimeRangeFilterValueProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TimeRangeFilterValueProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterValueProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TimeRangeFilterValueProperty } } /** * The tooltip. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TooltipItemProperty tooltipItemProperty = TooltipItemProperty.builder() * .columnTooltipItem(ColumnTooltipItemProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregation(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .label("label") * .tooltipTarget("tooltipTarget") * .visibility("visibility") * .build()) * .fieldTooltipItem(FieldTooltipItemProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .label("label") * .tooltipTarget("tooltipTarget") * .visibility("visibility") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tooltipitem.html) */ public interface TooltipItemProperty { /** * The tooltip item for the columns that are not part of a field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tooltipitem.html#cfn-quicksight-dashboard-tooltipitem-columntooltipitem) */ public fun columnTooltipItem(): Any? = unwrap(this).getColumnTooltipItem() /** * The tooltip item for the fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tooltipitem.html#cfn-quicksight-dashboard-tooltipitem-fieldtooltipitem) */ public fun fieldTooltipItem(): Any? = unwrap(this).getFieldTooltipItem() /** * A builder for [TooltipItemProperty] */ @CdkDslMarker public interface Builder { /** * @param columnTooltipItem The tooltip item for the columns that are not part of a field * well. */ public fun columnTooltipItem(columnTooltipItem: IResolvable) /** * @param columnTooltipItem The tooltip item for the columns that are not part of a field * well. */ public fun columnTooltipItem(columnTooltipItem: ColumnTooltipItemProperty) /** * @param columnTooltipItem The tooltip item for the columns that are not part of a field * well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8784678449df2c3db80af2b94014b4924d0331d23a32551ac3d512f0d790eba8") public fun columnTooltipItem(columnTooltipItem: ColumnTooltipItemProperty.Builder.() -> Unit) /** * @param fieldTooltipItem The tooltip item for the fields. */ public fun fieldTooltipItem(fieldTooltipItem: IResolvable) /** * @param fieldTooltipItem The tooltip item for the fields. */ public fun fieldTooltipItem(fieldTooltipItem: FieldTooltipItemProperty) /** * @param fieldTooltipItem The tooltip item for the fields. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("54c9656334b8e5cc33c5b830d2cf809053367e06ccdf0c52cd4cc88788bdc749") public fun fieldTooltipItem(fieldTooltipItem: FieldTooltipItemProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipItemProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipItemProperty.builder() /** * @param columnTooltipItem The tooltip item for the columns that are not part of a field * well. */ override fun columnTooltipItem(columnTooltipItem: IResolvable) { cdkBuilder.columnTooltipItem(columnTooltipItem.let(IResolvable.Companion::unwrap)) } /** * @param columnTooltipItem The tooltip item for the columns that are not part of a field * well. */ override fun columnTooltipItem(columnTooltipItem: ColumnTooltipItemProperty) { cdkBuilder.columnTooltipItem(columnTooltipItem.let(ColumnTooltipItemProperty.Companion::unwrap)) } /** * @param columnTooltipItem The tooltip item for the columns that are not part of a field * well. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8784678449df2c3db80af2b94014b4924d0331d23a32551ac3d512f0d790eba8") override fun columnTooltipItem(columnTooltipItem: ColumnTooltipItemProperty.Builder.() -> Unit): Unit = columnTooltipItem(ColumnTooltipItemProperty(columnTooltipItem)) /** * @param fieldTooltipItem The tooltip item for the fields. */ override fun fieldTooltipItem(fieldTooltipItem: IResolvable) { cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(IResolvable.Companion::unwrap)) } /** * @param fieldTooltipItem The tooltip item for the fields. */ override fun fieldTooltipItem(fieldTooltipItem: FieldTooltipItemProperty) { cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(FieldTooltipItemProperty.Companion::unwrap)) } /** * @param fieldTooltipItem The tooltip item for the fields. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("54c9656334b8e5cc33c5b830d2cf809053367e06ccdf0c52cd4cc88788bdc749") override fun fieldTooltipItem(fieldTooltipItem: FieldTooltipItemProperty.Builder.() -> Unit): Unit = fieldTooltipItem(FieldTooltipItemProperty(fieldTooltipItem)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipItemProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipItemProperty, ) : CdkObject(cdkObject), TooltipItemProperty { /** * The tooltip item for the columns that are not part of a field well. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tooltipitem.html#cfn-quicksight-dashboard-tooltipitem-columntooltipitem) */ override fun columnTooltipItem(): Any? = unwrap(this).getColumnTooltipItem() /** * The tooltip item for the fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tooltipitem.html#cfn-quicksight-dashboard-tooltipitem-fieldtooltipitem) */ override fun fieldTooltipItem(): Any? = unwrap(this).getFieldTooltipItem() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TooltipItemProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipItemProperty): TooltipItemProperty = CdkObjectWrappers.wrap(cdkObject) as? TooltipItemProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TooltipItemProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipItemProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipItemProperty } } /** * The display options for the visual tooltip. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TooltipOptionsProperty tooltipOptionsProperty = TooltipOptionsProperty.builder() * .fieldBasedTooltip(FieldBasedTooltipProperty.builder() * .aggregationVisibility("aggregationVisibility") * .tooltipFields(List.of(TooltipItemProperty.builder() * .columnTooltipItem(ColumnTooltipItemProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregation(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .label("label") * .tooltipTarget("tooltipTarget") * .visibility("visibility") * .build()) * .fieldTooltipItem(FieldTooltipItemProperty.builder() * .fieldId("fieldId") * // the properties below are optional * .label("label") * .tooltipTarget("tooltipTarget") * .visibility("visibility") * .build()) * .build())) * .tooltipTitleType("tooltipTitleType") * .build()) * .selectedTooltipType("selectedTooltipType") * .tooltipVisibility("tooltipVisibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tooltipoptions.html) */ public interface TooltipOptionsProperty { /** * The setup for the detailed tooltip. * * The tooltip setup is always saved. The display type is decided based on the tooltip type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tooltipoptions.html#cfn-quicksight-dashboard-tooltipoptions-fieldbasedtooltip) */ public fun fieldBasedTooltip(): Any? = unwrap(this).getFieldBasedTooltip() /** * The selected type for the tooltip. Choose one of the following options:. * * * `BASIC` : A basic tooltip. * * `DETAILED` : A detailed tooltip. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tooltipoptions.html#cfn-quicksight-dashboard-tooltipoptions-selectedtooltiptype) */ public fun selectedTooltipType(): String? = unwrap(this).getSelectedTooltipType() /** * Determines whether or not the tooltip is visible. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tooltipoptions.html#cfn-quicksight-dashboard-tooltipoptions-tooltipvisibility) */ public fun tooltipVisibility(): String? = unwrap(this).getTooltipVisibility() /** * A builder for [TooltipOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldBasedTooltip The setup for the detailed tooltip. * The tooltip setup is always saved. The display type is decided based on the tooltip type. */ public fun fieldBasedTooltip(fieldBasedTooltip: IResolvable) /** * @param fieldBasedTooltip The setup for the detailed tooltip. * The tooltip setup is always saved. The display type is decided based on the tooltip type. */ public fun fieldBasedTooltip(fieldBasedTooltip: FieldBasedTooltipProperty) /** * @param fieldBasedTooltip The setup for the detailed tooltip. * The tooltip setup is always saved. The display type is decided based on the tooltip type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("387f37557a8b19ccf3f0a6d624ebb7153f868b1b1457f57294e8fa24351dbcf0") public fun fieldBasedTooltip(fieldBasedTooltip: FieldBasedTooltipProperty.Builder.() -> Unit) /** * @param selectedTooltipType The selected type for the tooltip. Choose one of the following * options:. * * `BASIC` : A basic tooltip. * * `DETAILED` : A detailed tooltip. */ public fun selectedTooltipType(selectedTooltipType: String) /** * @param tooltipVisibility Determines whether or not the tooltip is visible. */ public fun tooltipVisibility(tooltipVisibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipOptionsProperty.builder() /** * @param fieldBasedTooltip The setup for the detailed tooltip. * The tooltip setup is always saved. The display type is decided based on the tooltip type. */ override fun fieldBasedTooltip(fieldBasedTooltip: IResolvable) { cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(IResolvable.Companion::unwrap)) } /** * @param fieldBasedTooltip The setup for the detailed tooltip. * The tooltip setup is always saved. The display type is decided based on the tooltip type. */ override fun fieldBasedTooltip(fieldBasedTooltip: FieldBasedTooltipProperty) { cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(FieldBasedTooltipProperty.Companion::unwrap)) } /** * @param fieldBasedTooltip The setup for the detailed tooltip. * The tooltip setup is always saved. The display type is decided based on the tooltip type. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("387f37557a8b19ccf3f0a6d624ebb7153f868b1b1457f57294e8fa24351dbcf0") override fun fieldBasedTooltip(fieldBasedTooltip: FieldBasedTooltipProperty.Builder.() -> Unit): Unit = fieldBasedTooltip(FieldBasedTooltipProperty(fieldBasedTooltip)) /** * @param selectedTooltipType The selected type for the tooltip. Choose one of the following * options:. * * `BASIC` : A basic tooltip. * * `DETAILED` : A detailed tooltip. */ override fun selectedTooltipType(selectedTooltipType: String) { cdkBuilder.selectedTooltipType(selectedTooltipType) } /** * @param tooltipVisibility Determines whether or not the tooltip is visible. */ override fun tooltipVisibility(tooltipVisibility: String) { cdkBuilder.tooltipVisibility(tooltipVisibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipOptionsProperty, ) : CdkObject(cdkObject), TooltipOptionsProperty { /** * The setup for the detailed tooltip. * * The tooltip setup is always saved. The display type is decided based on the tooltip type. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tooltipoptions.html#cfn-quicksight-dashboard-tooltipoptions-fieldbasedtooltip) */ override fun fieldBasedTooltip(): Any? = unwrap(this).getFieldBasedTooltip() /** * The selected type for the tooltip. Choose one of the following options:. * * * `BASIC` : A basic tooltip. * * `DETAILED` : A detailed tooltip. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tooltipoptions.html#cfn-quicksight-dashboard-tooltipoptions-selectedtooltiptype) */ override fun selectedTooltipType(): String? = unwrap(this).getSelectedTooltipType() /** * Determines whether or not the tooltip is visible. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-tooltipoptions.html#cfn-quicksight-dashboard-tooltipoptions-tooltipvisibility) */ override fun tooltipVisibility(): String? = unwrap(this).getTooltipVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TooltipOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipOptionsProperty): TooltipOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? TooltipOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TooltipOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipOptionsProperty } } /** * A `TopBottomFilter` filters values that are at the top or the bottom. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TopBottomFilterProperty topBottomFilterProperty = TopBottomFilterProperty.builder() * .aggregationSortConfigurations(List.of(AggregationSortConfigurationProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sortDirection("sortDirection") * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build())) * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .filterId("filterId") * // the properties below are optional * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() * .controlOptions(DefaultFilterControlOptionsProperty.builder() * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() * .displayOptions(DropDownControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() * .displayOptions(ListControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .searchOptions(ListControlSearchOptionsProperty.builder() * .visibility("visibility") * .build()) * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .selectableValues(FilterSelectableValuesProperty.builder() * .values(List.of("values")) * .build()) * .type("type") * .build()) * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() * .dateTimeFormat("dateTimeFormat") * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() * .maximumValue(123) * .minimumValue(123) * .stepSize(123) * // the properties below are optional * .displayOptions(SliderControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .type("type") * .build()) * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() * .delimiter("delimiter") * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() * .infoIconText("infoIconText") * .visibility("visibility") * .build()) * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() * .visibility("visibility") * .build()) * .titleOptions(LabelOptionsProperty.builder() * .customLabel("customLabel") * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .visibility("visibility") * .build()) * .build()) * .build()) * .build()) * .title("title") * .build()) * .limit(123) * .parameterName("parameterName") * .timeGranularity("timeGranularity") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html) */ public interface TopBottomFilterProperty { /** * The aggregation and sort configuration of the top bottom filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-aggregationsortconfigurations) */ public fun aggregationSortConfigurations(): Any /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-column) */ public fun column(): Any /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-defaultfiltercontrolconfiguration) */ public fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-filterid) */ public fun filterId(): String /** * The number of items to include in the top bottom filter results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-limit) */ public fun limit(): Number? = unwrap(this).getLimit() /** * The parameter whose value should be used for the filter value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-parametername) */ public fun parameterName(): String? = unwrap(this).getParameterName() /** * The level of time precision that is used to aggregate `DateTime` values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-timegranularity) */ public fun timeGranularity(): String? = unwrap(this).getTimeGranularity() /** * A builder for [TopBottomFilterProperty] */ @CdkDslMarker public interface Builder { /** * @param aggregationSortConfigurations The aggregation and sort configuration of the top * bottom filter. */ public fun aggregationSortConfigurations(aggregationSortConfigurations: IResolvable) /** * @param aggregationSortConfigurations The aggregation and sort configuration of the top * bottom filter. */ public fun aggregationSortConfigurations(aggregationSortConfigurations: List) /** * @param aggregationSortConfigurations The aggregation and sort configuration of the top * bottom filter. */ public fun aggregationSortConfigurations(vararg aggregationSortConfigurations: Any) /** * @param column The column that the filter is applied to. */ public fun column(column: IResolvable) /** * @param column The column that the filter is applied to. */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9ea6146320283d646142ea490bc8803af3a1f80d9679f72cebbee008fe93e2ef") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("65a6adb910b2c42d9b90cfb09d6c8445ae6953bd6e14bf09c68e7bab13ea3c5c") public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ public fun filterId(filterId: String) /** * @param limit The number of items to include in the top bottom filter results. */ public fun limit(limit: Number) /** * @param parameterName The parameter whose value should be used for the filter value. */ public fun parameterName(parameterName: String) /** * @param timeGranularity The level of time precision that is used to aggregate `DateTime` * values. */ public fun timeGranularity(timeGranularity: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomFilterProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomFilterProperty.builder() /** * @param aggregationSortConfigurations The aggregation and sort configuration of the top * bottom filter. */ override fun aggregationSortConfigurations(aggregationSortConfigurations: IResolvable) { cdkBuilder.aggregationSortConfigurations(aggregationSortConfigurations.let(IResolvable.Companion::unwrap)) } /** * @param aggregationSortConfigurations The aggregation and sort configuration of the top * bottom filter. */ override fun aggregationSortConfigurations(aggregationSortConfigurations: List) { cdkBuilder.aggregationSortConfigurations(aggregationSortConfigurations.map{CdkObjectWrappers.unwrap(it)}) } /** * @param aggregationSortConfigurations The aggregation and sort configuration of the top * bottom filter. */ override fun aggregationSortConfigurations(vararg aggregationSortConfigurations: Any): Unit = aggregationSortConfigurations(aggregationSortConfigurations.toList()) /** * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9ea6146320283d646142ea490bc8803af3a1f80d9679f72cebbee008fe93e2ef") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) } /** * @param defaultFilterControlConfiguration The default configurations for the associated * controls. * This applies only for filters that are scoped to multiple sheets. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("65a6adb910b2c42d9b90cfb09d6c8445ae6953bd6e14bf09c68e7bab13ea3c5c") override fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): Unit = defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. */ override fun filterId(filterId: String) { cdkBuilder.filterId(filterId) } /** * @param limit The number of items to include in the top bottom filter results. */ override fun limit(limit: Number) { cdkBuilder.limit(limit) } /** * @param parameterName The parameter whose value should be used for the filter value. */ override fun parameterName(parameterName: String) { cdkBuilder.parameterName(parameterName) } /** * @param timeGranularity The level of time precision that is used to aggregate `DateTime` * values. */ override fun timeGranularity(timeGranularity: String) { cdkBuilder.timeGranularity(timeGranularity) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomFilterProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomFilterProperty, ) : CdkObject(cdkObject), TopBottomFilterProperty { /** * The aggregation and sort configuration of the top bottom filter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-aggregationsortconfigurations) */ override fun aggregationSortConfigurations(): Any = unwrap(this).getAggregationSortConfigurations() /** * The column that the filter is applied to. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The default configurations for the associated controls. * * This applies only for filters that are scoped to multiple sheets. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-defaultfiltercontrolconfiguration) */ override fun defaultFilterControlConfiguration(): Any? = unwrap(this).getDefaultFilterControlConfiguration() /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-filterid) */ override fun filterId(): String = unwrap(this).getFilterId() /** * The number of items to include in the top bottom filter results. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-limit) */ override fun limit(): Number? = unwrap(this).getLimit() /** * The parameter whose value should be used for the filter value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-parametername) */ override fun parameterName(): String? = unwrap(this).getParameterName() /** * The level of time precision that is used to aggregate `DateTime` values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-timegranularity) */ override fun timeGranularity(): String? = unwrap(this).getTimeGranularity() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TopBottomFilterProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomFilterProperty): TopBottomFilterProperty = CdkObjectWrappers.wrap(cdkObject) as? TopBottomFilterProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TopBottomFilterProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomFilterProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomFilterProperty } } /** * The top movers and bottom movers computation setup. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html) */ public interface TopBottomMoversComputationProperty { /** * The category field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-category) */ public fun category(): Any? = unwrap(this).getCategory() /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-computationid) */ public fun computationId(): String /** * The mover size setup of the top and bottom movers computation. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-moversize) */ public fun moverSize(): Number? = unwrap(this).getMoverSize() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-name) */ public fun name(): String? = unwrap(this).getName() /** * The sort order setup of the top and bottom movers computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-sortorder) */ public fun sortOrder(): String? = unwrap(this).getSortOrder() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-time) */ public fun time(): Any? = unwrap(this).getTime() /** * The computation type. Choose from the following options:. * * * TOP: Top movers computation. * * BOTTOM: Bottom movers computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-type) */ public fun type(): String /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-value) */ public fun `value`(): Any? = unwrap(this).getValue() /** * A builder for [TopBottomMoversComputationProperty] */ @CdkDslMarker public interface Builder { /** * @param category The category field that is used in a computation. */ public fun category(category: IResolvable) /** * @param category The category field that is used in a computation. */ public fun category(category: DimensionFieldProperty) /** * @param category The category field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6d609ef55eb59e0f5ddee6fd2f7a286744077d980c49ec3ceef5734d3502c3ec") public fun category(category: DimensionFieldProperty.Builder.() -> Unit) /** * @param computationId The ID for a computation. */ public fun computationId(computationId: String) /** * @param moverSize The mover size setup of the top and bottom movers computation. */ public fun moverSize(moverSize: Number) /** * @param name The name of a computation. */ public fun name(name: String) /** * @param sortOrder The sort order setup of the top and bottom movers computation. */ public fun sortOrder(sortOrder: String) /** * @param time The time field that is used in a computation. */ public fun time(time: IResolvable) /** * @param time The time field that is used in a computation. */ public fun time(time: DimensionFieldProperty) /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4045b22f2bc32d4d5083ecfaa7d82a12f7c3b8abb798594b059bd71165616da8") public fun time(time: DimensionFieldProperty.Builder.() -> Unit) /** * @param type The computation type. Choose from the following options:. * * TOP: Top movers computation. * * BOTTOM: Bottom movers computation. */ public fun type(type: String) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: IResolvable) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: MeasureFieldProperty) /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("df984460e4b2b3330bd698c4c9be8948976153ebeb4f7e80e24353dcb66d2224") public fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomMoversComputationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomMoversComputationProperty.builder() /** * @param category The category field that is used in a computation. */ override fun category(category: IResolvable) { cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ override fun category(category: DimensionFieldProperty) { cdkBuilder.category(category.let(DimensionFieldProperty.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6d609ef55eb59e0f5ddee6fd2f7a286744077d980c49ec3ceef5734d3502c3ec") override fun category(category: DimensionFieldProperty.Builder.() -> Unit): Unit = category(DimensionFieldProperty(category)) /** * @param computationId The ID for a computation. */ override fun computationId(computationId: String) { cdkBuilder.computationId(computationId) } /** * @param moverSize The mover size setup of the top and bottom movers computation. */ override fun moverSize(moverSize: Number) { cdkBuilder.moverSize(moverSize) } /** * @param name The name of a computation. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param sortOrder The sort order setup of the top and bottom movers computation. */ override fun sortOrder(sortOrder: String) { cdkBuilder.sortOrder(sortOrder) } /** * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4045b22f2bc32d4d5083ecfaa7d82a12f7c3b8abb798594b059bd71165616da8") override fun time(time: DimensionFieldProperty.Builder.() -> Unit): Unit = time(DimensionFieldProperty(time)) /** * @param type The computation type. Choose from the following options:. * * TOP: Top movers computation. * * BOTTOM: Bottom movers computation. */ override fun type(type: String) { cdkBuilder.type(type) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("df984460e4b2b3330bd698c4c9be8948976153ebeb4f7e80e24353dcb66d2224") override fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit): Unit = `value`(MeasureFieldProperty(`value`)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomMoversComputationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomMoversComputationProperty, ) : CdkObject(cdkObject), TopBottomMoversComputationProperty { /** * The category field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-category) */ override fun category(): Any? = unwrap(this).getCategory() /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-computationid) */ override fun computationId(): String = unwrap(this).getComputationId() /** * The mover size setup of the top and bottom movers computation. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-moversize) */ override fun moverSize(): Number? = unwrap(this).getMoverSize() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-name) */ override fun name(): String? = unwrap(this).getName() /** * The sort order setup of the top and bottom movers computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-sortorder) */ override fun sortOrder(): String? = unwrap(this).getSortOrder() /** * The time field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-time) */ override fun time(): Any? = unwrap(this).getTime() /** * The computation type. Choose from the following options:. * * * TOP: Top movers computation. * * BOTTOM: Bottom movers computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-type) */ override fun type(): String = unwrap(this).getType() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottommoverscomputation.html#cfn-quicksight-dashboard-topbottommoverscomputation-value) */ override fun `value`(): Any? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TopBottomMoversComputationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomMoversComputationProperty): TopBottomMoversComputationProperty = CdkObjectWrappers.wrap(cdkObject) as? TopBottomMoversComputationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TopBottomMoversComputationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomMoversComputationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomMoversComputationProperty } } /** * The top ranked and bottom ranked computation configuration. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html) */ public interface TopBottomRankedComputationProperty { /** * The category field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html#cfn-quicksight-dashboard-topbottomrankedcomputation-category) */ public fun category(): Any? = unwrap(this).getCategory() /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html#cfn-quicksight-dashboard-topbottomrankedcomputation-computationid) */ public fun computationId(): String /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html#cfn-quicksight-dashboard-topbottomrankedcomputation-name) */ public fun name(): String? = unwrap(this).getName() /** * The result size of a top and bottom ranked computation. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html#cfn-quicksight-dashboard-topbottomrankedcomputation-resultsize) */ public fun resultSize(): Number? = unwrap(this).getResultSize() /** * The computation type. Choose one of the following options:. * * * TOP: A top ranked computation. * * BOTTOM: A bottom ranked computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html#cfn-quicksight-dashboard-topbottomrankedcomputation-type) */ public fun type(): String /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html#cfn-quicksight-dashboard-topbottomrankedcomputation-value) */ public fun `value`(): Any? = unwrap(this).getValue() /** * A builder for [TopBottomRankedComputationProperty] */ @CdkDslMarker public interface Builder { /** * @param category The category field that is used in a computation. */ public fun category(category: IResolvable) /** * @param category The category field that is used in a computation. */ public fun category(category: DimensionFieldProperty) /** * @param category The category field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("74d6744432eec45fe025bc10a59eb5933a98270a50bcae4b34046715ca707679") public fun category(category: DimensionFieldProperty.Builder.() -> Unit) /** * @param computationId The ID for a computation. */ public fun computationId(computationId: String) /** * @param name The name of a computation. */ public fun name(name: String) /** * @param resultSize The result size of a top and bottom ranked computation. */ public fun resultSize(resultSize: Number) /** * @param type The computation type. Choose one of the following options:. * * TOP: A top ranked computation. * * BOTTOM: A bottom ranked computation. */ public fun type(type: String) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: IResolvable) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: MeasureFieldProperty) /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("27d5d77d0caf38727a3f8013b1a98c7757314d12a002357c4ca6e5befb70d037") public fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomRankedComputationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomRankedComputationProperty.builder() /** * @param category The category field that is used in a computation. */ override fun category(category: IResolvable) { cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ override fun category(category: DimensionFieldProperty) { cdkBuilder.category(category.let(DimensionFieldProperty.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("74d6744432eec45fe025bc10a59eb5933a98270a50bcae4b34046715ca707679") override fun category(category: DimensionFieldProperty.Builder.() -> Unit): Unit = category(DimensionFieldProperty(category)) /** * @param computationId The ID for a computation. */ override fun computationId(computationId: String) { cdkBuilder.computationId(computationId) } /** * @param name The name of a computation. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param resultSize The result size of a top and bottom ranked computation. */ override fun resultSize(resultSize: Number) { cdkBuilder.resultSize(resultSize) } /** * @param type The computation type. Choose one of the following options:. * * TOP: A top ranked computation. * * BOTTOM: A bottom ranked computation. */ override fun type(type: String) { cdkBuilder.type(type) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("27d5d77d0caf38727a3f8013b1a98c7757314d12a002357c4ca6e5befb70d037") override fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit): Unit = `value`(MeasureFieldProperty(`value`)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomRankedComputationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomRankedComputationProperty, ) : CdkObject(cdkObject), TopBottomRankedComputationProperty { /** * The category field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html#cfn-quicksight-dashboard-topbottomrankedcomputation-category) */ override fun category(): Any? = unwrap(this).getCategory() /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html#cfn-quicksight-dashboard-topbottomrankedcomputation-computationid) */ override fun computationId(): String = unwrap(this).getComputationId() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html#cfn-quicksight-dashboard-topbottomrankedcomputation-name) */ override fun name(): String? = unwrap(this).getName() /** * The result size of a top and bottom ranked computation. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html#cfn-quicksight-dashboard-topbottomrankedcomputation-resultsize) */ override fun resultSize(): Number? = unwrap(this).getResultSize() /** * The computation type. Choose one of the following options:. * * * TOP: A top ranked computation. * * BOTTOM: A bottom ranked computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html#cfn-quicksight-dashboard-topbottomrankedcomputation-type) */ override fun type(): String = unwrap(this).getType() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html#cfn-quicksight-dashboard-topbottomrankedcomputation-value) */ override fun `value`(): Any? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TopBottomRankedComputationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomRankedComputationProperty): TopBottomRankedComputationProperty = CdkObjectWrappers.wrap(cdkObject) as? TopBottomRankedComputationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TopBottomRankedComputationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomRankedComputationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomRankedComputationProperty } } /** * The total aggregation computation configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TotalAggregationComputationProperty totalAggregationComputationProperty = * TotalAggregationComputationProperty.builder() * .computationId("computationId") * // the properties below are optional * .name("name") * .value(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationcomputation.html) */ public interface TotalAggregationComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationcomputation.html#cfn-quicksight-dashboard-totalaggregationcomputation-computationid) */ public fun computationId(): String /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationcomputation.html#cfn-quicksight-dashboard-totalaggregationcomputation-name) */ public fun name(): String? = unwrap(this).getName() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationcomputation.html#cfn-quicksight-dashboard-totalaggregationcomputation-value) */ public fun `value`(): Any? = unwrap(this).getValue() /** * A builder for [TotalAggregationComputationProperty] */ @CdkDslMarker public interface Builder { /** * @param computationId The ID for a computation. */ public fun computationId(computationId: String) /** * @param name The name of a computation. */ public fun name(name: String) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: IResolvable) /** * @param value The value field that is used in a computation. */ public fun `value`(`value`: MeasureFieldProperty) /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("15e356cf2d5a0351d13e94d1ce65fc59f235315abaf6b845a6ab5df8b3bdc3b9") public fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationComputationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationComputationProperty.builder() /** * @param computationId The ID for a computation. */ override fun computationId(computationId: String) { cdkBuilder.computationId(computationId) } /** * @param name The name of a computation. */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("15e356cf2d5a0351d13e94d1ce65fc59f235315abaf6b845a6ab5df8b3bdc3b9") override fun `value`(`value`: MeasureFieldProperty.Builder.() -> Unit): Unit = `value`(MeasureFieldProperty(`value`)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationComputationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationComputationProperty, ) : CdkObject(cdkObject), TotalAggregationComputationProperty { /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationcomputation.html#cfn-quicksight-dashboard-totalaggregationcomputation-computationid) */ override fun computationId(): String = unwrap(this).getComputationId() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationcomputation.html#cfn-quicksight-dashboard-totalaggregationcomputation-name) */ override fun name(): String? = unwrap(this).getName() /** * The value field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationcomputation.html#cfn-quicksight-dashboard-totalaggregationcomputation-value) */ override fun `value`(): Any? = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TotalAggregationComputationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationComputationProperty): TotalAggregationComputationProperty = CdkObjectWrappers.wrap(cdkObject) as? TotalAggregationComputationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TotalAggregationComputationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationComputationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationComputationProperty } } /** * An aggregation function that aggregates the total values of a measure. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TotalAggregationFunctionProperty totalAggregationFunctionProperty = * TotalAggregationFunctionProperty.builder() * .simpleTotalAggregationFunction("simpleTotalAggregationFunction") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationfunction.html) */ public interface TotalAggregationFunctionProperty { /** * A built in aggregation function for total values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationfunction.html#cfn-quicksight-dashboard-totalaggregationfunction-simpletotalaggregationfunction) */ public fun simpleTotalAggregationFunction(): String? = unwrap(this).getSimpleTotalAggregationFunction() /** * A builder for [TotalAggregationFunctionProperty] */ @CdkDslMarker public interface Builder { /** * @param simpleTotalAggregationFunction A built in aggregation function for total values. */ public fun simpleTotalAggregationFunction(simpleTotalAggregationFunction: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationFunctionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationFunctionProperty.builder() /** * @param simpleTotalAggregationFunction A built in aggregation function for total values. */ override fun simpleTotalAggregationFunction(simpleTotalAggregationFunction: String) { cdkBuilder.simpleTotalAggregationFunction(simpleTotalAggregationFunction) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationFunctionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationFunctionProperty, ) : CdkObject(cdkObject), TotalAggregationFunctionProperty { /** * A built in aggregation function for total values. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationfunction.html#cfn-quicksight-dashboard-totalaggregationfunction-simpletotalaggregationfunction) */ override fun simpleTotalAggregationFunction(): String? = unwrap(this).getSimpleTotalAggregationFunction() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TotalAggregationFunctionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationFunctionProperty): TotalAggregationFunctionProperty = CdkObjectWrappers.wrap(cdkObject) as? TotalAggregationFunctionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TotalAggregationFunctionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationFunctionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationFunctionProperty } } /** * The total aggregation settings map of a field id. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TotalAggregationOptionProperty totalAggregationOptionProperty = * TotalAggregationOptionProperty.builder() * .fieldId("fieldId") * .totalAggregationFunction(TotalAggregationFunctionProperty.builder() * .simpleTotalAggregationFunction("simpleTotalAggregationFunction") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationoption.html) */ public interface TotalAggregationOptionProperty { /** * The field id that's associated with the total aggregation option. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationoption.html#cfn-quicksight-dashboard-totalaggregationoption-fieldid) */ public fun fieldId(): String /** * The total aggregation function that you want to set for a specified field id. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationoption.html#cfn-quicksight-dashboard-totalaggregationoption-totalaggregationfunction) */ public fun totalAggregationFunction(): Any /** * A builder for [TotalAggregationOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param fieldId The field id that's associated with the total aggregation option. */ public fun fieldId(fieldId: String) /** * @param totalAggregationFunction The total aggregation function that you want to set for a * specified field id. */ public fun totalAggregationFunction(totalAggregationFunction: IResolvable) /** * @param totalAggregationFunction The total aggregation function that you want to set for a * specified field id. */ public fun totalAggregationFunction(totalAggregationFunction: TotalAggregationFunctionProperty) /** * @param totalAggregationFunction The total aggregation function that you want to set for a * specified field id. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("688cfeb95b12721af20406bb29314b4a35902f15bb48f9e33d0914c18e9f4b34") public fun totalAggregationFunction(totalAggregationFunction: TotalAggregationFunctionProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationOptionProperty.builder() /** * @param fieldId The field id that's associated with the total aggregation option. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param totalAggregationFunction The total aggregation function that you want to set for a * specified field id. */ override fun totalAggregationFunction(totalAggregationFunction: IResolvable) { cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param totalAggregationFunction The total aggregation function that you want to set for a * specified field id. */ override fun totalAggregationFunction(totalAggregationFunction: TotalAggregationFunctionProperty) { cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(TotalAggregationFunctionProperty.Companion::unwrap)) } /** * @param totalAggregationFunction The total aggregation function that you want to set for a * specified field id. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("688cfeb95b12721af20406bb29314b4a35902f15bb48f9e33d0914c18e9f4b34") override fun totalAggregationFunction(totalAggregationFunction: TotalAggregationFunctionProperty.Builder.() -> Unit): Unit = totalAggregationFunction(TotalAggregationFunctionProperty(totalAggregationFunction)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationOptionProperty, ) : CdkObject(cdkObject), TotalAggregationOptionProperty { /** * The field id that's associated with the total aggregation option. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationoption.html#cfn-quicksight-dashboard-totalaggregationoption-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The total aggregation function that you want to set for a specified field id. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totalaggregationoption.html#cfn-quicksight-dashboard-totalaggregationoption-totalaggregationfunction) */ override fun totalAggregationFunction(): Any = unwrap(this).getTotalAggregationFunction() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TotalAggregationOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationOptionProperty): TotalAggregationOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? TotalAggregationOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TotalAggregationOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TotalAggregationOptionProperty } } /** * The total options for a table visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TotalOptionsProperty totalOptionsProperty = TotalOptionsProperty.builder() * .customLabel("customLabel") * .placement("placement") * .scrollStatus("scrollStatus") * .totalAggregationOptions(List.of(TotalAggregationOptionProperty.builder() * .fieldId("fieldId") * .totalAggregationFunction(TotalAggregationFunctionProperty.builder() * .simpleTotalAggregationFunction("simpleTotalAggregationFunction") * .build()) * .build())) * .totalCellStyle(TableCellStyleProperty.builder() * .backgroundColor("backgroundColor") * .border(GlobalTableBorderOptionsProperty.builder() * .sideSpecificBorder(TableSideBorderOptionsProperty.builder() * .bottom(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerHorizontal(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .innerVertical(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .left(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .right(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .top(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .uniformBorder(TableBorderOptionsProperty.builder() * .color("color") * .style("style") * .thickness(123) * .build()) * .build()) * .fontConfiguration(FontConfigurationProperty.builder() * .fontColor("fontColor") * .fontDecoration("fontDecoration") * .fontSize(FontSizeProperty.builder() * .relative("relative") * .build()) * .fontStyle("fontStyle") * .fontWeight(FontWeightProperty.builder() * .name("name") * .build()) * .build()) * .height(123) * .horizontalTextAlignment("horizontalTextAlignment") * .textWrap("textWrap") * .verticalTextAlignment("verticalTextAlignment") * .visibility("visibility") * .build()) * .totalsVisibility("totalsVisibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html) */ public interface TotalOptionsProperty { /** * The custom label string for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html#cfn-quicksight-dashboard-totaloptions-customlabel) */ public fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The placement (start, end) for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html#cfn-quicksight-dashboard-totaloptions-placement) */ public fun placement(): String? = unwrap(this).getPlacement() /** * The scroll status (pinned, scrolled) for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html#cfn-quicksight-dashboard-totaloptions-scrollstatus) */ public fun scrollStatus(): String? = unwrap(this).getScrollStatus() /** * The total aggregation settings for each value field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html#cfn-quicksight-dashboard-totaloptions-totalaggregationoptions) */ public fun totalAggregationOptions(): Any? = unwrap(this).getTotalAggregationOptions() /** * Cell styling options for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html#cfn-quicksight-dashboard-totaloptions-totalcellstyle) */ public fun totalCellStyle(): Any? = unwrap(this).getTotalCellStyle() /** * The visibility configuration for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html#cfn-quicksight-dashboard-totaloptions-totalsvisibility) */ public fun totalsVisibility(): String? = unwrap(this).getTotalsVisibility() /** * A builder for [TotalOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param customLabel The custom label string for the total cells. */ public fun customLabel(customLabel: String) /** * @param placement The placement (start, end) for the total cells. */ public fun placement(placement: String) /** * @param scrollStatus The scroll status (pinned, scrolled) for the total cells. */ public fun scrollStatus(scrollStatus: String) /** * @param totalAggregationOptions The total aggregation settings for each value field. */ public fun totalAggregationOptions(totalAggregationOptions: IResolvable) /** * @param totalAggregationOptions The total aggregation settings for each value field. */ public fun totalAggregationOptions(totalAggregationOptions: List) /** * @param totalAggregationOptions The total aggregation settings for each value field. */ public fun totalAggregationOptions(vararg totalAggregationOptions: Any) /** * @param totalCellStyle Cell styling options for the total cells. */ public fun totalCellStyle(totalCellStyle: IResolvable) /** * @param totalCellStyle Cell styling options for the total cells. */ public fun totalCellStyle(totalCellStyle: TableCellStyleProperty) /** * @param totalCellStyle Cell styling options for the total cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("158a1cf8601d3b91daeb71cf97a5ca1e5ee8e39803bc4b76076384439aa41597") public fun totalCellStyle(totalCellStyle: TableCellStyleProperty.Builder.() -> Unit) /** * @param totalsVisibility The visibility configuration for the total cells. */ public fun totalsVisibility(totalsVisibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TotalOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TotalOptionsProperty.builder() /** * @param customLabel The custom label string for the total cells. */ override fun customLabel(customLabel: String) { cdkBuilder.customLabel(customLabel) } /** * @param placement The placement (start, end) for the total cells. */ override fun placement(placement: String) { cdkBuilder.placement(placement) } /** * @param scrollStatus The scroll status (pinned, scrolled) for the total cells. */ override fun scrollStatus(scrollStatus: String) { cdkBuilder.scrollStatus(scrollStatus) } /** * @param totalAggregationOptions The total aggregation settings for each value field. */ override fun totalAggregationOptions(totalAggregationOptions: IResolvable) { cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable.Companion::unwrap)) } /** * @param totalAggregationOptions The total aggregation settings for each value field. */ override fun totalAggregationOptions(totalAggregationOptions: List) { cdkBuilder.totalAggregationOptions(totalAggregationOptions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param totalAggregationOptions The total aggregation settings for each value field. */ override fun totalAggregationOptions(vararg totalAggregationOptions: Any): Unit = totalAggregationOptions(totalAggregationOptions.toList()) /** * @param totalCellStyle Cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: IResolvable) { cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param totalCellStyle Cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: TableCellStyleProperty) { cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** * @param totalCellStyle Cell styling options for the total cells. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("158a1cf8601d3b91daeb71cf97a5ca1e5ee8e39803bc4b76076384439aa41597") override fun totalCellStyle(totalCellStyle: TableCellStyleProperty.Builder.() -> Unit): Unit = totalCellStyle(TableCellStyleProperty(totalCellStyle)) /** * @param totalsVisibility The visibility configuration for the total cells. */ override fun totalsVisibility(totalsVisibility: String) { cdkBuilder.totalsVisibility(totalsVisibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TotalOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TotalOptionsProperty, ) : CdkObject(cdkObject), TotalOptionsProperty { /** * The custom label string for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html#cfn-quicksight-dashboard-totaloptions-customlabel) */ override fun customLabel(): String? = unwrap(this).getCustomLabel() /** * The placement (start, end) for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html#cfn-quicksight-dashboard-totaloptions-placement) */ override fun placement(): String? = unwrap(this).getPlacement() /** * The scroll status (pinned, scrolled) for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html#cfn-quicksight-dashboard-totaloptions-scrollstatus) */ override fun scrollStatus(): String? = unwrap(this).getScrollStatus() /** * The total aggregation settings for each value field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html#cfn-quicksight-dashboard-totaloptions-totalaggregationoptions) */ override fun totalAggregationOptions(): Any? = unwrap(this).getTotalAggregationOptions() /** * Cell styling options for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html#cfn-quicksight-dashboard-totaloptions-totalcellstyle) */ override fun totalCellStyle(): Any? = unwrap(this).getTotalCellStyle() /** * The visibility configuration for the total cells. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-totaloptions.html#cfn-quicksight-dashboard-totaloptions-totalsvisibility) */ override fun totalsVisibility(): String? = unwrap(this).getTotalsVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TotalOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TotalOptionsProperty): TotalOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? TotalOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TotalOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TotalOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TotalOptionsProperty } } /** * Aggregated field wells of a tree map. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapaggregatedfieldwells.html) */ public interface TreeMapAggregatedFieldWellsProperty { /** * The color field well of a tree map. * * Values are grouped by aggregations based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapaggregatedfieldwells.html#cfn-quicksight-dashboard-treemapaggregatedfieldwells-colors) */ public fun colors(): Any? = unwrap(this).getColors() /** * The group by field well of a tree map. * * Values are grouped based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapaggregatedfieldwells.html#cfn-quicksight-dashboard-treemapaggregatedfieldwells-groups) */ public fun groups(): Any? = unwrap(this).getGroups() /** * The size field well of a tree map. * * Values are aggregated based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapaggregatedfieldwells.html#cfn-quicksight-dashboard-treemapaggregatedfieldwells-sizes) */ public fun sizes(): Any? = unwrap(this).getSizes() /** * A builder for [TreeMapAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param colors The color field well of a tree map. * Values are grouped by aggregations based on group by fields. */ public fun colors(colors: IResolvable) /** * @param colors The color field well of a tree map. * Values are grouped by aggregations based on group by fields. */ public fun colors(colors: List) /** * @param colors The color field well of a tree map. * Values are grouped by aggregations based on group by fields. */ public fun colors(vararg colors: Any) /** * @param groups The group by field well of a tree map. * Values are grouped based on group by fields. */ public fun groups(groups: IResolvable) /** * @param groups The group by field well of a tree map. * Values are grouped based on group by fields. */ public fun groups(groups: List) /** * @param groups The group by field well of a tree map. * Values are grouped based on group by fields. */ public fun groups(vararg groups: Any) /** * @param sizes The size field well of a tree map. * Values are aggregated based on group by fields. */ public fun sizes(sizes: IResolvable) /** * @param sizes The size field well of a tree map. * Values are aggregated based on group by fields. */ public fun sizes(sizes: List) /** * @param sizes The size field well of a tree map. * Values are aggregated based on group by fields. */ public fun sizes(vararg sizes: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapAggregatedFieldWellsProperty.builder() /** * @param colors The color field well of a tree map. * Values are grouped by aggregations based on group by fields. */ override fun colors(colors: IResolvable) { cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** * @param colors The color field well of a tree map. * Values are grouped by aggregations based on group by fields. */ override fun colors(colors: List) { cdkBuilder.colors(colors.map{CdkObjectWrappers.unwrap(it)}) } /** * @param colors The color field well of a tree map. * Values are grouped by aggregations based on group by fields. */ override fun colors(vararg colors: Any): Unit = colors(colors.toList()) /** * @param groups The group by field well of a tree map. * Values are grouped based on group by fields. */ override fun groups(groups: IResolvable) { cdkBuilder.groups(groups.let(IResolvable.Companion::unwrap)) } /** * @param groups The group by field well of a tree map. * Values are grouped based on group by fields. */ override fun groups(groups: List) { cdkBuilder.groups(groups.map{CdkObjectWrappers.unwrap(it)}) } /** * @param groups The group by field well of a tree map. * Values are grouped based on group by fields. */ override fun groups(vararg groups: Any): Unit = groups(groups.toList()) /** * @param sizes The size field well of a tree map. * Values are aggregated based on group by fields. */ override fun sizes(sizes: IResolvable) { cdkBuilder.sizes(sizes.let(IResolvable.Companion::unwrap)) } /** * @param sizes The size field well of a tree map. * Values are aggregated based on group by fields. */ override fun sizes(sizes: List) { cdkBuilder.sizes(sizes.map{CdkObjectWrappers.unwrap(it)}) } /** * @param sizes The size field well of a tree map. * Values are aggregated based on group by fields. */ override fun sizes(vararg sizes: Any): Unit = sizes(sizes.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), TreeMapAggregatedFieldWellsProperty { /** * The color field well of a tree map. * * Values are grouped by aggregations based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapaggregatedfieldwells.html#cfn-quicksight-dashboard-treemapaggregatedfieldwells-colors) */ override fun colors(): Any? = unwrap(this).getColors() /** * The group by field well of a tree map. * * Values are grouped based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapaggregatedfieldwells.html#cfn-quicksight-dashboard-treemapaggregatedfieldwells-groups) */ override fun groups(): Any? = unwrap(this).getGroups() /** * The size field well of a tree map. * * Values are aggregated based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapaggregatedfieldwells.html#cfn-quicksight-dashboard-treemapaggregatedfieldwells-sizes) */ override fun sizes(): Any? = unwrap(this).getSizes() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TreeMapAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapAggregatedFieldWellsProperty): TreeMapAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? TreeMapAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TreeMapAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapAggregatedFieldWellsProperty } } /** * The configuration of a tree map. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html) */ public interface TreeMapConfigurationProperty { /** * The label options (label text, label visibility) for the colors displayed in a tree map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-colorlabeloptions) */ public fun colorLabelOptions(): Any? = unwrap(this).getColorLabelOptions() /** * The color options (gradient color, point of divergence) of a tree map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-colorscale) */ public fun colorScale(): Any? = unwrap(this).getColorScale() /** * The options that determine if visual data labels are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-datalabels) */ public fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The label options (label text, label visibility) of the groups that are displayed in a tree * map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-grouplabeloptions) */ public fun groupLabelOptions(): Any? = unwrap(this).getGroupLabelOptions() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-legend) */ public fun legend(): Any? = unwrap(this).getLegend() /** * The label options (label text, label visibility) of the sizes that are displayed in a tree * map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-sizelabeloptions) */ public fun sizeLabelOptions(): Any? = unwrap(this).getSizeLabelOptions() /** * The sort configuration of a tree map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-tooltip) */ public fun tooltip(): Any? = unwrap(this).getTooltip() /** * A builder for [TreeMapConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param colorLabelOptions The label options (label text, label visibility) for the colors * displayed in a tree map. */ public fun colorLabelOptions(colorLabelOptions: IResolvable) /** * @param colorLabelOptions The label options (label text, label visibility) for the colors * displayed in a tree map. */ public fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) /** * @param colorLabelOptions The label options (label text, label visibility) for the colors * displayed in a tree map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ed19117462a45e42972bda69a3bd07ba119b95e79fba40e11bc1f46901f70ecb") public fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param colorScale The color options (gradient color, point of divergence) of a tree map. */ public fun colorScale(colorScale: IResolvable) /** * @param colorScale The color options (gradient color, point of divergence) of a tree map. */ public fun colorScale(colorScale: ColorScaleProperty) /** * @param colorScale The color options (gradient color, point of divergence) of a tree map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2144de94c696e5441bf09843c00a13fa3fd1144d857e6981eb788d65e9af2aa9") public fun colorScale(colorScale: ColorScaleProperty.Builder.() -> Unit) /** * @param dataLabels The options that determine if visual data labels are displayed. */ public fun dataLabels(dataLabels: IResolvable) /** * @param dataLabels The options that determine if visual data labels are displayed. */ public fun dataLabels(dataLabels: DataLabelOptionsProperty) /** * @param dataLabels The options that determine if visual data labels are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ee3f8d929ea38f5ea9041e82b87aa574c107646bfe1f082462a567f52ed16a20") public fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: TreeMapFieldWellsProperty) /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f92cdf52ad8f199b04a67a204bd50e0a1e79f598765d799cfdb261784e333522") public fun fieldWells(fieldWells: TreeMapFieldWellsProperty.Builder.() -> Unit) /** * @param groupLabelOptions The label options (label text, label visibility) of the groups * that are displayed in a tree map. */ public fun groupLabelOptions(groupLabelOptions: IResolvable) /** * @param groupLabelOptions The label options (label text, label visibility) of the groups * that are displayed in a tree map. */ public fun groupLabelOptions(groupLabelOptions: ChartAxisLabelOptionsProperty) /** * @param groupLabelOptions The label options (label text, label visibility) of the groups * that are displayed in a tree map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bc489a510aa98f2573b78a6c366a70286173e5cc8ddf66a8fa7e3507d12d8bf9") public fun groupLabelOptions(groupLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: IResolvable) /** * @param legend The legend display setup of the visual. */ public fun legend(legend: LegendOptionsProperty) /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ea3727dd0cf093a0a46973abc2ba28b235097bd7544a897f98bf2dde5d43a69f") public fun legend(legend: LegendOptionsProperty.Builder.() -> Unit) /** * @param sizeLabelOptions The label options (label text, label visibility) of the sizes that * are displayed in a tree map. */ public fun sizeLabelOptions(sizeLabelOptions: IResolvable) /** * @param sizeLabelOptions The label options (label text, label visibility) of the sizes that * are displayed in a tree map. */ public fun sizeLabelOptions(sizeLabelOptions: ChartAxisLabelOptionsProperty) /** * @param sizeLabelOptions The label options (label text, label visibility) of the sizes that * are displayed in a tree map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ad8612d30a3080d8198228f3dab48b5ecbcf707d718f452edb88541ddcb3c6a0") public fun sizeLabelOptions(sizeLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration of a tree map. */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a tree map. */ public fun sortConfiguration(sortConfiguration: TreeMapSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a tree map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("31056d742645edb7e4022fb2f85776dd3bcb9445cede0299bba92459ee23da55") public fun sortConfiguration(sortConfiguration: TreeMapSortConfigurationProperty.Builder.() -> Unit) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: IResolvable) /** * @param tooltip The tooltip display setup of the visual. */ public fun tooltip(tooltip: TooltipOptionsProperty) /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c810e27225bc30eb9cd2152e189a0923384e634a53b648ef7bc00aed016e137d") public fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapConfigurationProperty.builder() /** * @param colorLabelOptions The label options (label text, label visibility) for the colors * displayed in a tree map. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param colorLabelOptions The label options (label text, label visibility) for the colors * displayed in a tree map. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param colorLabelOptions The label options (label text, label visibility) for the colors * displayed in a tree map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ed19117462a45e42972bda69a3bd07ba119b95e79fba40e11bc1f46901f70ecb") override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = colorLabelOptions(ChartAxisLabelOptionsProperty(colorLabelOptions)) /** * @param colorScale The color options (gradient color, point of divergence) of a tree map. */ override fun colorScale(colorScale: IResolvable) { cdkBuilder.colorScale(colorScale.let(IResolvable.Companion::unwrap)) } /** * @param colorScale The color options (gradient color, point of divergence) of a tree map. */ override fun colorScale(colorScale: ColorScaleProperty) { cdkBuilder.colorScale(colorScale.let(ColorScaleProperty.Companion::unwrap)) } /** * @param colorScale The color options (gradient color, point of divergence) of a tree map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2144de94c696e5441bf09843c00a13fa3fd1144d857e6981eb788d65e9af2aa9") override fun colorScale(colorScale: ColorScaleProperty.Builder.() -> Unit): Unit = colorScale(ColorScaleProperty(colorScale)) /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ee3f8d929ea38f5ea9041e82b87aa574c107646bfe1f082462a567f52ed16a20") override fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit): Unit = dataLabels(DataLabelOptionsProperty(dataLabels)) /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: TreeMapFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(TreeMapFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f92cdf52ad8f199b04a67a204bd50e0a1e79f598765d799cfdb261784e333522") override fun fieldWells(fieldWells: TreeMapFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(TreeMapFieldWellsProperty(fieldWells)) /** * @param groupLabelOptions The label options (label text, label visibility) of the groups * that are displayed in a tree map. */ override fun groupLabelOptions(groupLabelOptions: IResolvable) { cdkBuilder.groupLabelOptions(groupLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param groupLabelOptions The label options (label text, label visibility) of the groups * that are displayed in a tree map. */ override fun groupLabelOptions(groupLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.groupLabelOptions(groupLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param groupLabelOptions The label options (label text, label visibility) of the groups * that are displayed in a tree map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bc489a510aa98f2573b78a6c366a70286173e5cc8ddf66a8fa7e3507d12d8bf9") override fun groupLabelOptions(groupLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = groupLabelOptions(ChartAxisLabelOptionsProperty(groupLabelOptions)) /** * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ea3727dd0cf093a0a46973abc2ba28b235097bd7544a897f98bf2dde5d43a69f") override fun legend(legend: LegendOptionsProperty.Builder.() -> Unit): Unit = legend(LegendOptionsProperty(legend)) /** * @param sizeLabelOptions The label options (label text, label visibility) of the sizes that * are displayed in a tree map. */ override fun sizeLabelOptions(sizeLabelOptions: IResolvable) { cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param sizeLabelOptions The label options (label text, label visibility) of the sizes that * are displayed in a tree map. */ override fun sizeLabelOptions(sizeLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param sizeLabelOptions The label options (label text, label visibility) of the sizes that * are displayed in a tree map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ad8612d30a3080d8198228f3dab48b5ecbcf707d718f452edb88541ddcb3c6a0") override fun sizeLabelOptions(sizeLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = sizeLabelOptions(ChartAxisLabelOptionsProperty(sizeLabelOptions)) /** * @param sortConfiguration The sort configuration of a tree map. */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a tree map. */ override fun sortConfiguration(sortConfiguration: TreeMapSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(TreeMapSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a tree map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("31056d742645edb7e4022fb2f85776dd3bcb9445cede0299bba92459ee23da55") override fun sortConfiguration(sortConfiguration: TreeMapSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(TreeMapSortConfigurationProperty(sortConfiguration)) /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c810e27225bc30eb9cd2152e189a0923384e634a53b648ef7bc00aed016e137d") override fun tooltip(tooltip: TooltipOptionsProperty.Builder.() -> Unit): Unit = tooltip(TooltipOptionsProperty(tooltip)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapConfigurationProperty, ) : CdkObject(cdkObject), TreeMapConfigurationProperty { /** * The label options (label text, label visibility) for the colors displayed in a tree map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-colorlabeloptions) */ override fun colorLabelOptions(): Any? = unwrap(this).getColorLabelOptions() /** * The color options (gradient color, point of divergence) of a tree map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-colorscale) */ override fun colorScale(): Any? = unwrap(this).getColorScale() /** * The options that determine if visual data labels are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-datalabels) */ override fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The label options (label text, label visibility) of the groups that are displayed in a tree * map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-grouplabeloptions) */ override fun groupLabelOptions(): Any? = unwrap(this).getGroupLabelOptions() /** * The legend display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-legend) */ override fun legend(): Any? = unwrap(this).getLegend() /** * The label options (label text, label visibility) of the sizes that are displayed in a tree * map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-sizelabeloptions) */ override fun sizeLabelOptions(): Any? = unwrap(this).getSizeLabelOptions() /** * The sort configuration of a tree map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The tooltip display setup of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapconfiguration.html#cfn-quicksight-dashboard-treemapconfiguration-tooltip) */ override fun tooltip(): Any? = unwrap(this).getTooltip() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TreeMapConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapConfigurationProperty): TreeMapConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? TreeMapConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TreeMapConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapConfigurationProperty } } /** * The field wells of a tree map. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapfieldwells.html) */ public interface TreeMapFieldWellsProperty { /** * The aggregated field wells of a tree map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapfieldwells.html#cfn-quicksight-dashboard-treemapfieldwells-treemapaggregatedfieldwells) */ public fun treeMapAggregatedFieldWells(): Any? = unwrap(this).getTreeMapAggregatedFieldWells() /** * A builder for [TreeMapFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param treeMapAggregatedFieldWells The aggregated field wells of a tree map. */ public fun treeMapAggregatedFieldWells(treeMapAggregatedFieldWells: IResolvable) /** * @param treeMapAggregatedFieldWells The aggregated field wells of a tree map. */ public fun treeMapAggregatedFieldWells(treeMapAggregatedFieldWells: TreeMapAggregatedFieldWellsProperty) /** * @param treeMapAggregatedFieldWells The aggregated field wells of a tree map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8f5893baa2683684b05d4d8ab9bc85381211980f63ab8362acbaedce9fc6d69c") public fun treeMapAggregatedFieldWells(treeMapAggregatedFieldWells: TreeMapAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapFieldWellsProperty.builder() /** * @param treeMapAggregatedFieldWells The aggregated field wells of a tree map. */ override fun treeMapAggregatedFieldWells(treeMapAggregatedFieldWells: IResolvable) { cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param treeMapAggregatedFieldWells The aggregated field wells of a tree map. */ override fun treeMapAggregatedFieldWells(treeMapAggregatedFieldWells: TreeMapAggregatedFieldWellsProperty) { cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(TreeMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param treeMapAggregatedFieldWells The aggregated field wells of a tree map. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8f5893baa2683684b05d4d8ab9bc85381211980f63ab8362acbaedce9fc6d69c") override fun treeMapAggregatedFieldWells(treeMapAggregatedFieldWells: TreeMapAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = treeMapAggregatedFieldWells(TreeMapAggregatedFieldWellsProperty(treeMapAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapFieldWellsProperty, ) : CdkObject(cdkObject), TreeMapFieldWellsProperty { /** * The aggregated field wells of a tree map. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapfieldwells.html#cfn-quicksight-dashboard-treemapfieldwells-treemapaggregatedfieldwells) */ override fun treeMapAggregatedFieldWells(): Any? = unwrap(this).getTreeMapAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TreeMapFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapFieldWellsProperty): TreeMapFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? TreeMapFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TreeMapFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapFieldWellsProperty } } /** * The sort configuration of a tree map. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TreeMapSortConfigurationProperty treeMapSortConfigurationProperty = * TreeMapSortConfigurationProperty.builder() * .treeMapGroupItemsLimitConfiguration(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .treeMapSort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapsortconfiguration.html) */ public interface TreeMapSortConfigurationProperty { /** * The limit on the number of groups that are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapsortconfiguration.html#cfn-quicksight-dashboard-treemapsortconfiguration-treemapgroupitemslimitconfiguration) */ public fun treeMapGroupItemsLimitConfiguration(): Any? = unwrap(this).getTreeMapGroupItemsLimitConfiguration() /** * The sort configuration of group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapsortconfiguration.html#cfn-quicksight-dashboard-treemapsortconfiguration-treemapsort) */ public fun treeMapSort(): Any? = unwrap(this).getTreeMapSort() /** * A builder for [TreeMapSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param treeMapGroupItemsLimitConfiguration The limit on the number of groups that are * displayed. */ public fun treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration: IResolvable) /** * @param treeMapGroupItemsLimitConfiguration The limit on the number of groups that are * displayed. */ public fun treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration: ItemsLimitConfigurationProperty) /** * @param treeMapGroupItemsLimitConfiguration The limit on the number of groups that are * displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bfd0f829ccfb100009d7b70c38d64ab0a90ab16605d74fbe69521c76739c477c") public fun treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param treeMapSort The sort configuration of group by fields. */ public fun treeMapSort(treeMapSort: IResolvable) /** * @param treeMapSort The sort configuration of group by fields. */ public fun treeMapSort(treeMapSort: List) /** * @param treeMapSort The sort configuration of group by fields. */ public fun treeMapSort(vararg treeMapSort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapSortConfigurationProperty.builder() /** * @param treeMapGroupItemsLimitConfiguration The limit on the number of groups that are * displayed. */ override fun treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration: IResolvable) { cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param treeMapGroupItemsLimitConfiguration The limit on the number of groups that are * displayed. */ override fun treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration: ItemsLimitConfigurationProperty) { cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param treeMapGroupItemsLimitConfiguration The limit on the number of groups that are * displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bfd0f829ccfb100009d7b70c38d64ab0a90ab16605d74fbe69521c76739c477c") override fun treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = treeMapGroupItemsLimitConfiguration(ItemsLimitConfigurationProperty(treeMapGroupItemsLimitConfiguration)) /** * @param treeMapSort The sort configuration of group by fields. */ override fun treeMapSort(treeMapSort: IResolvable) { cdkBuilder.treeMapSort(treeMapSort.let(IResolvable.Companion::unwrap)) } /** * @param treeMapSort The sort configuration of group by fields. */ override fun treeMapSort(treeMapSort: List) { cdkBuilder.treeMapSort(treeMapSort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param treeMapSort The sort configuration of group by fields. */ override fun treeMapSort(vararg treeMapSort: Any): Unit = treeMapSort(treeMapSort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapSortConfigurationProperty, ) : CdkObject(cdkObject), TreeMapSortConfigurationProperty { /** * The limit on the number of groups that are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapsortconfiguration.html#cfn-quicksight-dashboard-treemapsortconfiguration-treemapgroupitemslimitconfiguration) */ override fun treeMapGroupItemsLimitConfiguration(): Any? = unwrap(this).getTreeMapGroupItemsLimitConfiguration() /** * The sort configuration of group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapsortconfiguration.html#cfn-quicksight-dashboard-treemapsortconfiguration-treemapsort) */ override fun treeMapSort(): Any? = unwrap(this).getTreeMapSort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TreeMapSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapSortConfigurationProperty): TreeMapSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? TreeMapSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TreeMapSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapSortConfigurationProperty } } /** * A tree map. * * For more information, see [Using tree * maps](https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) in the *Amazon QuickSight * User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html) */ public interface TreeMapVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html#cfn-quicksight-dashboard-treemapvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html#cfn-quicksight-dashboard-treemapvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html#cfn-quicksight-dashboard-treemapvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html#cfn-quicksight-dashboard-treemapvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html#cfn-quicksight-dashboard-treemapvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html#cfn-quicksight-dashboard-treemapvisual-visualid) */ public fun visualId(): String /** * A builder for [TreeMapVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: TreeMapConfigurationProperty) /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a93de36a78b40cb59cd29e045797c360772c4b8a5cbd822763e92bed19ed61cc") public fun chartConfiguration(chartConfiguration: TreeMapConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7c681e15deebc84efda1a99a57c70fbb4caa6836eb7a88479411b032b846bdcf") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("df46164dde58743885848927f0ec51907b6139555c82f310de001a1d7fd204e1") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: TreeMapConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(TreeMapConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a93de36a78b40cb59cd29e045797c360772c4b8a5cbd822763e92bed19ed61cc") override fun chartConfiguration(chartConfiguration: TreeMapConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(TreeMapConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7c681e15deebc84efda1a99a57c70fbb4caa6836eb7a88479411b032b846bdcf") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("df46164dde58743885848927f0ec51907b6139555c82f310de001a1d7fd204e1") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapVisualProperty, ) : CdkObject(cdkObject), TreeMapVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html#cfn-quicksight-dashboard-treemapvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html#cfn-quicksight-dashboard-treemapvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html#cfn-quicksight-dashboard-treemapvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html#cfn-quicksight-dashboard-treemapvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html#cfn-quicksight-dashboard-treemapvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-treemapvisual.html#cfn-quicksight-dashboard-treemapvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TreeMapVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapVisualProperty): TreeMapVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? TreeMapVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TreeMapVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapVisualProperty } } /** * The options that determine the presentation of trend arrows in a KPI visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * TrendArrowOptionsProperty trendArrowOptionsProperty = TrendArrowOptionsProperty.builder() * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-trendarrowoptions.html) */ public interface TrendArrowOptionsProperty { /** * The visibility of the trend arrows. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-trendarrowoptions.html#cfn-quicksight-dashboard-trendarrowoptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [TrendArrowOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param visibility The visibility of the trend arrows. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.TrendArrowOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.TrendArrowOptionsProperty.builder() /** * @param visibility The visibility of the trend arrows. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.TrendArrowOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TrendArrowOptionsProperty, ) : CdkObject(cdkObject), TrendArrowOptionsProperty { /** * The visibility of the trend arrows. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-trendarrowoptions.html#cfn-quicksight-dashboard-trendarrowoptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): TrendArrowOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.TrendArrowOptionsProperty): TrendArrowOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? TrendArrowOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: TrendArrowOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.TrendArrowOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.TrendArrowOptionsProperty } } /** * The unaggregated field for a table. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * UnaggregatedFieldProperty unaggregatedFieldProperty = UnaggregatedFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(FormatConfigurationProperty.builder() * .dateTimeFormatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .numberFormatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .stringFormatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-unaggregatedfield.html) */ public interface UnaggregatedFieldProperty { /** * The column that is used in the `UnaggregatedField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-unaggregatedfield.html#cfn-quicksight-dashboard-unaggregatedfield-column) */ public fun column(): Any /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-unaggregatedfield.html#cfn-quicksight-dashboard-unaggregatedfield-fieldid) */ public fun fieldId(): String /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-unaggregatedfield.html#cfn-quicksight-dashboard-unaggregatedfield-formatconfiguration) */ public fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() /** * A builder for [UnaggregatedFieldProperty] */ @CdkDslMarker public interface Builder { /** * @param column The column that is used in the `UnaggregatedField` . */ public fun column(column: IResolvable) /** * @param column The column that is used in the `UnaggregatedField` . */ public fun column(column: ColumnIdentifierProperty) /** * @param column The column that is used in the `UnaggregatedField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8358e035a10b44595ba8829837db4f6b8ed40f67e9194ea3c90ea62a2c785c7a") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) /** * @param fieldId The custom field ID. */ public fun fieldId(fieldId: String) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: IResolvable) /** * @param formatConfiguration The format configuration of the field. */ public fun formatConfiguration(formatConfiguration: FormatConfigurationProperty) /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d56871d1490f35b41d0d78963e761870173fcb5bf916d4d44c92aedd6a110221") public fun formatConfiguration(formatConfiguration: FormatConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.UnaggregatedFieldProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.UnaggregatedFieldProperty.builder() /** * @param column The column that is used in the `UnaggregatedField` . */ override fun column(column: IResolvable) { cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `UnaggregatedField` . */ override fun column(column: ColumnIdentifierProperty) { cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** * @param column The column that is used in the `UnaggregatedField` . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8358e035a10b44595ba8829837db4f6b8ed40f67e9194ea3c90ea62a2c785c7a") override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) /** * @param fieldId The custom field ID. */ override fun fieldId(fieldId: String) { cdkBuilder.fieldId(fieldId) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: FormatConfigurationProperty) { cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d56871d1490f35b41d0d78963e761870173fcb5bf916d4d44c92aedd6a110221") override fun formatConfiguration(formatConfiguration: FormatConfigurationProperty.Builder.() -> Unit): Unit = formatConfiguration(FormatConfigurationProperty(formatConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.UnaggregatedFieldProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.UnaggregatedFieldProperty, ) : CdkObject(cdkObject), UnaggregatedFieldProperty { /** * The column that is used in the `UnaggregatedField` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-unaggregatedfield.html#cfn-quicksight-dashboard-unaggregatedfield-column) */ override fun column(): Any = unwrap(this).getColumn() /** * The custom field ID. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-unaggregatedfield.html#cfn-quicksight-dashboard-unaggregatedfield-fieldid) */ override fun fieldId(): String = unwrap(this).getFieldId() /** * The format configuration of the field. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-unaggregatedfield.html#cfn-quicksight-dashboard-unaggregatedfield-formatconfiguration) */ override fun formatConfiguration(): Any? = unwrap(this).getFormatConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): UnaggregatedFieldProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.UnaggregatedFieldProperty): UnaggregatedFieldProperty = CdkObjectWrappers.wrap(cdkObject) as? UnaggregatedFieldProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: UnaggregatedFieldProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.UnaggregatedFieldProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.UnaggregatedFieldProperty } } /** * The unique values computation configuration. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * UniqueValuesComputationProperty uniqueValuesComputationProperty = * UniqueValuesComputationProperty.builder() * .computationId("computationId") * // the properties below are optional * .category(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build()) * .name("name") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-uniquevaluescomputation.html) */ public interface UniqueValuesComputationProperty { /** * The category field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-uniquevaluescomputation.html#cfn-quicksight-dashboard-uniquevaluescomputation-category) */ public fun category(): Any? = unwrap(this).getCategory() /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-uniquevaluescomputation.html#cfn-quicksight-dashboard-uniquevaluescomputation-computationid) */ public fun computationId(): String /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-uniquevaluescomputation.html#cfn-quicksight-dashboard-uniquevaluescomputation-name) */ public fun name(): String? = unwrap(this).getName() /** * A builder for [UniqueValuesComputationProperty] */ @CdkDslMarker public interface Builder { /** * @param category The category field that is used in a computation. */ public fun category(category: IResolvable) /** * @param category The category field that is used in a computation. */ public fun category(category: DimensionFieldProperty) /** * @param category The category field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b88974779c673809a94cc44dc0225f203167037e49c138b49ffbafb423c8809c") public fun category(category: DimensionFieldProperty.Builder.() -> Unit) /** * @param computationId The ID for a computation. */ public fun computationId(computationId: String) /** * @param name The name of a computation. */ public fun name(name: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.UniqueValuesComputationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.UniqueValuesComputationProperty.builder() /** * @param category The category field that is used in a computation. */ override fun category(category: IResolvable) { cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ override fun category(category: DimensionFieldProperty) { cdkBuilder.category(category.let(DimensionFieldProperty.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b88974779c673809a94cc44dc0225f203167037e49c138b49ffbafb423c8809c") override fun category(category: DimensionFieldProperty.Builder.() -> Unit): Unit = category(DimensionFieldProperty(category)) /** * @param computationId The ID for a computation. */ override fun computationId(computationId: String) { cdkBuilder.computationId(computationId) } /** * @param name The name of a computation. */ override fun name(name: String) { cdkBuilder.name(name) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.UniqueValuesComputationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.UniqueValuesComputationProperty, ) : CdkObject(cdkObject), UniqueValuesComputationProperty { /** * The category field that is used in a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-uniquevaluescomputation.html#cfn-quicksight-dashboard-uniquevaluescomputation-category) */ override fun category(): Any? = unwrap(this).getCategory() /** * The ID for a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-uniquevaluescomputation.html#cfn-quicksight-dashboard-uniquevaluescomputation-computationid) */ override fun computationId(): String = unwrap(this).getComputationId() /** * The name of a computation. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-uniquevaluescomputation.html#cfn-quicksight-dashboard-uniquevaluescomputation-name) */ override fun name(): String? = unwrap(this).getName() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): UniqueValuesComputationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.UniqueValuesComputationProperty): UniqueValuesComputationProperty = CdkObjectWrappers.wrap(cdkObject) as? UniqueValuesComputationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: UniqueValuesComputationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.UniqueValuesComputationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.UniqueValuesComputationProperty } } /** * The option to relax the validation that is required to create and update analyses, dashboards, * and templates with definition objects. * * When you set this value to `LENIENT` , validation is skipped for specific errors. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * ValidationStrategyProperty validationStrategyProperty = ValidationStrategyProperty.builder() * .mode("mode") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-validationstrategy.html) */ public interface ValidationStrategyProperty { /** * The mode of validation for the asset to be created or updated. * * When you set this value to `STRICT` , strict validation for every error is enforced. When you * set this value to `LENIENT` , validation is skipped for specific UI errors. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-validationstrategy.html#cfn-quicksight-dashboard-validationstrategy-mode) */ public fun mode(): String /** * A builder for [ValidationStrategyProperty] */ @CdkDslMarker public interface Builder { /** * @param mode The mode of validation for the asset to be created or updated. * When you set this value to `STRICT` , strict validation for every error is enforced. When * you set this value to `LENIENT` , validation is skipped for specific UI errors. */ public fun mode(mode: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.ValidationStrategyProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.ValidationStrategyProperty.builder() /** * @param mode The mode of validation for the asset to be created or updated. * When you set this value to `STRICT` , strict validation for every error is enforced. When * you set this value to `LENIENT` , validation is skipped for specific UI errors. */ override fun mode(mode: String) { cdkBuilder.mode(mode) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.ValidationStrategyProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ValidationStrategyProperty, ) : CdkObject(cdkObject), ValidationStrategyProperty { /** * The mode of validation for the asset to be created or updated. * * When you set this value to `STRICT` , strict validation for every error is enforced. When * you set this value to `LENIENT` , validation is skipped for specific UI errors. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-validationstrategy.html#cfn-quicksight-dashboard-validationstrategy-mode) */ override fun mode(): String = unwrap(this).getMode() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): ValidationStrategyProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.ValidationStrategyProperty): ValidationStrategyProperty = CdkObjectWrappers.wrap(cdkObject) as? ValidationStrategyProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: ValidationStrategyProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.ValidationStrategyProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.ValidationStrategyProperty } } /** * The range options for the data zoom scroll bar. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * VisibleRangeOptionsProperty visibleRangeOptionsProperty = VisibleRangeOptionsProperty.builder() * .percentRange(PercentVisibleRangeProperty.builder() * .from(123) * .to(123) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visiblerangeoptions.html) */ public interface VisibleRangeOptionsProperty { /** * The percent range in the visible range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visiblerangeoptions.html#cfn-quicksight-dashboard-visiblerangeoptions-percentrange) */ public fun percentRange(): Any? = unwrap(this).getPercentRange() /** * A builder for [VisibleRangeOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param percentRange The percent range in the visible range. */ public fun percentRange(percentRange: IResolvable) /** * @param percentRange The percent range in the visible range. */ public fun percentRange(percentRange: PercentVisibleRangeProperty) /** * @param percentRange The percent range in the visible range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1702538b7301c28e74cb623a7b9a115e04fba4a382abf2084b09800941b662c4") public fun percentRange(percentRange: PercentVisibleRangeProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.VisibleRangeOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.VisibleRangeOptionsProperty.builder() /** * @param percentRange The percent range in the visible range. */ override fun percentRange(percentRange: IResolvable) { cdkBuilder.percentRange(percentRange.let(IResolvable.Companion::unwrap)) } /** * @param percentRange The percent range in the visible range. */ override fun percentRange(percentRange: PercentVisibleRangeProperty) { cdkBuilder.percentRange(percentRange.let(PercentVisibleRangeProperty.Companion::unwrap)) } /** * @param percentRange The percent range in the visible range. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1702538b7301c28e74cb623a7b9a115e04fba4a382abf2084b09800941b662c4") override fun percentRange(percentRange: PercentVisibleRangeProperty.Builder.() -> Unit): Unit = percentRange(PercentVisibleRangeProperty(percentRange)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.VisibleRangeOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisibleRangeOptionsProperty, ) : CdkObject(cdkObject), VisibleRangeOptionsProperty { /** * The percent range in the visible range. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visiblerangeoptions.html#cfn-quicksight-dashboard-visiblerangeoptions-percentrange) */ override fun percentRange(): Any? = unwrap(this).getPercentRange() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): VisibleRangeOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisibleRangeOptionsProperty): VisibleRangeOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? VisibleRangeOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: VisibleRangeOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.VisibleRangeOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.VisibleRangeOptionsProperty } } /** * The axis sort options for a visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * VisualAxisSortOptionProperty visualAxisSortOptionProperty = * VisualAxisSortOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualaxissortoption.html) */ public interface VisualAxisSortOptionProperty { /** * The availaiblity status of a visual's axis sort options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualaxissortoption.html#cfn-quicksight-dashboard-visualaxissortoption-availabilitystatus) */ public fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() /** * A builder for [VisualAxisSortOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param availabilityStatus The availaiblity status of a visual's axis sort options. */ public fun availabilityStatus(availabilityStatus: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualAxisSortOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.VisualAxisSortOptionProperty.builder() /** * @param availabilityStatus The availaiblity status of a visual's axis sort options. */ override fun availabilityStatus(availabilityStatus: String) { cdkBuilder.availabilityStatus(availabilityStatus) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualAxisSortOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualAxisSortOptionProperty, ) : CdkObject(cdkObject), VisualAxisSortOptionProperty { /** * The availaiblity status of a visual's axis sort options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualaxissortoption.html#cfn-quicksight-dashboard-visualaxissortoption-availabilitystatus) */ override fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): VisualAxisSortOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualAxisSortOptionProperty): VisualAxisSortOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? VisualAxisSortOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: VisualAxisSortOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualAxisSortOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.VisualAxisSortOptionProperty } } /** * The operation that is defined by the custom action. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * VisualCustomActionOperationProperty visualCustomActionOperationProperty = * VisualCustomActionOperationProperty.builder() * .filterOperation(CustomActionFilterOperationProperty.builder() * .selectedFieldsConfiguration(FilterOperationSelectedFieldsConfigurationProperty.builder() * .selectedColumns(List.of(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build())) * .selectedFieldOptions("selectedFieldOptions") * .selectedFields(List.of("selectedFields")) * .build()) * .targetVisualsConfiguration(FilterOperationTargetVisualsConfigurationProperty.builder() * .sameSheetTargetVisualConfiguration(SameSheetTargetVisualConfigurationProperty.builder() * .targetVisualOptions("targetVisualOptions") * .targetVisuals(List.of("targetVisuals")) * .build()) * .build()) * .build()) * .navigationOperation(CustomActionNavigationOperationProperty.builder() * .localNavigationConfiguration(LocalNavigationConfigurationProperty.builder() * .targetSheetId("targetSheetId") * .build()) * .build()) * .setParametersOperation(CustomActionSetParametersOperationProperty.builder() * .parameterValueConfigurations(List.of(SetParameterValueConfigurationProperty.builder() * .destinationParameterName("destinationParameterName") * .value(DestinationParameterValueConfigurationProperty.builder() * .customValuesConfiguration(CustomValuesConfigurationProperty.builder() * .customValues(CustomParameterValuesProperty.builder() * .dateTimeValues(List.of("dateTimeValues")) * .decimalValues(List.of(123)) * .integerValues(List.of(123)) * .stringValues(List.of("stringValues")) * .build()) * // the properties below are optional * .includeNullValue(false) * .build()) * .selectAllValueOptions("selectAllValueOptions") * .sourceColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceField("sourceField") * .sourceParameterName("sourceParameterName") * .build()) * .build())) * .build()) * .urlOperation(CustomActionURLOperationProperty.builder() * .urlTarget("urlTarget") * .urlTemplate("urlTemplate") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomactionoperation.html) */ public interface VisualCustomActionOperationProperty { /** * The filter operation that filters data included in a visual or in an entire sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomactionoperation.html#cfn-quicksight-dashboard-visualcustomactionoperation-filteroperation) */ public fun filterOperation(): Any? = unwrap(this).getFilterOperation() /** * The navigation operation that navigates between different sheets in the same analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomactionoperation.html#cfn-quicksight-dashboard-visualcustomactionoperation-navigationoperation) */ public fun navigationOperation(): Any? = unwrap(this).getNavigationOperation() /** * The set parameter operation that sets parameters in custom action. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomactionoperation.html#cfn-quicksight-dashboard-visualcustomactionoperation-setparametersoperation) */ public fun setParametersOperation(): Any? = unwrap(this).getSetParametersOperation() /** * The URL operation that opens a link to another webpage. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomactionoperation.html#cfn-quicksight-dashboard-visualcustomactionoperation-urloperation) */ public fun urlOperation(): Any? = unwrap(this).getUrlOperation() /** * A builder for [VisualCustomActionOperationProperty] */ @CdkDslMarker public interface Builder { /** * @param filterOperation The filter operation that filters data included in a visual or in an * entire sheet. */ public fun filterOperation(filterOperation: IResolvable) /** * @param filterOperation The filter operation that filters data included in a visual or in an * entire sheet. */ public fun filterOperation(filterOperation: CustomActionFilterOperationProperty) /** * @param filterOperation The filter operation that filters data included in a visual or in an * entire sheet. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("676263f8a31897a4e7872c6c7af1236b04c43064e6dba8de7a2575da117141a9") public fun filterOperation(filterOperation: CustomActionFilterOperationProperty.Builder.() -> Unit) /** * @param navigationOperation The navigation operation that navigates between different sheets * in the same analysis. */ public fun navigationOperation(navigationOperation: IResolvable) /** * @param navigationOperation The navigation operation that navigates between different sheets * in the same analysis. */ public fun navigationOperation(navigationOperation: CustomActionNavigationOperationProperty) /** * @param navigationOperation The navigation operation that navigates between different sheets * in the same analysis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fe3f256cf07536b0d81205c7ef0ca562aed5a49ebdddf662badb88bde08d1286") public fun navigationOperation(navigationOperation: CustomActionNavigationOperationProperty.Builder.() -> Unit) /** * @param setParametersOperation The set parameter operation that sets parameters in custom * action. */ public fun parametersOperation(setParametersOperation: IResolvable) /** * @param setParametersOperation The set parameter operation that sets parameters in custom * action. */ public fun parametersOperation(setParametersOperation: CustomActionSetParametersOperationProperty) /** * @param setParametersOperation The set parameter operation that sets parameters in custom * action. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8abbd1f865e06117b8f2885d30458858923e17b66c9f7dbbdb049a5fd37ccb3d") public fun parametersOperation(setParametersOperation: CustomActionSetParametersOperationProperty.Builder.() -> Unit) /** * @param urlOperation The URL operation that opens a link to another webpage. */ public fun urlOperation(urlOperation: IResolvable) /** * @param urlOperation The URL operation that opens a link to another webpage. */ public fun urlOperation(urlOperation: CustomActionURLOperationProperty) /** * @param urlOperation The URL operation that opens a link to another webpage. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("55f047fd54ce37968b193b65a86bbe5f437a0df06979e6d22a4fa2d105948810") public fun urlOperation(urlOperation: CustomActionURLOperationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionOperationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionOperationProperty.builder() /** * @param filterOperation The filter operation that filters data included in a visual or in an * entire sheet. */ override fun filterOperation(filterOperation: IResolvable) { cdkBuilder.filterOperation(filterOperation.let(IResolvable.Companion::unwrap)) } /** * @param filterOperation The filter operation that filters data included in a visual or in an * entire sheet. */ override fun filterOperation(filterOperation: CustomActionFilterOperationProperty) { cdkBuilder.filterOperation(filterOperation.let(CustomActionFilterOperationProperty.Companion::unwrap)) } /** * @param filterOperation The filter operation that filters data included in a visual or in an * entire sheet. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("676263f8a31897a4e7872c6c7af1236b04c43064e6dba8de7a2575da117141a9") override fun filterOperation(filterOperation: CustomActionFilterOperationProperty.Builder.() -> Unit): Unit = filterOperation(CustomActionFilterOperationProperty(filterOperation)) /** * @param navigationOperation The navigation operation that navigates between different sheets * in the same analysis. */ override fun navigationOperation(navigationOperation: IResolvable) { cdkBuilder.navigationOperation(navigationOperation.let(IResolvable.Companion::unwrap)) } /** * @param navigationOperation The navigation operation that navigates between different sheets * in the same analysis. */ override fun navigationOperation(navigationOperation: CustomActionNavigationOperationProperty) { cdkBuilder.navigationOperation(navigationOperation.let(CustomActionNavigationOperationProperty.Companion::unwrap)) } /** * @param navigationOperation The navigation operation that navigates between different sheets * in the same analysis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fe3f256cf07536b0d81205c7ef0ca562aed5a49ebdddf662badb88bde08d1286") override fun navigationOperation(navigationOperation: CustomActionNavigationOperationProperty.Builder.() -> Unit): Unit = navigationOperation(CustomActionNavigationOperationProperty(navigationOperation)) /** * @param setParametersOperation The set parameter operation that sets parameters in custom * action. */ override fun parametersOperation(setParametersOperation: IResolvable) { cdkBuilder.setParametersOperation(setParametersOperation.let(IResolvable.Companion::unwrap)) } /** * @param setParametersOperation The set parameter operation that sets parameters in custom * action. */ override fun parametersOperation(setParametersOperation: CustomActionSetParametersOperationProperty) { cdkBuilder.setParametersOperation(setParametersOperation.let(CustomActionSetParametersOperationProperty.Companion::unwrap)) } /** * @param setParametersOperation The set parameter operation that sets parameters in custom * action. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8abbd1f865e06117b8f2885d30458858923e17b66c9f7dbbdb049a5fd37ccb3d") override fun parametersOperation(setParametersOperation: CustomActionSetParametersOperationProperty.Builder.() -> Unit): Unit = parametersOperation(CustomActionSetParametersOperationProperty(setParametersOperation)) /** * @param urlOperation The URL operation that opens a link to another webpage. */ override fun urlOperation(urlOperation: IResolvable) { cdkBuilder.urlOperation(urlOperation.let(IResolvable.Companion::unwrap)) } /** * @param urlOperation The URL operation that opens a link to another webpage. */ override fun urlOperation(urlOperation: CustomActionURLOperationProperty) { cdkBuilder.urlOperation(urlOperation.let(CustomActionURLOperationProperty.Companion::unwrap)) } /** * @param urlOperation The URL operation that opens a link to another webpage. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("55f047fd54ce37968b193b65a86bbe5f437a0df06979e6d22a4fa2d105948810") override fun urlOperation(urlOperation: CustomActionURLOperationProperty.Builder.() -> Unit): Unit = urlOperation(CustomActionURLOperationProperty(urlOperation)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionOperationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionOperationProperty, ) : CdkObject(cdkObject), VisualCustomActionOperationProperty { /** * The filter operation that filters data included in a visual or in an entire sheet. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomactionoperation.html#cfn-quicksight-dashboard-visualcustomactionoperation-filteroperation) */ override fun filterOperation(): Any? = unwrap(this).getFilterOperation() /** * The navigation operation that navigates between different sheets in the same analysis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomactionoperation.html#cfn-quicksight-dashboard-visualcustomactionoperation-navigationoperation) */ override fun navigationOperation(): Any? = unwrap(this).getNavigationOperation() /** * The set parameter operation that sets parameters in custom action. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomactionoperation.html#cfn-quicksight-dashboard-visualcustomactionoperation-setparametersoperation) */ override fun setParametersOperation(): Any? = unwrap(this).getSetParametersOperation() /** * The URL operation that opens a link to another webpage. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomactionoperation.html#cfn-quicksight-dashboard-visualcustomactionoperation-urloperation) */ override fun urlOperation(): Any? = unwrap(this).getUrlOperation() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): VisualCustomActionOperationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionOperationProperty): VisualCustomActionOperationProperty = CdkObjectWrappers.wrap(cdkObject) as? VisualCustomActionOperationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: VisualCustomActionOperationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionOperationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionOperationProperty } } /** * A custom action defined on a visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * VisualCustomActionProperty visualCustomActionProperty = VisualCustomActionProperty.builder() * .actionOperations(List.of(VisualCustomActionOperationProperty.builder() * .filterOperation(CustomActionFilterOperationProperty.builder() * .selectedFieldsConfiguration(FilterOperationSelectedFieldsConfigurationProperty.builder() * .selectedColumns(List.of(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build())) * .selectedFieldOptions("selectedFieldOptions") * .selectedFields(List.of("selectedFields")) * .build()) * .targetVisualsConfiguration(FilterOperationTargetVisualsConfigurationProperty.builder() * .sameSheetTargetVisualConfiguration(SameSheetTargetVisualConfigurationProperty.builder() * .targetVisualOptions("targetVisualOptions") * .targetVisuals(List.of("targetVisuals")) * .build()) * .build()) * .build()) * .navigationOperation(CustomActionNavigationOperationProperty.builder() * .localNavigationConfiguration(LocalNavigationConfigurationProperty.builder() * .targetSheetId("targetSheetId") * .build()) * .build()) * .setParametersOperation(CustomActionSetParametersOperationProperty.builder() * .parameterValueConfigurations(List.of(SetParameterValueConfigurationProperty.builder() * .destinationParameterName("destinationParameterName") * .value(DestinationParameterValueConfigurationProperty.builder() * .customValuesConfiguration(CustomValuesConfigurationProperty.builder() * .customValues(CustomParameterValuesProperty.builder() * .dateTimeValues(List.of("dateTimeValues")) * .decimalValues(List.of(123)) * .integerValues(List.of(123)) * .stringValues(List.of("stringValues")) * .build()) * // the properties below are optional * .includeNullValue(false) * .build()) * .selectAllValueOptions("selectAllValueOptions") * .sourceColumn(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .sourceField("sourceField") * .sourceParameterName("sourceParameterName") * .build()) * .build())) * .build()) * .urlOperation(CustomActionURLOperationProperty.builder() * .urlTarget("urlTarget") * .urlTemplate("urlTemplate") * .build()) * .build())) * .customActionId("customActionId") * .name("name") * .trigger("trigger") * // the properties below are optional * .status("status") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomaction.html) */ public interface VisualCustomActionProperty { /** * A list of `VisualCustomActionOperations` . * * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomaction.html#cfn-quicksight-dashboard-visualcustomaction-actionoperations) */ public fun actionOperations(): Any /** * The ID of the `VisualCustomAction` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomaction.html#cfn-quicksight-dashboard-visualcustomaction-customactionid) */ public fun customActionId(): String /** * The name of the `VisualCustomAction` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomaction.html#cfn-quicksight-dashboard-visualcustomaction-name) */ public fun name(): String /** * The status of the `VisualCustomAction` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomaction.html#cfn-quicksight-dashboard-visualcustomaction-status) */ public fun status(): String? = unwrap(this).getStatus() /** * The trigger of the `VisualCustomAction` . * * Valid values are defined as follows: * * * `DATA_POINT_CLICK` : Initiates a custom action by a left pointer click on a data point. * * `DATA_POINT_MENU` : Initiates a custom action by right pointer click from the menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomaction.html#cfn-quicksight-dashboard-visualcustomaction-trigger) */ public fun trigger(): String /** * A builder for [VisualCustomActionProperty] */ @CdkDslMarker public interface Builder { /** * @param actionOperations A list of `VisualCustomActionOperations` . * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. */ public fun actionOperations(actionOperations: IResolvable) /** * @param actionOperations A list of `VisualCustomActionOperations` . * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. */ public fun actionOperations(actionOperations: List) /** * @param actionOperations A list of `VisualCustomActionOperations` . * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. */ public fun actionOperations(vararg actionOperations: Any) /** * @param customActionId The ID of the `VisualCustomAction` . */ public fun customActionId(customActionId: String) /** * @param name The name of the `VisualCustomAction` . */ public fun name(name: String) /** * @param status The status of the `VisualCustomAction` . */ public fun status(status: String) /** * @param trigger The trigger of the `VisualCustomAction` . * Valid values are defined as follows: * * * `DATA_POINT_CLICK` : Initiates a custom action by a left pointer click on a data point. * * `DATA_POINT_MENU` : Initiates a custom action by right pointer click from the menu. */ public fun trigger(trigger: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionProperty.builder() /** * @param actionOperations A list of `VisualCustomActionOperations` . * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. */ override fun actionOperations(actionOperations: IResolvable) { cdkBuilder.actionOperations(actionOperations.let(IResolvable.Companion::unwrap)) } /** * @param actionOperations A list of `VisualCustomActionOperations` . * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. */ override fun actionOperations(actionOperations: List) { cdkBuilder.actionOperations(actionOperations.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actionOperations A list of `VisualCustomActionOperations` . * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. */ override fun actionOperations(vararg actionOperations: Any): Unit = actionOperations(actionOperations.toList()) /** * @param customActionId The ID of the `VisualCustomAction` . */ override fun customActionId(customActionId: String) { cdkBuilder.customActionId(customActionId) } /** * @param name The name of the `VisualCustomAction` . */ override fun name(name: String) { cdkBuilder.name(name) } /** * @param status The status of the `VisualCustomAction` . */ override fun status(status: String) { cdkBuilder.status(status) } /** * @param trigger The trigger of the `VisualCustomAction` . * Valid values are defined as follows: * * * `DATA_POINT_CLICK` : Initiates a custom action by a left pointer click on a data point. * * `DATA_POINT_MENU` : Initiates a custom action by right pointer click from the menu. */ override fun trigger(trigger: String) { cdkBuilder.trigger(trigger) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionProperty, ) : CdkObject(cdkObject), VisualCustomActionProperty { /** * A list of `VisualCustomActionOperations` . * * This is a union type structure. For this structure to be valid, only one of the attributes * can be defined. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomaction.html#cfn-quicksight-dashboard-visualcustomaction-actionoperations) */ override fun actionOperations(): Any = unwrap(this).getActionOperations() /** * The ID of the `VisualCustomAction` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomaction.html#cfn-quicksight-dashboard-visualcustomaction-customactionid) */ override fun customActionId(): String = unwrap(this).getCustomActionId() /** * The name of the `VisualCustomAction` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomaction.html#cfn-quicksight-dashboard-visualcustomaction-name) */ override fun name(): String = unwrap(this).getName() /** * The status of the `VisualCustomAction` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomaction.html#cfn-quicksight-dashboard-visualcustomaction-status) */ override fun status(): String? = unwrap(this).getStatus() /** * The trigger of the `VisualCustomAction` . * * Valid values are defined as follows: * * * `DATA_POINT_CLICK` : Initiates a custom action by a left pointer click on a data point. * * `DATA_POINT_MENU` : Initiates a custom action by right pointer click from the menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualcustomaction.html#cfn-quicksight-dashboard-visualcustomaction-trigger) */ override fun trigger(): String = unwrap(this).getTrigger() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): VisualCustomActionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionProperty): VisualCustomActionProperty = CdkObjectWrappers.wrap(cdkObject) as? VisualCustomActionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: VisualCustomActionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.VisualCustomActionProperty } } /** * The menu options for a visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * VisualMenuOptionProperty visualMenuOptionProperty = VisualMenuOptionProperty.builder() * .availabilityStatus("availabilityStatus") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualmenuoption.html) */ public interface VisualMenuOptionProperty { /** * The availaiblity status of a visual's menu options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualmenuoption.html#cfn-quicksight-dashboard-visualmenuoption-availabilitystatus) */ public fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() /** * A builder for [VisualMenuOptionProperty] */ @CdkDslMarker public interface Builder { /** * @param availabilityStatus The availaiblity status of a visual's menu options. */ public fun availabilityStatus(availabilityStatus: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualMenuOptionProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.VisualMenuOptionProperty.builder() /** * @param availabilityStatus The availaiblity status of a visual's menu options. */ override fun availabilityStatus(availabilityStatus: String) { cdkBuilder.availabilityStatus(availabilityStatus) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualMenuOptionProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualMenuOptionProperty, ) : CdkObject(cdkObject), VisualMenuOptionProperty { /** * The availaiblity status of a visual's menu options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualmenuoption.html#cfn-quicksight-dashboard-visualmenuoption-availabilitystatus) */ override fun availabilityStatus(): String? = unwrap(this).getAvailabilityStatus() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): VisualMenuOptionProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualMenuOptionProperty): VisualMenuOptionProperty = CdkObjectWrappers.wrap(cdkObject) as? VisualMenuOptionProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: VisualMenuOptionProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualMenuOptionProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.VisualMenuOptionProperty } } /** * The visual display options for the visual palette. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * VisualPaletteProperty visualPaletteProperty = VisualPaletteProperty.builder() * .chartColor("chartColor") * .colorMap(List.of(DataPathColorProperty.builder() * .color("color") * .element(DataPathValueProperty.builder() * .dataPathType(DataPathTypeProperty.builder() * .pivotTableDataPathType("pivotTableDataPathType") * .build()) * .fieldId("fieldId") * .fieldValue("fieldValue") * .build()) * // the properties below are optional * .timeGranularity("timeGranularity") * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualpalette.html) */ public interface VisualPaletteProperty { /** * The chart color options for the visual palette. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualpalette.html#cfn-quicksight-dashboard-visualpalette-chartcolor) */ public fun chartColor(): String? = unwrap(this).getChartColor() /** * The color map options for the visual palette. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualpalette.html#cfn-quicksight-dashboard-visualpalette-colormap) */ public fun colorMap(): Any? = unwrap(this).getColorMap() /** * A builder for [VisualPaletteProperty] */ @CdkDslMarker public interface Builder { /** * @param chartColor The chart color options for the visual palette. */ public fun chartColor(chartColor: String) /** * @param colorMap The color map options for the visual palette. */ public fun colorMap(colorMap: IResolvable) /** * @param colorMap The color map options for the visual palette. */ public fun colorMap(colorMap: List) /** * @param colorMap The color map options for the visual palette. */ public fun colorMap(vararg colorMap: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualPaletteProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.VisualPaletteProperty.builder() /** * @param chartColor The chart color options for the visual palette. */ override fun chartColor(chartColor: String) { cdkBuilder.chartColor(chartColor) } /** * @param colorMap The color map options for the visual palette. */ override fun colorMap(colorMap: IResolvable) { cdkBuilder.colorMap(colorMap.let(IResolvable.Companion::unwrap)) } /** * @param colorMap The color map options for the visual palette. */ override fun colorMap(colorMap: List) { cdkBuilder.colorMap(colorMap.map{CdkObjectWrappers.unwrap(it)}) } /** * @param colorMap The color map options for the visual palette. */ override fun colorMap(vararg colorMap: Any): Unit = colorMap(colorMap.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualPaletteProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualPaletteProperty, ) : CdkObject(cdkObject), VisualPaletteProperty { /** * The chart color options for the visual palette. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualpalette.html#cfn-quicksight-dashboard-visualpalette-chartcolor) */ override fun chartColor(): String? = unwrap(this).getChartColor() /** * The color map options for the visual palette. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualpalette.html#cfn-quicksight-dashboard-visualpalette-colormap) */ override fun colorMap(): Any? = unwrap(this).getColorMap() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): VisualPaletteProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualPaletteProperty): VisualPaletteProperty = CdkObjectWrappers.wrap(cdkObject) as? VisualPaletteProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: VisualPaletteProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualPaletteProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.VisualPaletteProperty } } /** * A visual displayed on a sheet in an analysis, dashboard, or template. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html) */ public interface VisualProperty { /** * A bar chart. * * For more information, see [Using bar * charts](https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-barchartvisual) */ public fun barChartVisual(): Any? = unwrap(this).getBarChartVisual() /** * A box plot. * * For more information, see [Using box * plots](https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-boxplotvisual) */ public fun boxPlotVisual(): Any? = unwrap(this).getBoxPlotVisual() /** * A combo chart. * * For more information, see [Using combo * charts](https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-combochartvisual) */ public fun comboChartVisual(): Any? = unwrap(this).getComboChartVisual() /** * A visual that contains custom content. * * For more information, see [Using custom visual * content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-customcontentvisual) */ public fun customContentVisual(): Any? = unwrap(this).getCustomContentVisual() /** * An empty visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-emptyvisual) */ public fun emptyVisual(): Any? = unwrap(this).getEmptyVisual() /** * A filled map. * * For more information, see [Creating filled * maps](https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-filledmapvisual) */ public fun filledMapVisual(): Any? = unwrap(this).getFilledMapVisual() /** * A funnel chart. * * For more information, see [Using funnel * charts](https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-funnelchartvisual) */ public fun funnelChartVisual(): Any? = unwrap(this).getFunnelChartVisual() /** * A gauge chart. * * For more information, see [Using gauge * charts](https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-gaugechartvisual) */ public fun gaugeChartVisual(): Any? = unwrap(this).getGaugeChartVisual() /** * A geospatial map or a points on map visual. * * For more information, see [Creating point * maps](https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-geospatialmapvisual) */ public fun geospatialMapVisual(): Any? = unwrap(this).getGeospatialMapVisual() /** * A heat map. * * For more information, see [Using heat * maps](https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-heatmapvisual) */ public fun heatMapVisual(): Any? = unwrap(this).getHeatMapVisual() /** * A histogram. * * For more information, see [Using * histograms](https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-histogramvisual) */ public fun histogramVisual(): Any? = unwrap(this).getHistogramVisual() /** * An insight visual. * * For more information, see [Working with * insights](https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-insightvisual) */ public fun insightVisual(): Any? = unwrap(this).getInsightVisual() /** * A key performance indicator (KPI). * * For more information, see [Using * KPIs](https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) in the *Amazon QuickSight * User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-kpivisual) */ public fun kpiVisual(): Any? = unwrap(this).getKpiVisual() /** * A line chart. * * For more information, see [Using line * charts](https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-linechartvisual) */ public fun lineChartVisual(): Any? = unwrap(this).getLineChartVisual() /** * A pie or donut chart. * * For more information, see [Using pie * charts](https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-piechartvisual) */ public fun pieChartVisual(): Any? = unwrap(this).getPieChartVisual() /** * A pivot table. * * For more information, see [Using pivot * tables](https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-pivottablevisual) */ public fun pivotTableVisual(): Any? = unwrap(this).getPivotTableVisual() /** * A radar chart visual. * * For more information, see [Using radar * charts](https://docs.aws.amazon.com/quicksight/latest/user/radar-chart.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-radarchartvisual) */ public fun radarChartVisual(): Any? = unwrap(this).getRadarChartVisual() /** * A sankey diagram. * * For more information, see [Using Sankey * diagrams](https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-sankeydiagramvisual) */ public fun sankeyDiagramVisual(): Any? = unwrap(this).getSankeyDiagramVisual() /** * A scatter plot. * * For more information, see [Using scatter * plots](https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-scatterplotvisual) */ public fun scatterPlotVisual(): Any? = unwrap(this).getScatterPlotVisual() /** * A table visual. * * For more information, see [Using tables as * visuals](https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-tablevisual) */ public fun tableVisual(): Any? = unwrap(this).getTableVisual() /** * A tree map. * * For more information, see [Using tree * maps](https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-treemapvisual) */ public fun treeMapVisual(): Any? = unwrap(this).getTreeMapVisual() /** * A waterfall chart. * * For more information, see [Using waterfall * charts](https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-waterfallvisual) */ public fun waterfallVisual(): Any? = unwrap(this).getWaterfallVisual() /** * A word cloud. * * For more information, see [Using word * clouds](https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-wordcloudvisual) */ public fun wordCloudVisual(): Any? = unwrap(this).getWordCloudVisual() /** * A builder for [VisualProperty] */ @CdkDslMarker public interface Builder { /** * @param barChartVisual A bar chart. * For more information, see [Using bar * charts](https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) in the *Amazon * QuickSight User Guide* . */ public fun barChartVisual(barChartVisual: IResolvable) /** * @param barChartVisual A bar chart. * For more information, see [Using bar * charts](https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) in the *Amazon * QuickSight User Guide* . */ public fun barChartVisual(barChartVisual: BarChartVisualProperty) /** * @param barChartVisual A bar chart. * For more information, see [Using bar * charts](https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1d096b9d88cec9f7add913f82e3e9afe85661154a671b529dcbce1308690b260") public fun barChartVisual(barChartVisual: BarChartVisualProperty.Builder.() -> Unit) /** * @param boxPlotVisual A box plot. * For more information, see [Using box * plots](https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) in the *Amazon * QuickSight User Guide* . */ public fun boxPlotVisual(boxPlotVisual: IResolvable) /** * @param boxPlotVisual A box plot. * For more information, see [Using box * plots](https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) in the *Amazon * QuickSight User Guide* . */ public fun boxPlotVisual(boxPlotVisual: BoxPlotVisualProperty) /** * @param boxPlotVisual A box plot. * For more information, see [Using box * plots](https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("df2031fe1a4fdec293b5560b2440e4f4723d7ff42175d4ea9d3d32044fd4fa8f") public fun boxPlotVisual(boxPlotVisual: BoxPlotVisualProperty.Builder.() -> Unit) /** * @param comboChartVisual A combo chart. * For more information, see [Using combo * charts](https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) in the *Amazon * QuickSight User Guide* . */ public fun comboChartVisual(comboChartVisual: IResolvable) /** * @param comboChartVisual A combo chart. * For more information, see [Using combo * charts](https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) in the *Amazon * QuickSight User Guide* . */ public fun comboChartVisual(comboChartVisual: ComboChartVisualProperty) /** * @param comboChartVisual A combo chart. * For more information, see [Using combo * charts](https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3731922db2b68dd1d68ffb573082cad15d906f1c01843bba6c3dd882828ffaa8") public fun comboChartVisual(comboChartVisual: ComboChartVisualProperty.Builder.() -> Unit) /** * @param customContentVisual A visual that contains custom content. * For more information, see [Using custom visual * content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the * *Amazon QuickSight User Guide* . */ public fun customContentVisual(customContentVisual: IResolvable) /** * @param customContentVisual A visual that contains custom content. * For more information, see [Using custom visual * content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the * *Amazon QuickSight User Guide* . */ public fun customContentVisual(customContentVisual: CustomContentVisualProperty) /** * @param customContentVisual A visual that contains custom content. * For more information, see [Using custom visual * content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the * *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4c05bf9063c236ee565b3d31e89b7c5b272f38d0cc68bd1c5eac9bc9ff70e072") public fun customContentVisual(customContentVisual: CustomContentVisualProperty.Builder.() -> Unit) /** * @param emptyVisual An empty visual. */ public fun emptyVisual(emptyVisual: IResolvable) /** * @param emptyVisual An empty visual. */ public fun emptyVisual(emptyVisual: EmptyVisualProperty) /** * @param emptyVisual An empty visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("45316c57208af6066f0b1e055433409b313021ee8ca73bcd7e1bc46cc71b2050") public fun emptyVisual(emptyVisual: EmptyVisualProperty.Builder.() -> Unit) /** * @param filledMapVisual A filled map. * For more information, see [Creating filled * maps](https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) in the *Amazon * QuickSight User Guide* . */ public fun filledMapVisual(filledMapVisual: IResolvable) /** * @param filledMapVisual A filled map. * For more information, see [Creating filled * maps](https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) in the *Amazon * QuickSight User Guide* . */ public fun filledMapVisual(filledMapVisual: FilledMapVisualProperty) /** * @param filledMapVisual A filled map. * For more information, see [Creating filled * maps](https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fd613f2ef87645c8225dc171da76f14e5522050031329a01c77e3c3da3a3240d") public fun filledMapVisual(filledMapVisual: FilledMapVisualProperty.Builder.() -> Unit) /** * @param funnelChartVisual A funnel chart. * For more information, see [Using funnel * charts](https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) in the * *Amazon QuickSight User Guide* . */ public fun funnelChartVisual(funnelChartVisual: IResolvable) /** * @param funnelChartVisual A funnel chart. * For more information, see [Using funnel * charts](https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) in the * *Amazon QuickSight User Guide* . */ public fun funnelChartVisual(funnelChartVisual: FunnelChartVisualProperty) /** * @param funnelChartVisual A funnel chart. * For more information, see [Using funnel * charts](https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) in the * *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0e0d01c196cc638be3ad599448e3e0f0bcdd695921ac3d0a234c5f7e8ff33da3") public fun funnelChartVisual(funnelChartVisual: FunnelChartVisualProperty.Builder.() -> Unit) /** * @param gaugeChartVisual A gauge chart. * For more information, see [Using gauge * charts](https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) in the *Amazon * QuickSight User Guide* . */ public fun gaugeChartVisual(gaugeChartVisual: IResolvable) /** * @param gaugeChartVisual A gauge chart. * For more information, see [Using gauge * charts](https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) in the *Amazon * QuickSight User Guide* . */ public fun gaugeChartVisual(gaugeChartVisual: GaugeChartVisualProperty) /** * @param gaugeChartVisual A gauge chart. * For more information, see [Using gauge * charts](https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e470959650960553336f4c102011b2b2c6acaa64fcdeef7846f55378f08154ba") public fun gaugeChartVisual(gaugeChartVisual: GaugeChartVisualProperty.Builder.() -> Unit) /** * @param geospatialMapVisual A geospatial map or a points on map visual. * For more information, see [Creating point * maps](https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) in the *Amazon * QuickSight User Guide* . */ public fun geospatialMapVisual(geospatialMapVisual: IResolvable) /** * @param geospatialMapVisual A geospatial map or a points on map visual. * For more information, see [Creating point * maps](https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) in the *Amazon * QuickSight User Guide* . */ public fun geospatialMapVisual(geospatialMapVisual: GeospatialMapVisualProperty) /** * @param geospatialMapVisual A geospatial map or a points on map visual. * For more information, see [Creating point * maps](https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2f06936c7f204904cd315c75f3250002613a5f17f86237f8ec5b1d79ab6bc6f3") public fun geospatialMapVisual(geospatialMapVisual: GeospatialMapVisualProperty.Builder.() -> Unit) /** * @param heatMapVisual A heat map. * For more information, see [Using heat * maps](https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) in the *Amazon * QuickSight User Guide* . */ public fun heatMapVisual(heatMapVisual: IResolvable) /** * @param heatMapVisual A heat map. * For more information, see [Using heat * maps](https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) in the *Amazon * QuickSight User Guide* . */ public fun heatMapVisual(heatMapVisual: HeatMapVisualProperty) /** * @param heatMapVisual A heat map. * For more information, see [Using heat * maps](https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2823eb808f655904820066e7c58acb888d815bcc169d55433e36496d9b90f278") public fun heatMapVisual(heatMapVisual: HeatMapVisualProperty.Builder.() -> Unit) /** * @param histogramVisual A histogram. * For more information, see [Using * histograms](https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) in the * *Amazon QuickSight User Guide* . */ public fun histogramVisual(histogramVisual: IResolvable) /** * @param histogramVisual A histogram. * For more information, see [Using * histograms](https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) in the * *Amazon QuickSight User Guide* . */ public fun histogramVisual(histogramVisual: HistogramVisualProperty) /** * @param histogramVisual A histogram. * For more information, see [Using * histograms](https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) in the * *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cf96c7567a1d0d395e7952ad6ce8ff29c6ff92482df5d592f27abc037e77929b") public fun histogramVisual(histogramVisual: HistogramVisualProperty.Builder.() -> Unit) /** * @param insightVisual An insight visual. * For more information, see [Working with * insights](https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) in * the *Amazon QuickSight User Guide* . */ public fun insightVisual(insightVisual: IResolvable) /** * @param insightVisual An insight visual. * For more information, see [Working with * insights](https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) in * the *Amazon QuickSight User Guide* . */ public fun insightVisual(insightVisual: InsightVisualProperty) /** * @param insightVisual An insight visual. * For more information, see [Working with * insights](https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) in * the *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8dea3a6194e26a42104daefc90d650adfc80cede142ce452b8a1ea7dfe472cfe") public fun insightVisual(insightVisual: InsightVisualProperty.Builder.() -> Unit) /** * @param kpiVisual A key performance indicator (KPI). * For more information, see [Using * KPIs](https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) in the *Amazon QuickSight * User Guide* . */ public fun kpiVisual(kpiVisual: IResolvable) /** * @param kpiVisual A key performance indicator (KPI). * For more information, see [Using * KPIs](https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) in the *Amazon QuickSight * User Guide* . */ public fun kpiVisual(kpiVisual: KPIVisualProperty) /** * @param kpiVisual A key performance indicator (KPI). * For more information, see [Using * KPIs](https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) in the *Amazon QuickSight * User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fece637f74eb76f6ddd75b519ed961adefb1fa9c144e89643968dee131f6394d") public fun kpiVisual(kpiVisual: KPIVisualProperty.Builder.() -> Unit) /** * @param lineChartVisual A line chart. * For more information, see [Using line * charts](https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) in the *Amazon * QuickSight User Guide* . */ public fun lineChartVisual(lineChartVisual: IResolvable) /** * @param lineChartVisual A line chart. * For more information, see [Using line * charts](https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) in the *Amazon * QuickSight User Guide* . */ public fun lineChartVisual(lineChartVisual: LineChartVisualProperty) /** * @param lineChartVisual A line chart. * For more information, see [Using line * charts](https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f09834ca975247627c84a4ff14b2af02da9738af434fe32f1105e17b55172648") public fun lineChartVisual(lineChartVisual: LineChartVisualProperty.Builder.() -> Unit) /** * @param pieChartVisual A pie or donut chart. * For more information, see [Using pie * charts](https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) in the *Amazon * QuickSight User Guide* . */ public fun pieChartVisual(pieChartVisual: IResolvable) /** * @param pieChartVisual A pie or donut chart. * For more information, see [Using pie * charts](https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) in the *Amazon * QuickSight User Guide* . */ public fun pieChartVisual(pieChartVisual: PieChartVisualProperty) /** * @param pieChartVisual A pie or donut chart. * For more information, see [Using pie * charts](https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3e7f48f97fb280bf65f0f7074b2ceebd8dd1e6ad02404b5c3a31867f6e84e19e") public fun pieChartVisual(pieChartVisual: PieChartVisualProperty.Builder.() -> Unit) /** * @param pivotTableVisual A pivot table. * For more information, see [Using pivot * tables](https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) in the *Amazon * QuickSight User Guide* . */ public fun pivotTableVisual(pivotTableVisual: IResolvable) /** * @param pivotTableVisual A pivot table. * For more information, see [Using pivot * tables](https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) in the *Amazon * QuickSight User Guide* . */ public fun pivotTableVisual(pivotTableVisual: PivotTableVisualProperty) /** * @param pivotTableVisual A pivot table. * For more information, see [Using pivot * tables](https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("67f758f5cd77b36edc37c0999cd3a7cd1094f52d51ebe7d35a86610b7c16eb36") public fun pivotTableVisual(pivotTableVisual: PivotTableVisualProperty.Builder.() -> Unit) /** * @param radarChartVisual A radar chart visual. * For more information, see [Using radar * charts](https://docs.aws.amazon.com/quicksight/latest/user/radar-chart.html) in the *Amazon * QuickSight User Guide* . */ public fun radarChartVisual(radarChartVisual: IResolvable) /** * @param radarChartVisual A radar chart visual. * For more information, see [Using radar * charts](https://docs.aws.amazon.com/quicksight/latest/user/radar-chart.html) in the *Amazon * QuickSight User Guide* . */ public fun radarChartVisual(radarChartVisual: RadarChartVisualProperty) /** * @param radarChartVisual A radar chart visual. * For more information, see [Using radar * charts](https://docs.aws.amazon.com/quicksight/latest/user/radar-chart.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("01d8b355aa05a885208d7921380ebac7025b93d643951d8ce45b46ab6a520d60") public fun radarChartVisual(radarChartVisual: RadarChartVisualProperty.Builder.() -> Unit) /** * @param sankeyDiagramVisual A sankey diagram. * For more information, see [Using Sankey * diagrams](https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) in the * *Amazon QuickSight User Guide* . */ public fun sankeyDiagramVisual(sankeyDiagramVisual: IResolvable) /** * @param sankeyDiagramVisual A sankey diagram. * For more information, see [Using Sankey * diagrams](https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) in the * *Amazon QuickSight User Guide* . */ public fun sankeyDiagramVisual(sankeyDiagramVisual: SankeyDiagramVisualProperty) /** * @param sankeyDiagramVisual A sankey diagram. * For more information, see [Using Sankey * diagrams](https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) in the * *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6c7c223f28327ace119354a200330130e3bf8504ef53c986017f9b9ab4368020") public fun sankeyDiagramVisual(sankeyDiagramVisual: SankeyDiagramVisualProperty.Builder.() -> Unit) /** * @param scatterPlotVisual A scatter plot. * For more information, see [Using scatter * plots](https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) in the *Amazon * QuickSight User Guide* . */ public fun scatterPlotVisual(scatterPlotVisual: IResolvable) /** * @param scatterPlotVisual A scatter plot. * For more information, see [Using scatter * plots](https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) in the *Amazon * QuickSight User Guide* . */ public fun scatterPlotVisual(scatterPlotVisual: ScatterPlotVisualProperty) /** * @param scatterPlotVisual A scatter plot. * For more information, see [Using scatter * plots](https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("220d54dd42f9a4bc877ea855ab4271b80fda0c3ddd304d51646fc17a0bf2c018") public fun scatterPlotVisual(scatterPlotVisual: ScatterPlotVisualProperty.Builder.() -> Unit) /** * @param tableVisual A table visual. * For more information, see [Using tables as * visuals](https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) in the *Amazon * QuickSight User Guide* . */ public fun tableVisual(tableVisual: IResolvable) /** * @param tableVisual A table visual. * For more information, see [Using tables as * visuals](https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) in the *Amazon * QuickSight User Guide* . */ public fun tableVisual(tableVisual: TableVisualProperty) /** * @param tableVisual A table visual. * For more information, see [Using tables as * visuals](https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("28461f4d7decedce989d670d822ac11ef48381d58010d257550f5d00e69ac0a7") public fun tableVisual(tableVisual: TableVisualProperty.Builder.() -> Unit) /** * @param treeMapVisual A tree map. * For more information, see [Using tree * maps](https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) in the *Amazon * QuickSight User Guide* . */ public fun treeMapVisual(treeMapVisual: IResolvable) /** * @param treeMapVisual A tree map. * For more information, see [Using tree * maps](https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) in the *Amazon * QuickSight User Guide* . */ public fun treeMapVisual(treeMapVisual: TreeMapVisualProperty) /** * @param treeMapVisual A tree map. * For more information, see [Using tree * maps](https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("24c156a8817713ac5d6c31a6ece95690e785f7dccefffdf27f5161a2746dde5c") public fun treeMapVisual(treeMapVisual: TreeMapVisualProperty.Builder.() -> Unit) /** * @param waterfallVisual A waterfall chart. * For more information, see [Using waterfall * charts](https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) in the * *Amazon QuickSight User Guide* . */ public fun waterfallVisual(waterfallVisual: IResolvable) /** * @param waterfallVisual A waterfall chart. * For more information, see [Using waterfall * charts](https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) in the * *Amazon QuickSight User Guide* . */ public fun waterfallVisual(waterfallVisual: WaterfallVisualProperty) /** * @param waterfallVisual A waterfall chart. * For more information, see [Using waterfall * charts](https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) in the * *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d85136e696297663ce2da43847e691c7e8308427fb145b6e3507fa92802fef9a") public fun waterfallVisual(waterfallVisual: WaterfallVisualProperty.Builder.() -> Unit) /** * @param wordCloudVisual A word cloud. * For more information, see [Using word * clouds](https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) in the *Amazon * QuickSight User Guide* . */ public fun wordCloudVisual(wordCloudVisual: IResolvable) /** * @param wordCloudVisual A word cloud. * For more information, see [Using word * clouds](https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) in the *Amazon * QuickSight User Guide* . */ public fun wordCloudVisual(wordCloudVisual: WordCloudVisualProperty) /** * @param wordCloudVisual A word cloud. * For more information, see [Using word * clouds](https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0a0993fe8a294df67dad37b71c2bb46ff62a9b260a1e8deca2366aa8104a3a05") public fun wordCloudVisual(wordCloudVisual: WordCloudVisualProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.VisualProperty.builder() /** * @param barChartVisual A bar chart. * For more information, see [Using bar * charts](https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) in the *Amazon * QuickSight User Guide* . */ override fun barChartVisual(barChartVisual: IResolvable) { cdkBuilder.barChartVisual(barChartVisual.let(IResolvable.Companion::unwrap)) } /** * @param barChartVisual A bar chart. * For more information, see [Using bar * charts](https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) in the *Amazon * QuickSight User Guide* . */ override fun barChartVisual(barChartVisual: BarChartVisualProperty) { cdkBuilder.barChartVisual(barChartVisual.let(BarChartVisualProperty.Companion::unwrap)) } /** * @param barChartVisual A bar chart. * For more information, see [Using bar * charts](https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1d096b9d88cec9f7add913f82e3e9afe85661154a671b529dcbce1308690b260") override fun barChartVisual(barChartVisual: BarChartVisualProperty.Builder.() -> Unit): Unit = barChartVisual(BarChartVisualProperty(barChartVisual)) /** * @param boxPlotVisual A box plot. * For more information, see [Using box * plots](https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) in the *Amazon * QuickSight User Guide* . */ override fun boxPlotVisual(boxPlotVisual: IResolvable) { cdkBuilder.boxPlotVisual(boxPlotVisual.let(IResolvable.Companion::unwrap)) } /** * @param boxPlotVisual A box plot. * For more information, see [Using box * plots](https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) in the *Amazon * QuickSight User Guide* . */ override fun boxPlotVisual(boxPlotVisual: BoxPlotVisualProperty) { cdkBuilder.boxPlotVisual(boxPlotVisual.let(BoxPlotVisualProperty.Companion::unwrap)) } /** * @param boxPlotVisual A box plot. * For more information, see [Using box * plots](https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("df2031fe1a4fdec293b5560b2440e4f4723d7ff42175d4ea9d3d32044fd4fa8f") override fun boxPlotVisual(boxPlotVisual: BoxPlotVisualProperty.Builder.() -> Unit): Unit = boxPlotVisual(BoxPlotVisualProperty(boxPlotVisual)) /** * @param comboChartVisual A combo chart. * For more information, see [Using combo * charts](https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) in the *Amazon * QuickSight User Guide* . */ override fun comboChartVisual(comboChartVisual: IResolvable) { cdkBuilder.comboChartVisual(comboChartVisual.let(IResolvable.Companion::unwrap)) } /** * @param comboChartVisual A combo chart. * For more information, see [Using combo * charts](https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) in the *Amazon * QuickSight User Guide* . */ override fun comboChartVisual(comboChartVisual: ComboChartVisualProperty) { cdkBuilder.comboChartVisual(comboChartVisual.let(ComboChartVisualProperty.Companion::unwrap)) } /** * @param comboChartVisual A combo chart. * For more information, see [Using combo * charts](https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3731922db2b68dd1d68ffb573082cad15d906f1c01843bba6c3dd882828ffaa8") override fun comboChartVisual(comboChartVisual: ComboChartVisualProperty.Builder.() -> Unit): Unit = comboChartVisual(ComboChartVisualProperty(comboChartVisual)) /** * @param customContentVisual A visual that contains custom content. * For more information, see [Using custom visual * content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the * *Amazon QuickSight User Guide* . */ override fun customContentVisual(customContentVisual: IResolvable) { cdkBuilder.customContentVisual(customContentVisual.let(IResolvable.Companion::unwrap)) } /** * @param customContentVisual A visual that contains custom content. * For more information, see [Using custom visual * content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the * *Amazon QuickSight User Guide* . */ override fun customContentVisual(customContentVisual: CustomContentVisualProperty) { cdkBuilder.customContentVisual(customContentVisual.let(CustomContentVisualProperty.Companion::unwrap)) } /** * @param customContentVisual A visual that contains custom content. * For more information, see [Using custom visual * content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the * *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4c05bf9063c236ee565b3d31e89b7c5b272f38d0cc68bd1c5eac9bc9ff70e072") override fun customContentVisual(customContentVisual: CustomContentVisualProperty.Builder.() -> Unit): Unit = customContentVisual(CustomContentVisualProperty(customContentVisual)) /** * @param emptyVisual An empty visual. */ override fun emptyVisual(emptyVisual: IResolvable) { cdkBuilder.emptyVisual(emptyVisual.let(IResolvable.Companion::unwrap)) } /** * @param emptyVisual An empty visual. */ override fun emptyVisual(emptyVisual: EmptyVisualProperty) { cdkBuilder.emptyVisual(emptyVisual.let(EmptyVisualProperty.Companion::unwrap)) } /** * @param emptyVisual An empty visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("45316c57208af6066f0b1e055433409b313021ee8ca73bcd7e1bc46cc71b2050") override fun emptyVisual(emptyVisual: EmptyVisualProperty.Builder.() -> Unit): Unit = emptyVisual(EmptyVisualProperty(emptyVisual)) /** * @param filledMapVisual A filled map. * For more information, see [Creating filled * maps](https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) in the *Amazon * QuickSight User Guide* . */ override fun filledMapVisual(filledMapVisual: IResolvable) { cdkBuilder.filledMapVisual(filledMapVisual.let(IResolvable.Companion::unwrap)) } /** * @param filledMapVisual A filled map. * For more information, see [Creating filled * maps](https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) in the *Amazon * QuickSight User Guide* . */ override fun filledMapVisual(filledMapVisual: FilledMapVisualProperty) { cdkBuilder.filledMapVisual(filledMapVisual.let(FilledMapVisualProperty.Companion::unwrap)) } /** * @param filledMapVisual A filled map. * For more information, see [Creating filled * maps](https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fd613f2ef87645c8225dc171da76f14e5522050031329a01c77e3c3da3a3240d") override fun filledMapVisual(filledMapVisual: FilledMapVisualProperty.Builder.() -> Unit): Unit = filledMapVisual(FilledMapVisualProperty(filledMapVisual)) /** * @param funnelChartVisual A funnel chart. * For more information, see [Using funnel * charts](https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) in the * *Amazon QuickSight User Guide* . */ override fun funnelChartVisual(funnelChartVisual: IResolvable) { cdkBuilder.funnelChartVisual(funnelChartVisual.let(IResolvable.Companion::unwrap)) } /** * @param funnelChartVisual A funnel chart. * For more information, see [Using funnel * charts](https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) in the * *Amazon QuickSight User Guide* . */ override fun funnelChartVisual(funnelChartVisual: FunnelChartVisualProperty) { cdkBuilder.funnelChartVisual(funnelChartVisual.let(FunnelChartVisualProperty.Companion::unwrap)) } /** * @param funnelChartVisual A funnel chart. * For more information, see [Using funnel * charts](https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) in the * *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0e0d01c196cc638be3ad599448e3e0f0bcdd695921ac3d0a234c5f7e8ff33da3") override fun funnelChartVisual(funnelChartVisual: FunnelChartVisualProperty.Builder.() -> Unit): Unit = funnelChartVisual(FunnelChartVisualProperty(funnelChartVisual)) /** * @param gaugeChartVisual A gauge chart. * For more information, see [Using gauge * charts](https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) in the *Amazon * QuickSight User Guide* . */ override fun gaugeChartVisual(gaugeChartVisual: IResolvable) { cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(IResolvable.Companion::unwrap)) } /** * @param gaugeChartVisual A gauge chart. * For more information, see [Using gauge * charts](https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) in the *Amazon * QuickSight User Guide* . */ override fun gaugeChartVisual(gaugeChartVisual: GaugeChartVisualProperty) { cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(GaugeChartVisualProperty.Companion::unwrap)) } /** * @param gaugeChartVisual A gauge chart. * For more information, see [Using gauge * charts](https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e470959650960553336f4c102011b2b2c6acaa64fcdeef7846f55378f08154ba") override fun gaugeChartVisual(gaugeChartVisual: GaugeChartVisualProperty.Builder.() -> Unit): Unit = gaugeChartVisual(GaugeChartVisualProperty(gaugeChartVisual)) /** * @param geospatialMapVisual A geospatial map or a points on map visual. * For more information, see [Creating point * maps](https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) in the *Amazon * QuickSight User Guide* . */ override fun geospatialMapVisual(geospatialMapVisual: IResolvable) { cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(IResolvable.Companion::unwrap)) } /** * @param geospatialMapVisual A geospatial map or a points on map visual. * For more information, see [Creating point * maps](https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) in the *Amazon * QuickSight User Guide* . */ override fun geospatialMapVisual(geospatialMapVisual: GeospatialMapVisualProperty) { cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(GeospatialMapVisualProperty.Companion::unwrap)) } /** * @param geospatialMapVisual A geospatial map or a points on map visual. * For more information, see [Creating point * maps](https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2f06936c7f204904cd315c75f3250002613a5f17f86237f8ec5b1d79ab6bc6f3") override fun geospatialMapVisual(geospatialMapVisual: GeospatialMapVisualProperty.Builder.() -> Unit): Unit = geospatialMapVisual(GeospatialMapVisualProperty(geospatialMapVisual)) /** * @param heatMapVisual A heat map. * For more information, see [Using heat * maps](https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) in the *Amazon * QuickSight User Guide* . */ override fun heatMapVisual(heatMapVisual: IResolvable) { cdkBuilder.heatMapVisual(heatMapVisual.let(IResolvable.Companion::unwrap)) } /** * @param heatMapVisual A heat map. * For more information, see [Using heat * maps](https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) in the *Amazon * QuickSight User Guide* . */ override fun heatMapVisual(heatMapVisual: HeatMapVisualProperty) { cdkBuilder.heatMapVisual(heatMapVisual.let(HeatMapVisualProperty.Companion::unwrap)) } /** * @param heatMapVisual A heat map. * For more information, see [Using heat * maps](https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2823eb808f655904820066e7c58acb888d815bcc169d55433e36496d9b90f278") override fun heatMapVisual(heatMapVisual: HeatMapVisualProperty.Builder.() -> Unit): Unit = heatMapVisual(HeatMapVisualProperty(heatMapVisual)) /** * @param histogramVisual A histogram. * For more information, see [Using * histograms](https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) in the * *Amazon QuickSight User Guide* . */ override fun histogramVisual(histogramVisual: IResolvable) { cdkBuilder.histogramVisual(histogramVisual.let(IResolvable.Companion::unwrap)) } /** * @param histogramVisual A histogram. * For more information, see [Using * histograms](https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) in the * *Amazon QuickSight User Guide* . */ override fun histogramVisual(histogramVisual: HistogramVisualProperty) { cdkBuilder.histogramVisual(histogramVisual.let(HistogramVisualProperty.Companion::unwrap)) } /** * @param histogramVisual A histogram. * For more information, see [Using * histograms](https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) in the * *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cf96c7567a1d0d395e7952ad6ce8ff29c6ff92482df5d592f27abc037e77929b") override fun histogramVisual(histogramVisual: HistogramVisualProperty.Builder.() -> Unit): Unit = histogramVisual(HistogramVisualProperty(histogramVisual)) /** * @param insightVisual An insight visual. * For more information, see [Working with * insights](https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) in * the *Amazon QuickSight User Guide* . */ override fun insightVisual(insightVisual: IResolvable) { cdkBuilder.insightVisual(insightVisual.let(IResolvable.Companion::unwrap)) } /** * @param insightVisual An insight visual. * For more information, see [Working with * insights](https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) in * the *Amazon QuickSight User Guide* . */ override fun insightVisual(insightVisual: InsightVisualProperty) { cdkBuilder.insightVisual(insightVisual.let(InsightVisualProperty.Companion::unwrap)) } /** * @param insightVisual An insight visual. * For more information, see [Working with * insights](https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) in * the *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8dea3a6194e26a42104daefc90d650adfc80cede142ce452b8a1ea7dfe472cfe") override fun insightVisual(insightVisual: InsightVisualProperty.Builder.() -> Unit): Unit = insightVisual(InsightVisualProperty(insightVisual)) /** * @param kpiVisual A key performance indicator (KPI). * For more information, see [Using * KPIs](https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) in the *Amazon QuickSight * User Guide* . */ override fun kpiVisual(kpiVisual: IResolvable) { cdkBuilder.kpiVisual(kpiVisual.let(IResolvable.Companion::unwrap)) } /** * @param kpiVisual A key performance indicator (KPI). * For more information, see [Using * KPIs](https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) in the *Amazon QuickSight * User Guide* . */ override fun kpiVisual(kpiVisual: KPIVisualProperty) { cdkBuilder.kpiVisual(kpiVisual.let(KPIVisualProperty.Companion::unwrap)) } /** * @param kpiVisual A key performance indicator (KPI). * For more information, see [Using * KPIs](https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) in the *Amazon QuickSight * User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fece637f74eb76f6ddd75b519ed961adefb1fa9c144e89643968dee131f6394d") override fun kpiVisual(kpiVisual: KPIVisualProperty.Builder.() -> Unit): Unit = kpiVisual(KPIVisualProperty(kpiVisual)) /** * @param lineChartVisual A line chart. * For more information, see [Using line * charts](https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) in the *Amazon * QuickSight User Guide* . */ override fun lineChartVisual(lineChartVisual: IResolvable) { cdkBuilder.lineChartVisual(lineChartVisual.let(IResolvable.Companion::unwrap)) } /** * @param lineChartVisual A line chart. * For more information, see [Using line * charts](https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) in the *Amazon * QuickSight User Guide* . */ override fun lineChartVisual(lineChartVisual: LineChartVisualProperty) { cdkBuilder.lineChartVisual(lineChartVisual.let(LineChartVisualProperty.Companion::unwrap)) } /** * @param lineChartVisual A line chart. * For more information, see [Using line * charts](https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f09834ca975247627c84a4ff14b2af02da9738af434fe32f1105e17b55172648") override fun lineChartVisual(lineChartVisual: LineChartVisualProperty.Builder.() -> Unit): Unit = lineChartVisual(LineChartVisualProperty(lineChartVisual)) /** * @param pieChartVisual A pie or donut chart. * For more information, see [Using pie * charts](https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) in the *Amazon * QuickSight User Guide* . */ override fun pieChartVisual(pieChartVisual: IResolvable) { cdkBuilder.pieChartVisual(pieChartVisual.let(IResolvable.Companion::unwrap)) } /** * @param pieChartVisual A pie or donut chart. * For more information, see [Using pie * charts](https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) in the *Amazon * QuickSight User Guide* . */ override fun pieChartVisual(pieChartVisual: PieChartVisualProperty) { cdkBuilder.pieChartVisual(pieChartVisual.let(PieChartVisualProperty.Companion::unwrap)) } /** * @param pieChartVisual A pie or donut chart. * For more information, see [Using pie * charts](https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3e7f48f97fb280bf65f0f7074b2ceebd8dd1e6ad02404b5c3a31867f6e84e19e") override fun pieChartVisual(pieChartVisual: PieChartVisualProperty.Builder.() -> Unit): Unit = pieChartVisual(PieChartVisualProperty(pieChartVisual)) /** * @param pivotTableVisual A pivot table. * For more information, see [Using pivot * tables](https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) in the *Amazon * QuickSight User Guide* . */ override fun pivotTableVisual(pivotTableVisual: IResolvable) { cdkBuilder.pivotTableVisual(pivotTableVisual.let(IResolvable.Companion::unwrap)) } /** * @param pivotTableVisual A pivot table. * For more information, see [Using pivot * tables](https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) in the *Amazon * QuickSight User Guide* . */ override fun pivotTableVisual(pivotTableVisual: PivotTableVisualProperty) { cdkBuilder.pivotTableVisual(pivotTableVisual.let(PivotTableVisualProperty.Companion::unwrap)) } /** * @param pivotTableVisual A pivot table. * For more information, see [Using pivot * tables](https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("67f758f5cd77b36edc37c0999cd3a7cd1094f52d51ebe7d35a86610b7c16eb36") override fun pivotTableVisual(pivotTableVisual: PivotTableVisualProperty.Builder.() -> Unit): Unit = pivotTableVisual(PivotTableVisualProperty(pivotTableVisual)) /** * @param radarChartVisual A radar chart visual. * For more information, see [Using radar * charts](https://docs.aws.amazon.com/quicksight/latest/user/radar-chart.html) in the *Amazon * QuickSight User Guide* . */ override fun radarChartVisual(radarChartVisual: IResolvable) { cdkBuilder.radarChartVisual(radarChartVisual.let(IResolvable.Companion::unwrap)) } /** * @param radarChartVisual A radar chart visual. * For more information, see [Using radar * charts](https://docs.aws.amazon.com/quicksight/latest/user/radar-chart.html) in the *Amazon * QuickSight User Guide* . */ override fun radarChartVisual(radarChartVisual: RadarChartVisualProperty) { cdkBuilder.radarChartVisual(radarChartVisual.let(RadarChartVisualProperty.Companion::unwrap)) } /** * @param radarChartVisual A radar chart visual. * For more information, see [Using radar * charts](https://docs.aws.amazon.com/quicksight/latest/user/radar-chart.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("01d8b355aa05a885208d7921380ebac7025b93d643951d8ce45b46ab6a520d60") override fun radarChartVisual(radarChartVisual: RadarChartVisualProperty.Builder.() -> Unit): Unit = radarChartVisual(RadarChartVisualProperty(radarChartVisual)) /** * @param sankeyDiagramVisual A sankey diagram. * For more information, see [Using Sankey * diagrams](https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) in the * *Amazon QuickSight User Guide* . */ override fun sankeyDiagramVisual(sankeyDiagramVisual: IResolvable) { cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(IResolvable.Companion::unwrap)) } /** * @param sankeyDiagramVisual A sankey diagram. * For more information, see [Using Sankey * diagrams](https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) in the * *Amazon QuickSight User Guide* . */ override fun sankeyDiagramVisual(sankeyDiagramVisual: SankeyDiagramVisualProperty) { cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(SankeyDiagramVisualProperty.Companion::unwrap)) } /** * @param sankeyDiagramVisual A sankey diagram. * For more information, see [Using Sankey * diagrams](https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) in the * *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6c7c223f28327ace119354a200330130e3bf8504ef53c986017f9b9ab4368020") override fun sankeyDiagramVisual(sankeyDiagramVisual: SankeyDiagramVisualProperty.Builder.() -> Unit): Unit = sankeyDiagramVisual(SankeyDiagramVisualProperty(sankeyDiagramVisual)) /** * @param scatterPlotVisual A scatter plot. * For more information, see [Using scatter * plots](https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) in the *Amazon * QuickSight User Guide* . */ override fun scatterPlotVisual(scatterPlotVisual: IResolvable) { cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(IResolvable.Companion::unwrap)) } /** * @param scatterPlotVisual A scatter plot. * For more information, see [Using scatter * plots](https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) in the *Amazon * QuickSight User Guide* . */ override fun scatterPlotVisual(scatterPlotVisual: ScatterPlotVisualProperty) { cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(ScatterPlotVisualProperty.Companion::unwrap)) } /** * @param scatterPlotVisual A scatter plot. * For more information, see [Using scatter * plots](https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("220d54dd42f9a4bc877ea855ab4271b80fda0c3ddd304d51646fc17a0bf2c018") override fun scatterPlotVisual(scatterPlotVisual: ScatterPlotVisualProperty.Builder.() -> Unit): Unit = scatterPlotVisual(ScatterPlotVisualProperty(scatterPlotVisual)) /** * @param tableVisual A table visual. * For more information, see [Using tables as * visuals](https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) in the *Amazon * QuickSight User Guide* . */ override fun tableVisual(tableVisual: IResolvable) { cdkBuilder.tableVisual(tableVisual.let(IResolvable.Companion::unwrap)) } /** * @param tableVisual A table visual. * For more information, see [Using tables as * visuals](https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) in the *Amazon * QuickSight User Guide* . */ override fun tableVisual(tableVisual: TableVisualProperty) { cdkBuilder.tableVisual(tableVisual.let(TableVisualProperty.Companion::unwrap)) } /** * @param tableVisual A table visual. * For more information, see [Using tables as * visuals](https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("28461f4d7decedce989d670d822ac11ef48381d58010d257550f5d00e69ac0a7") override fun tableVisual(tableVisual: TableVisualProperty.Builder.() -> Unit): Unit = tableVisual(TableVisualProperty(tableVisual)) /** * @param treeMapVisual A tree map. * For more information, see [Using tree * maps](https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) in the *Amazon * QuickSight User Guide* . */ override fun treeMapVisual(treeMapVisual: IResolvable) { cdkBuilder.treeMapVisual(treeMapVisual.let(IResolvable.Companion::unwrap)) } /** * @param treeMapVisual A tree map. * For more information, see [Using tree * maps](https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) in the *Amazon * QuickSight User Guide* . */ override fun treeMapVisual(treeMapVisual: TreeMapVisualProperty) { cdkBuilder.treeMapVisual(treeMapVisual.let(TreeMapVisualProperty.Companion::unwrap)) } /** * @param treeMapVisual A tree map. * For more information, see [Using tree * maps](https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("24c156a8817713ac5d6c31a6ece95690e785f7dccefffdf27f5161a2746dde5c") override fun treeMapVisual(treeMapVisual: TreeMapVisualProperty.Builder.() -> Unit): Unit = treeMapVisual(TreeMapVisualProperty(treeMapVisual)) /** * @param waterfallVisual A waterfall chart. * For more information, see [Using waterfall * charts](https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) in the * *Amazon QuickSight User Guide* . */ override fun waterfallVisual(waterfallVisual: IResolvable) { cdkBuilder.waterfallVisual(waterfallVisual.let(IResolvable.Companion::unwrap)) } /** * @param waterfallVisual A waterfall chart. * For more information, see [Using waterfall * charts](https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) in the * *Amazon QuickSight User Guide* . */ override fun waterfallVisual(waterfallVisual: WaterfallVisualProperty) { cdkBuilder.waterfallVisual(waterfallVisual.let(WaterfallVisualProperty.Companion::unwrap)) } /** * @param waterfallVisual A waterfall chart. * For more information, see [Using waterfall * charts](https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) in the * *Amazon QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d85136e696297663ce2da43847e691c7e8308427fb145b6e3507fa92802fef9a") override fun waterfallVisual(waterfallVisual: WaterfallVisualProperty.Builder.() -> Unit): Unit = waterfallVisual(WaterfallVisualProperty(waterfallVisual)) /** * @param wordCloudVisual A word cloud. * For more information, see [Using word * clouds](https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) in the *Amazon * QuickSight User Guide* . */ override fun wordCloudVisual(wordCloudVisual: IResolvable) { cdkBuilder.wordCloudVisual(wordCloudVisual.let(IResolvable.Companion::unwrap)) } /** * @param wordCloudVisual A word cloud. * For more information, see [Using word * clouds](https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) in the *Amazon * QuickSight User Guide* . */ override fun wordCloudVisual(wordCloudVisual: WordCloudVisualProperty) { cdkBuilder.wordCloudVisual(wordCloudVisual.let(WordCloudVisualProperty.Companion::unwrap)) } /** * @param wordCloudVisual A word cloud. * For more information, see [Using word * clouds](https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) in the *Amazon * QuickSight User Guide* . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0a0993fe8a294df67dad37b71c2bb46ff62a9b260a1e8deca2366aa8104a3a05") override fun wordCloudVisual(wordCloudVisual: WordCloudVisualProperty.Builder.() -> Unit): Unit = wordCloudVisual(WordCloudVisualProperty(wordCloudVisual)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualProperty, ) : CdkObject(cdkObject), VisualProperty { /** * A bar chart. * * For more information, see [Using bar * charts](https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-barchartvisual) */ override fun barChartVisual(): Any? = unwrap(this).getBarChartVisual() /** * A box plot. * * For more information, see [Using box * plots](https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-boxplotvisual) */ override fun boxPlotVisual(): Any? = unwrap(this).getBoxPlotVisual() /** * A combo chart. * * For more information, see [Using combo * charts](https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-combochartvisual) */ override fun comboChartVisual(): Any? = unwrap(this).getComboChartVisual() /** * A visual that contains custom content. * * For more information, see [Using custom visual * content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-customcontentvisual) */ override fun customContentVisual(): Any? = unwrap(this).getCustomContentVisual() /** * An empty visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-emptyvisual) */ override fun emptyVisual(): Any? = unwrap(this).getEmptyVisual() /** * A filled map. * * For more information, see [Creating filled * maps](https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-filledmapvisual) */ override fun filledMapVisual(): Any? = unwrap(this).getFilledMapVisual() /** * A funnel chart. * * For more information, see [Using funnel * charts](https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-funnelchartvisual) */ override fun funnelChartVisual(): Any? = unwrap(this).getFunnelChartVisual() /** * A gauge chart. * * For more information, see [Using gauge * charts](https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-gaugechartvisual) */ override fun gaugeChartVisual(): Any? = unwrap(this).getGaugeChartVisual() /** * A geospatial map or a points on map visual. * * For more information, see [Creating point * maps](https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-geospatialmapvisual) */ override fun geospatialMapVisual(): Any? = unwrap(this).getGeospatialMapVisual() /** * A heat map. * * For more information, see [Using heat * maps](https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-heatmapvisual) */ override fun heatMapVisual(): Any? = unwrap(this).getHeatMapVisual() /** * A histogram. * * For more information, see [Using * histograms](https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-histogramvisual) */ override fun histogramVisual(): Any? = unwrap(this).getHistogramVisual() /** * An insight visual. * * For more information, see [Working with * insights](https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) in * the *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-insightvisual) */ override fun insightVisual(): Any? = unwrap(this).getInsightVisual() /** * A key performance indicator (KPI). * * For more information, see [Using * KPIs](https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) in the *Amazon QuickSight * User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-kpivisual) */ override fun kpiVisual(): Any? = unwrap(this).getKpiVisual() /** * A line chart. * * For more information, see [Using line * charts](https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-linechartvisual) */ override fun lineChartVisual(): Any? = unwrap(this).getLineChartVisual() /** * A pie or donut chart. * * For more information, see [Using pie * charts](https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-piechartvisual) */ override fun pieChartVisual(): Any? = unwrap(this).getPieChartVisual() /** * A pivot table. * * For more information, see [Using pivot * tables](https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-pivottablevisual) */ override fun pivotTableVisual(): Any? = unwrap(this).getPivotTableVisual() /** * A radar chart visual. * * For more information, see [Using radar * charts](https://docs.aws.amazon.com/quicksight/latest/user/radar-chart.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-radarchartvisual) */ override fun radarChartVisual(): Any? = unwrap(this).getRadarChartVisual() /** * A sankey diagram. * * For more information, see [Using Sankey * diagrams](https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-sankeydiagramvisual) */ override fun sankeyDiagramVisual(): Any? = unwrap(this).getSankeyDiagramVisual() /** * A scatter plot. * * For more information, see [Using scatter * plots](https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-scatterplotvisual) */ override fun scatterPlotVisual(): Any? = unwrap(this).getScatterPlotVisual() /** * A table visual. * * For more information, see [Using tables as * visuals](https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-tablevisual) */ override fun tableVisual(): Any? = unwrap(this).getTableVisual() /** * A tree map. * * For more information, see [Using tree * maps](https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-treemapvisual) */ override fun treeMapVisual(): Any? = unwrap(this).getTreeMapVisual() /** * A waterfall chart. * * For more information, see [Using waterfall * charts](https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) in the * *Amazon QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-waterfallvisual) */ override fun waterfallVisual(): Any? = unwrap(this).getWaterfallVisual() /** * A word cloud. * * For more information, see [Using word * clouds](https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) in the *Amazon * QuickSight User Guide* . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visual.html#cfn-quicksight-dashboard-visual-wordcloudvisual) */ override fun wordCloudVisual(): Any? = unwrap(this).getWordCloudVisual() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): VisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualProperty): VisualProperty = CdkObjectWrappers.wrap(cdkObject) as? VisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: VisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.VisualProperty } } /** * The subtitle label options for a visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * VisualSubtitleLabelOptionsProperty visualSubtitleLabelOptionsProperty = * VisualSubtitleLabelOptionsProperty.builder() * .formatText(LongFormatTextProperty.builder() * .plainText("plainText") * .richText("richText") * .build()) * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualsubtitlelabeloptions.html) */ public interface VisualSubtitleLabelOptionsProperty { /** * The long text format of the subtitle label, such as plain text or rich text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualsubtitlelabeloptions.html#cfn-quicksight-dashboard-visualsubtitlelabeloptions-formattext) */ public fun formatText(): Any? = unwrap(this).getFormatText() /** * The visibility of the subtitle label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualsubtitlelabeloptions.html#cfn-quicksight-dashboard-visualsubtitlelabeloptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [VisualSubtitleLabelOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param formatText The long text format of the subtitle label, such as plain text or rich * text. */ public fun formatText(formatText: IResolvable) /** * @param formatText The long text format of the subtitle label, such as plain text or rich * text. */ public fun formatText(formatText: LongFormatTextProperty) /** * @param formatText The long text format of the subtitle label, such as plain text or rich * text. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f0b86dbcf37b5933d37ac595259198223a597e356ae32f7c170d7cdc362557a9") public fun formatText(formatText: LongFormatTextProperty.Builder.() -> Unit) /** * @param visibility The visibility of the subtitle label. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualSubtitleLabelOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.VisualSubtitleLabelOptionsProperty.builder() /** * @param formatText The long text format of the subtitle label, such as plain text or rich * text. */ override fun formatText(formatText: IResolvable) { cdkBuilder.formatText(formatText.let(IResolvable.Companion::unwrap)) } /** * @param formatText The long text format of the subtitle label, such as plain text or rich * text. */ override fun formatText(formatText: LongFormatTextProperty) { cdkBuilder.formatText(formatText.let(LongFormatTextProperty.Companion::unwrap)) } /** * @param formatText The long text format of the subtitle label, such as plain text or rich * text. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f0b86dbcf37b5933d37ac595259198223a597e356ae32f7c170d7cdc362557a9") override fun formatText(formatText: LongFormatTextProperty.Builder.() -> Unit): Unit = formatText(LongFormatTextProperty(formatText)) /** * @param visibility The visibility of the subtitle label. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualSubtitleLabelOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualSubtitleLabelOptionsProperty, ) : CdkObject(cdkObject), VisualSubtitleLabelOptionsProperty { /** * The long text format of the subtitle label, such as plain text or rich text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualsubtitlelabeloptions.html#cfn-quicksight-dashboard-visualsubtitlelabeloptions-formattext) */ override fun formatText(): Any? = unwrap(this).getFormatText() /** * The visibility of the subtitle label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualsubtitlelabeloptions.html#cfn-quicksight-dashboard-visualsubtitlelabeloptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): VisualSubtitleLabelOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualSubtitleLabelOptionsProperty): VisualSubtitleLabelOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? VisualSubtitleLabelOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: VisualSubtitleLabelOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualSubtitleLabelOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.VisualSubtitleLabelOptionsProperty } } /** * The title label options for a visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * VisualTitleLabelOptionsProperty visualTitleLabelOptionsProperty = * VisualTitleLabelOptionsProperty.builder() * .formatText(ShortFormatTextProperty.builder() * .plainText("plainText") * .richText("richText") * .build()) * .visibility("visibility") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualtitlelabeloptions.html) */ public interface VisualTitleLabelOptionsProperty { /** * The short text format of the title label, such as plain text or rich text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualtitlelabeloptions.html#cfn-quicksight-dashboard-visualtitlelabeloptions-formattext) */ public fun formatText(): Any? = unwrap(this).getFormatText() /** * The visibility of the title label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualtitlelabeloptions.html#cfn-quicksight-dashboard-visualtitlelabeloptions-visibility) */ public fun visibility(): String? = unwrap(this).getVisibility() /** * A builder for [VisualTitleLabelOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param formatText The short text format of the title label, such as plain text or rich * text. */ public fun formatText(formatText: IResolvable) /** * @param formatText The short text format of the title label, such as plain text or rich * text. */ public fun formatText(formatText: ShortFormatTextProperty) /** * @param formatText The short text format of the title label, such as plain text or rich * text. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6a2d1627d85e28fae766546e3d0718b66d4a67946053f01d81963be4324ecdf3") public fun formatText(formatText: ShortFormatTextProperty.Builder.() -> Unit) /** * @param visibility The visibility of the title label. */ public fun visibility(visibility: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualTitleLabelOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.VisualTitleLabelOptionsProperty.builder() /** * @param formatText The short text format of the title label, such as plain text or rich * text. */ override fun formatText(formatText: IResolvable) { cdkBuilder.formatText(formatText.let(IResolvable.Companion::unwrap)) } /** * @param formatText The short text format of the title label, such as plain text or rich * text. */ override fun formatText(formatText: ShortFormatTextProperty) { cdkBuilder.formatText(formatText.let(ShortFormatTextProperty.Companion::unwrap)) } /** * @param formatText The short text format of the title label, such as plain text or rich * text. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6a2d1627d85e28fae766546e3d0718b66d4a67946053f01d81963be4324ecdf3") override fun formatText(formatText: ShortFormatTextProperty.Builder.() -> Unit): Unit = formatText(ShortFormatTextProperty(formatText)) /** * @param visibility The visibility of the title label. */ override fun visibility(visibility: String) { cdkBuilder.visibility(visibility) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualTitleLabelOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualTitleLabelOptionsProperty, ) : CdkObject(cdkObject), VisualTitleLabelOptionsProperty { /** * The short text format of the title label, such as plain text or rich text. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualtitlelabeloptions.html#cfn-quicksight-dashboard-visualtitlelabeloptions-formattext) */ override fun formatText(): Any? = unwrap(this).getFormatText() /** * The visibility of the title label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-visualtitlelabeloptions.html#cfn-quicksight-dashboard-visualtitlelabeloptions-visibility) */ override fun visibility(): String? = unwrap(this).getVisibility() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): VisualTitleLabelOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.VisualTitleLabelOptionsProperty): VisualTitleLabelOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? VisualTitleLabelOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: VisualTitleLabelOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.VisualTitleLabelOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.VisualTitleLabelOptionsProperty } } /** * The field well configuration of a waterfall visual. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartaggregatedfieldwells.html) */ public interface WaterfallChartAggregatedFieldWellsProperty { /** * The breakdown field wells of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartaggregatedfieldwells.html#cfn-quicksight-dashboard-waterfallchartaggregatedfieldwells-breakdowns) */ public fun breakdowns(): Any? = unwrap(this).getBreakdowns() /** * The category field wells of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartaggregatedfieldwells.html#cfn-quicksight-dashboard-waterfallchartaggregatedfieldwells-categories) */ public fun categories(): Any? = unwrap(this).getCategories() /** * The value field wells of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartaggregatedfieldwells.html#cfn-quicksight-dashboard-waterfallchartaggregatedfieldwells-values) */ public fun values(): Any? = unwrap(this).getValues() /** * A builder for [WaterfallChartAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param breakdowns The breakdown field wells of a waterfall visual. */ public fun breakdowns(breakdowns: IResolvable) /** * @param breakdowns The breakdown field wells of a waterfall visual. */ public fun breakdowns(breakdowns: List) /** * @param breakdowns The breakdown field wells of a waterfall visual. */ public fun breakdowns(vararg breakdowns: Any) /** * @param categories The category field wells of a waterfall visual. */ public fun categories(categories: IResolvable) /** * @param categories The category field wells of a waterfall visual. */ public fun categories(categories: List) /** * @param categories The category field wells of a waterfall visual. */ public fun categories(vararg categories: Any) /** * @param values The value field wells of a waterfall visual. */ public fun values(values: IResolvable) /** * @param values The value field wells of a waterfall visual. */ public fun values(values: List) /** * @param values The value field wells of a waterfall visual. */ public fun values(vararg values: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartAggregatedFieldWellsProperty.builder() /** * @param breakdowns The breakdown field wells of a waterfall visual. */ override fun breakdowns(breakdowns: IResolvable) { cdkBuilder.breakdowns(breakdowns.let(IResolvable.Companion::unwrap)) } /** * @param breakdowns The breakdown field wells of a waterfall visual. */ override fun breakdowns(breakdowns: List) { cdkBuilder.breakdowns(breakdowns.map{CdkObjectWrappers.unwrap(it)}) } /** * @param breakdowns The breakdown field wells of a waterfall visual. */ override fun breakdowns(vararg breakdowns: Any): Unit = breakdowns(breakdowns.toList()) /** * @param categories The category field wells of a waterfall visual. */ override fun categories(categories: IResolvable) { cdkBuilder.categories(categories.let(IResolvable.Companion::unwrap)) } /** * @param categories The category field wells of a waterfall visual. */ override fun categories(categories: List) { cdkBuilder.categories(categories.map{CdkObjectWrappers.unwrap(it)}) } /** * @param categories The category field wells of a waterfall visual. */ override fun categories(vararg categories: Any): Unit = categories(categories.toList()) /** * @param values The value field wells of a waterfall visual. */ override fun values(values: IResolvable) { cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The value field wells of a waterfall visual. */ override fun values(values: List) { cdkBuilder.values(values.map{CdkObjectWrappers.unwrap(it)}) } /** * @param values The value field wells of a waterfall visual. */ override fun values(vararg values: Any): Unit = values(values.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), WaterfallChartAggregatedFieldWellsProperty { /** * The breakdown field wells of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartaggregatedfieldwells.html#cfn-quicksight-dashboard-waterfallchartaggregatedfieldwells-breakdowns) */ override fun breakdowns(): Any? = unwrap(this).getBreakdowns() /** * The category field wells of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartaggregatedfieldwells.html#cfn-quicksight-dashboard-waterfallchartaggregatedfieldwells-categories) */ override fun categories(): Any? = unwrap(this).getCategories() /** * The value field wells of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartaggregatedfieldwells.html#cfn-quicksight-dashboard-waterfallchartaggregatedfieldwells-values) */ override fun values(): Any? = unwrap(this).getValues() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WaterfallChartAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartAggregatedFieldWellsProperty): WaterfallChartAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? WaterfallChartAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WaterfallChartAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartAggregatedFieldWellsProperty } } /** * The color configuration of a waterfall visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * WaterfallChartColorConfigurationProperty waterfallChartColorConfigurationProperty = * WaterfallChartColorConfigurationProperty.builder() * .groupColorConfiguration(WaterfallChartGroupColorConfigurationProperty.builder() * .negativeBarColor("negativeBarColor") * .positiveBarColor("positiveBarColor") * .totalBarColor("totalBarColor") * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartcolorconfiguration.html) */ public interface WaterfallChartColorConfigurationProperty { /** * The color configuration for individual groups within a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartcolorconfiguration-groupcolorconfiguration) */ public fun groupColorConfiguration(): Any? = unwrap(this).getGroupColorConfiguration() /** * A builder for [WaterfallChartColorConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param groupColorConfiguration The color configuration for individual groups within a * waterfall visual. */ public fun groupColorConfiguration(groupColorConfiguration: IResolvable) /** * @param groupColorConfiguration The color configuration for individual groups within a * waterfall visual. */ public fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty) /** * @param groupColorConfiguration The color configuration for individual groups within a * waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("04f6895dca2550a553ab887b1a052df90d2fa6a0a7e1480346408382f3764272") public fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty.builder() /** * @param groupColorConfiguration The color configuration for individual groups within a * waterfall visual. */ override fun groupColorConfiguration(groupColorConfiguration: IResolvable) { cdkBuilder.groupColorConfiguration(groupColorConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param groupColorConfiguration The color configuration for individual groups within a * waterfall visual. */ override fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty) { cdkBuilder.groupColorConfiguration(groupColorConfiguration.let(WaterfallChartGroupColorConfigurationProperty.Companion::unwrap)) } /** * @param groupColorConfiguration The color configuration for individual groups within a * waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("04f6895dca2550a553ab887b1a052df90d2fa6a0a7e1480346408382f3764272") override fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty.Builder.() -> Unit): Unit = groupColorConfiguration(WaterfallChartGroupColorConfigurationProperty(groupColorConfiguration)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty, ) : CdkObject(cdkObject), WaterfallChartColorConfigurationProperty { /** * The color configuration for individual groups within a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartcolorconfiguration-groupcolorconfiguration) */ override fun groupColorConfiguration(): Any? = unwrap(this).getGroupColorConfiguration() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WaterfallChartColorConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty): WaterfallChartColorConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? WaterfallChartColorConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WaterfallChartColorConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty } } /** * The configuration for a waterfall visual. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html) */ public interface WaterfallChartConfigurationProperty { /** * The options that determine the presentation of the category axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-categoryaxisdisplayoptions) */ public fun categoryAxisDisplayOptions(): Any? = unwrap(this).getCategoryAxisDisplayOptions() /** * The options that determine the presentation of the category axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-categoryaxislabeloptions) */ public fun categoryAxisLabelOptions(): Any? = unwrap(this).getCategoryAxisLabelOptions() /** * The color configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-colorconfiguration) */ public fun colorConfiguration(): Any? = unwrap(this).getColorConfiguration() /** * The data label configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-datalabels) */ public fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field well configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-legend) */ public fun legend(): Any? = unwrap(this).getLegend() /** * The options that determine the presentation of the y-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-primaryyaxisdisplayoptions) */ public fun primaryYAxisDisplayOptions(): Any? = unwrap(this).getPrimaryYAxisDisplayOptions() /** * The options that determine the presentation of the y-axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-primaryyaxislabeloptions) */ public fun primaryYAxisLabelOptions(): Any? = unwrap(this).getPrimaryYAxisLabelOptions() /** * The sort configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The visual palette configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-visualpalette) */ public fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * The options that determine the presentation of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-waterfallchartoptions) */ public fun waterfallChartOptions(): Any? = unwrap(this).getWaterfallChartOptions() /** * A builder for [WaterfallChartConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryAxisDisplayOptions The options that determine the presentation of the * category axis. */ public fun categoryAxisDisplayOptions(categoryAxisDisplayOptions: IResolvable) /** * @param categoryAxisDisplayOptions The options that determine the presentation of the * category axis. */ public fun categoryAxisDisplayOptions(categoryAxisDisplayOptions: AxisDisplayOptionsProperty) /** * @param categoryAxisDisplayOptions The options that determine the presentation of the * category axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7407491890341a2b88690ffa350673b72b91307435bc9f49d7a7b2d6ca2d085f") public fun categoryAxisDisplayOptions(categoryAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param categoryAxisLabelOptions The options that determine the presentation of the category * axis label. */ public fun categoryAxisLabelOptions(categoryAxisLabelOptions: IResolvable) /** * @param categoryAxisLabelOptions The options that determine the presentation of the category * axis label. */ public fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty) /** * @param categoryAxisLabelOptions The options that determine the presentation of the category * axis label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("818a0882a101c0aebe952d43496b9cdce3c4fed49002488d4975249e83816641") public fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param colorConfiguration The color configuration of a waterfall visual. */ public fun colorConfiguration(colorConfiguration: IResolvable) /** * @param colorConfiguration The color configuration of a waterfall visual. */ public fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty) /** * @param colorConfiguration The color configuration of a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e01965f5a82367b768a4f128e4dc26e15c3254a8a460f4e8407e3d1665e18cd4") public fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty.Builder.() -> Unit) /** * @param dataLabels The data label configuration of a waterfall visual. */ public fun dataLabels(dataLabels: IResolvable) /** * @param dataLabels The data label configuration of a waterfall visual. */ public fun dataLabels(dataLabels: DataLabelOptionsProperty) /** * @param dataLabels The data label configuration of a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a2f8d92fa3d36bd7f1b08d020073243769e9cab65148da64da70e7c517fbf349") public fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field well configuration of a waterfall visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field well configuration of a waterfall visual. */ public fun fieldWells(fieldWells: WaterfallChartFieldWellsProperty) /** * @param fieldWells The field well configuration of a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("314d545c4d1657a4d231803af8d331b4c87d03db4d1dbe750083741544c8dfe2") public fun fieldWells(fieldWells: WaterfallChartFieldWellsProperty.Builder.() -> Unit) /** * @param legend The legend configuration of a waterfall visual. */ public fun legend(legend: IResolvable) /** * @param legend The legend configuration of a waterfall visual. */ public fun legend(legend: LegendOptionsProperty) /** * @param legend The legend configuration of a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("af6924747732532a864bff24b3e21233a023c585e8b04bafc6219033e391a8ef") public fun legend(legend: LegendOptionsProperty.Builder.() -> Unit) /** * @param primaryYAxisDisplayOptions The options that determine the presentation of the * y-axis. */ public fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) /** * @param primaryYAxisDisplayOptions The options that determine the presentation of the * y-axis. */ public fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) /** * @param primaryYAxisDisplayOptions The options that determine the presentation of the * y-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b2aa811570b934fcd777748da3d2fcf3b7cb928cf58dc68337f8d058b5da4f00") public fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit) /** * @param primaryYAxisLabelOptions The options that determine the presentation of the y-axis * label. */ public fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) /** * @param primaryYAxisLabelOptions The options that determine the presentation of the y-axis * label. */ public fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) /** * @param primaryYAxisLabelOptions The options that determine the presentation of the y-axis * label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("530963ece950dba348974f1a2b31d86360c83f869f87c07c7cc2a68b2707b90f") public fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration of a waterfall visual. */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a waterfall visual. */ public fun sortConfiguration(sortConfiguration: WaterfallChartSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("85910e437b81598f5457cf7758823f40b6411c8122843d54c7e593c795b69348") public fun sortConfiguration(sortConfiguration: WaterfallChartSortConfigurationProperty.Builder.() -> Unit) /** * @param visualPalette The visual palette configuration of a waterfall visual. */ public fun visualPalette(visualPalette: IResolvable) /** * @param visualPalette The visual palette configuration of a waterfall visual. */ public fun visualPalette(visualPalette: VisualPaletteProperty) /** * @param visualPalette The visual palette configuration of a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ad445de4bd9f2177e13c48175c99d03151f877d9129d6d888a1e8d4106581dab") public fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit) /** * @param waterfallChartOptions The options that determine the presentation of a waterfall * visual. */ public fun waterfallChartOptions(waterfallChartOptions: IResolvable) /** * @param waterfallChartOptions The options that determine the presentation of a waterfall * visual. */ public fun waterfallChartOptions(waterfallChartOptions: WaterfallChartOptionsProperty) /** * @param waterfallChartOptions The options that determine the presentation of a waterfall * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e30965a29c8cfe55f28865d5499a0a9b438ae7afda8d23dcc8e924d8340b55ce") public fun waterfallChartOptions(waterfallChartOptions: WaterfallChartOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartConfigurationProperty.builder() /** * @param categoryAxisDisplayOptions The options that determine the presentation of the * category axis. */ override fun categoryAxisDisplayOptions(categoryAxisDisplayOptions: IResolvable) { cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param categoryAxisDisplayOptions The options that determine the presentation of the * category axis. */ override fun categoryAxisDisplayOptions(categoryAxisDisplayOptions: AxisDisplayOptionsProperty) { cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param categoryAxisDisplayOptions The options that determine the presentation of the * category axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7407491890341a2b88690ffa350673b72b91307435bc9f49d7a7b2d6ca2d085f") override fun categoryAxisDisplayOptions(categoryAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = categoryAxisDisplayOptions(AxisDisplayOptionsProperty(categoryAxisDisplayOptions)) /** * @param categoryAxisLabelOptions The options that determine the presentation of the category * axis label. */ override fun categoryAxisLabelOptions(categoryAxisLabelOptions: IResolvable) { cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param categoryAxisLabelOptions The options that determine the presentation of the category * axis label. */ override fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param categoryAxisLabelOptions The options that determine the presentation of the category * axis label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("818a0882a101c0aebe952d43496b9cdce3c4fed49002488d4975249e83816641") override fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = categoryAxisLabelOptions(ChartAxisLabelOptionsProperty(categoryAxisLabelOptions)) /** * @param colorConfiguration The color configuration of a waterfall visual. */ override fun colorConfiguration(colorConfiguration: IResolvable) { cdkBuilder.colorConfiguration(colorConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param colorConfiguration The color configuration of a waterfall visual. */ override fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty) { cdkBuilder.colorConfiguration(colorConfiguration.let(WaterfallChartColorConfigurationProperty.Companion::unwrap)) } /** * @param colorConfiguration The color configuration of a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e01965f5a82367b768a4f128e4dc26e15c3254a8a460f4e8407e3d1665e18cd4") override fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty.Builder.() -> Unit): Unit = colorConfiguration(WaterfallChartColorConfigurationProperty(colorConfiguration)) /** * @param dataLabels The data label configuration of a waterfall visual. */ override fun dataLabels(dataLabels: IResolvable) { cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a waterfall visual. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a2f8d92fa3d36bd7f1b08d020073243769e9cab65148da64da70e7c517fbf349") override fun dataLabels(dataLabels: DataLabelOptionsProperty.Builder.() -> Unit): Unit = dataLabels(DataLabelOptionsProperty(dataLabels)) /** * @param fieldWells The field well configuration of a waterfall visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a waterfall visual. */ override fun fieldWells(fieldWells: WaterfallChartFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(WaterfallChartFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("314d545c4d1657a4d231803af8d331b4c87d03db4d1dbe750083741544c8dfe2") override fun fieldWells(fieldWells: WaterfallChartFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(WaterfallChartFieldWellsProperty(fieldWells)) /** * @param legend The legend configuration of a waterfall visual. */ override fun legend(legend: IResolvable) { cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend configuration of a waterfall visual. */ override fun legend(legend: LegendOptionsProperty) { cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** * @param legend The legend configuration of a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("af6924747732532a864bff24b3e21233a023c585e8b04bafc6219033e391a8ef") override fun legend(legend: LegendOptionsProperty.Builder.() -> Unit): Unit = legend(LegendOptionsProperty(legend)) /** * @param primaryYAxisDisplayOptions The options that determine the presentation of the * y-axis. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param primaryYAxisDisplayOptions The options that determine the presentation of the * y-axis. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** * @param primaryYAxisDisplayOptions The options that determine the presentation of the * y-axis. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b2aa811570b934fcd777748da3d2fcf3b7cb928cf58dc68337f8d058b5da4f00") override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty.Builder.() -> Unit): Unit = primaryYAxisDisplayOptions(AxisDisplayOptionsProperty(primaryYAxisDisplayOptions)) /** * @param primaryYAxisLabelOptions The options that determine the presentation of the y-axis * label. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param primaryYAxisLabelOptions The options that determine the presentation of the y-axis * label. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param primaryYAxisLabelOptions The options that determine the presentation of the y-axis * label. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("530963ece950dba348974f1a2b31d86360c83f869f87c07c7cc2a68b2707b90f") override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = primaryYAxisLabelOptions(ChartAxisLabelOptionsProperty(primaryYAxisLabelOptions)) /** * @param sortConfiguration The sort configuration of a waterfall visual. */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a waterfall visual. */ override fun sortConfiguration(sortConfiguration: WaterfallChartSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(WaterfallChartSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("85910e437b81598f5457cf7758823f40b6411c8122843d54c7e593c795b69348") override fun sortConfiguration(sortConfiguration: WaterfallChartSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(WaterfallChartSortConfigurationProperty(sortConfiguration)) /** * @param visualPalette The visual palette configuration of a waterfall visual. */ override fun visualPalette(visualPalette: IResolvable) { cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a waterfall visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ad445de4bd9f2177e13c48175c99d03151f877d9129d6d888a1e8d4106581dab") override fun visualPalette(visualPalette: VisualPaletteProperty.Builder.() -> Unit): Unit = visualPalette(VisualPaletteProperty(visualPalette)) /** * @param waterfallChartOptions The options that determine the presentation of a waterfall * visual. */ override fun waterfallChartOptions(waterfallChartOptions: IResolvable) { cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(IResolvable.Companion::unwrap)) } /** * @param waterfallChartOptions The options that determine the presentation of a waterfall * visual. */ override fun waterfallChartOptions(waterfallChartOptions: WaterfallChartOptionsProperty) { cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(WaterfallChartOptionsProperty.Companion::unwrap)) } /** * @param waterfallChartOptions The options that determine the presentation of a waterfall * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e30965a29c8cfe55f28865d5499a0a9b438ae7afda8d23dcc8e924d8340b55ce") override fun waterfallChartOptions(waterfallChartOptions: WaterfallChartOptionsProperty.Builder.() -> Unit): Unit = waterfallChartOptions(WaterfallChartOptionsProperty(waterfallChartOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartConfigurationProperty, ) : CdkObject(cdkObject), WaterfallChartConfigurationProperty { /** * The options that determine the presentation of the category axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-categoryaxisdisplayoptions) */ override fun categoryAxisDisplayOptions(): Any? = unwrap(this).getCategoryAxisDisplayOptions() /** * The options that determine the presentation of the category axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-categoryaxislabeloptions) */ override fun categoryAxisLabelOptions(): Any? = unwrap(this).getCategoryAxisLabelOptions() /** * The color configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-colorconfiguration) */ override fun colorConfiguration(): Any? = unwrap(this).getColorConfiguration() /** * The data label configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-datalabels) */ override fun dataLabels(): Any? = unwrap(this).getDataLabels() /** * The field well configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The legend configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-legend) */ override fun legend(): Any? = unwrap(this).getLegend() /** * The options that determine the presentation of the y-axis. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-primaryyaxisdisplayoptions) */ override fun primaryYAxisDisplayOptions(): Any? = unwrap(this).getPrimaryYAxisDisplayOptions() /** * The options that determine the presentation of the y-axis label. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-primaryyaxislabeloptions) */ override fun primaryYAxisLabelOptions(): Any? = unwrap(this).getPrimaryYAxisLabelOptions() /** * The sort configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The visual palette configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-visualpalette) */ override fun visualPalette(): Any? = unwrap(this).getVisualPalette() /** * The options that determine the presentation of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-waterfallchartoptions) */ override fun waterfallChartOptions(): Any? = unwrap(this).getWaterfallChartOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WaterfallChartConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartConfigurationProperty): WaterfallChartConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? WaterfallChartConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WaterfallChartConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartConfigurationProperty } } /** * The field well configuration of a waterfall visual. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartfieldwells.html) */ public interface WaterfallChartFieldWellsProperty { /** * The field well configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartfieldwells.html#cfn-quicksight-dashboard-waterfallchartfieldwells-waterfallchartaggregatedfieldwells) */ public fun waterfallChartAggregatedFieldWells(): Any? = unwrap(this).getWaterfallChartAggregatedFieldWells() /** * A builder for [WaterfallChartFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param waterfallChartAggregatedFieldWells The field well configuration of a waterfall * visual. */ public fun waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells: IResolvable) /** * @param waterfallChartAggregatedFieldWells The field well configuration of a waterfall * visual. */ public fun waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells: WaterfallChartAggregatedFieldWellsProperty) /** * @param waterfallChartAggregatedFieldWells The field well configuration of a waterfall * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a75b7738b10912406b93cfea85f630f86125b89d4091f340661323831d334821") public fun waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells: WaterfallChartAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartFieldWellsProperty.builder() /** * @param waterfallChartAggregatedFieldWells The field well configuration of a waterfall * visual. */ override fun waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells: IResolvable) { cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param waterfallChartAggregatedFieldWells The field well configuration of a waterfall * visual. */ override fun waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells: WaterfallChartAggregatedFieldWellsProperty) { cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(WaterfallChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param waterfallChartAggregatedFieldWells The field well configuration of a waterfall * visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a75b7738b10912406b93cfea85f630f86125b89d4091f340661323831d334821") override fun waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells: WaterfallChartAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = waterfallChartAggregatedFieldWells(WaterfallChartAggregatedFieldWellsProperty(waterfallChartAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartFieldWellsProperty, ) : CdkObject(cdkObject), WaterfallChartFieldWellsProperty { /** * The field well configuration of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartfieldwells.html#cfn-quicksight-dashboard-waterfallchartfieldwells-waterfallchartaggregatedfieldwells) */ override fun waterfallChartAggregatedFieldWells(): Any? = unwrap(this).getWaterfallChartAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WaterfallChartFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartFieldWellsProperty): WaterfallChartFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? WaterfallChartFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WaterfallChartFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartFieldWellsProperty } } /** * The color configuration for individual groups within a waterfall visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * WaterfallChartGroupColorConfigurationProperty waterfallChartGroupColorConfigurationProperty = * WaterfallChartGroupColorConfigurationProperty.builder() * .negativeBarColor("negativeBarColor") * .positiveBarColor("positiveBarColor") * .totalBarColor("totalBarColor") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html) */ public interface WaterfallChartGroupColorConfigurationProperty { /** * Defines the color for the negative bars of a waterfall chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartgroupcolorconfiguration-negativebarcolor) */ public fun negativeBarColor(): String? = unwrap(this).getNegativeBarColor() /** * Defines the color for the positive bars of a waterfall chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartgroupcolorconfiguration-positivebarcolor) */ public fun positiveBarColor(): String? = unwrap(this).getPositiveBarColor() /** * Defines the color for the total bars of a waterfall chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartgroupcolorconfiguration-totalbarcolor) */ public fun totalBarColor(): String? = unwrap(this).getTotalBarColor() /** * A builder for [WaterfallChartGroupColorConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param negativeBarColor Defines the color for the negative bars of a waterfall chart. */ public fun negativeBarColor(negativeBarColor: String) /** * @param positiveBarColor Defines the color for the positive bars of a waterfall chart. */ public fun positiveBarColor(positiveBarColor: String) /** * @param totalBarColor Defines the color for the total bars of a waterfall chart. */ public fun totalBarColor(totalBarColor: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty.builder() /** * @param negativeBarColor Defines the color for the negative bars of a waterfall chart. */ override fun negativeBarColor(negativeBarColor: String) { cdkBuilder.negativeBarColor(negativeBarColor) } /** * @param positiveBarColor Defines the color for the positive bars of a waterfall chart. */ override fun positiveBarColor(positiveBarColor: String) { cdkBuilder.positiveBarColor(positiveBarColor) } /** * @param totalBarColor Defines the color for the total bars of a waterfall chart. */ override fun totalBarColor(totalBarColor: String) { cdkBuilder.totalBarColor(totalBarColor) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty, ) : CdkObject(cdkObject), WaterfallChartGroupColorConfigurationProperty { /** * Defines the color for the negative bars of a waterfall chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartgroupcolorconfiguration-negativebarcolor) */ override fun negativeBarColor(): String? = unwrap(this).getNegativeBarColor() /** * Defines the color for the positive bars of a waterfall chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartgroupcolorconfiguration-positivebarcolor) */ override fun positiveBarColor(): String? = unwrap(this).getPositiveBarColor() /** * Defines the color for the total bars of a waterfall chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartgroupcolorconfiguration-totalbarcolor) */ override fun totalBarColor(): String? = unwrap(this).getTotalBarColor() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WaterfallChartGroupColorConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty): WaterfallChartGroupColorConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? WaterfallChartGroupColorConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WaterfallChartGroupColorConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty } } /** * The options that determine the presentation of a waterfall visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * WaterfallChartOptionsProperty waterfallChartOptionsProperty = * WaterfallChartOptionsProperty.builder() * .totalBarLabel("totalBarLabel") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartoptions.html) */ public interface WaterfallChartOptionsProperty { /** * This option determines the total bar label of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartoptions.html#cfn-quicksight-dashboard-waterfallchartoptions-totalbarlabel) */ public fun totalBarLabel(): String? = unwrap(this).getTotalBarLabel() /** * A builder for [WaterfallChartOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param totalBarLabel This option determines the total bar label of a waterfall visual. */ public fun totalBarLabel(totalBarLabel: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartOptionsProperty.builder() /** * @param totalBarLabel This option determines the total bar label of a waterfall visual. */ override fun totalBarLabel(totalBarLabel: String) { cdkBuilder.totalBarLabel(totalBarLabel) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartOptionsProperty, ) : CdkObject(cdkObject), WaterfallChartOptionsProperty { /** * This option determines the total bar label of a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartoptions.html#cfn-quicksight-dashboard-waterfallchartoptions-totalbarlabel) */ override fun totalBarLabel(): String? = unwrap(this).getTotalBarLabel() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WaterfallChartOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartOptionsProperty): WaterfallChartOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? WaterfallChartOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WaterfallChartOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartOptionsProperty } } /** * The sort configuration of a waterfall visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * WaterfallChartSortConfigurationProperty waterfallChartSortConfigurationProperty = * WaterfallChartSortConfigurationProperty.builder() * .breakdownItemsLimit(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .categorySort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartsortconfiguration.html) */ public interface WaterfallChartSortConfigurationProperty { /** * The limit on the number of bar groups that are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartsortconfiguration.html#cfn-quicksight-dashboard-waterfallchartsortconfiguration-breakdownitemslimit) */ public fun breakdownItemsLimit(): Any? = unwrap(this).getBreakdownItemsLimit() /** * The sort configuration of the category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartsortconfiguration.html#cfn-quicksight-dashboard-waterfallchartsortconfiguration-categorysort) */ public fun categorySort(): Any? = unwrap(this).getCategorySort() /** * A builder for [WaterfallChartSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param breakdownItemsLimit The limit on the number of bar groups that are displayed. */ public fun breakdownItemsLimit(breakdownItemsLimit: IResolvable) /** * @param breakdownItemsLimit The limit on the number of bar groups that are displayed. */ public fun breakdownItemsLimit(breakdownItemsLimit: ItemsLimitConfigurationProperty) /** * @param breakdownItemsLimit The limit on the number of bar groups that are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("de98306ae49bff4c37820bca9d1b10d4e3a33f9c13979b5aecb01d31ebaed5da") public fun breakdownItemsLimit(breakdownItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param categorySort The sort configuration of the category fields. */ public fun categorySort(categorySort: IResolvable) /** * @param categorySort The sort configuration of the category fields. */ public fun categorySort(categorySort: List) /** * @param categorySort The sort configuration of the category fields. */ public fun categorySort(vararg categorySort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartSortConfigurationProperty.builder() /** * @param breakdownItemsLimit The limit on the number of bar groups that are displayed. */ override fun breakdownItemsLimit(breakdownItemsLimit: IResolvable) { cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param breakdownItemsLimit The limit on the number of bar groups that are displayed. */ override fun breakdownItemsLimit(breakdownItemsLimit: ItemsLimitConfigurationProperty) { cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param breakdownItemsLimit The limit on the number of bar groups that are displayed. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("de98306ae49bff4c37820bca9d1b10d4e3a33f9c13979b5aecb01d31ebaed5da") override fun breakdownItemsLimit(breakdownItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = breakdownItemsLimit(ItemsLimitConfigurationProperty(breakdownItemsLimit)) /** * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: List) { cdkBuilder.categorySort(categorySort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param categorySort The sort configuration of the category fields. */ override fun categorySort(vararg categorySort: Any): Unit = categorySort(categorySort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartSortConfigurationProperty, ) : CdkObject(cdkObject), WaterfallChartSortConfigurationProperty { /** * The limit on the number of bar groups that are displayed. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartsortconfiguration.html#cfn-quicksight-dashboard-waterfallchartsortconfiguration-breakdownitemslimit) */ override fun breakdownItemsLimit(): Any? = unwrap(this).getBreakdownItemsLimit() /** * The sort configuration of the category fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartsortconfiguration.html#cfn-quicksight-dashboard-waterfallchartsortconfiguration-categorysort) */ override fun categorySort(): Any? = unwrap(this).getCategorySort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WaterfallChartSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartSortConfigurationProperty): WaterfallChartSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? WaterfallChartSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WaterfallChartSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartSortConfigurationProperty } } /** * A waterfall chart. * * For more information, see [Using waterfall * charts](https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html) */ public interface WaterfallVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html#cfn-quicksight-dashboard-waterfallvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration for a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html#cfn-quicksight-dashboard-waterfallvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html#cfn-quicksight-dashboard-waterfallvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html#cfn-quicksight-dashboard-waterfallvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html#cfn-quicksight-dashboard-waterfallvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html#cfn-quicksight-dashboard-waterfallvisual-visualid) */ public fun visualId(): String /** * A builder for [WaterfallVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration for a waterfall visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration for a waterfall visual. */ public fun chartConfiguration(chartConfiguration: WaterfallChartConfigurationProperty) /** * @param chartConfiguration The configuration for a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("93f798f64f985e8d3b14de5f18199fb114a881b2e5be0d977f086d6d2efa19d5") public fun chartConfiguration(chartConfiguration: WaterfallChartConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("124dff07edf87893cef58078801ba8891853911f1e69fc9c63e7ffa5173ff6df") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("95b2111c410b1d68c1837dd43ce965a124d5cea61dc5d5977a25913b0d63beb1") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration for a waterfall visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration for a waterfall visual. */ override fun chartConfiguration(chartConfiguration: WaterfallChartConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(WaterfallChartConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration for a waterfall visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("93f798f64f985e8d3b14de5f18199fb114a881b2e5be0d977f086d6d2efa19d5") override fun chartConfiguration(chartConfiguration: WaterfallChartConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(WaterfallChartConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("124dff07edf87893cef58078801ba8891853911f1e69fc9c63e7ffa5173ff6df") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("95b2111c410b1d68c1837dd43ce965a124d5cea61dc5d5977a25913b0d63beb1") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallVisualProperty, ) : CdkObject(cdkObject), WaterfallVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html#cfn-quicksight-dashboard-waterfallvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration for a waterfall visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html#cfn-quicksight-dashboard-waterfallvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html#cfn-quicksight-dashboard-waterfallvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html#cfn-quicksight-dashboard-waterfallvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html#cfn-quicksight-dashboard-waterfallvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallvisual.html#cfn-quicksight-dashboard-waterfallvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WaterfallVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallVisualProperty): WaterfallVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? WaterfallVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WaterfallVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallVisualProperty } } /** * Provides the forecast to meet the target for a particular date. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * WhatIfPointScenarioProperty whatIfPointScenarioProperty = WhatIfPointScenarioProperty.builder() * .date("date") * .value(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-whatifpointscenario.html) */ public interface WhatIfPointScenarioProperty { /** * The date that you need the forecast results for. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-whatifpointscenario.html#cfn-quicksight-dashboard-whatifpointscenario-date) */ public fun date(): String /** * The target value that you want to meet for the provided date. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-whatifpointscenario.html#cfn-quicksight-dashboard-whatifpointscenario-value) */ public fun `value`(): Number /** * A builder for [WhatIfPointScenarioProperty] */ @CdkDslMarker public interface Builder { /** * @param date The date that you need the forecast results for. */ public fun date(date: String) /** * @param value The target value that you want to meet for the provided date. */ public fun `value`(`value`: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfPointScenarioProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfPointScenarioProperty.builder() /** * @param date The date that you need the forecast results for. */ override fun date(date: String) { cdkBuilder.date(date) } /** * @param value The target value that you want to meet for the provided date. */ override fun `value`(`value`: Number) { cdkBuilder.`value`(`value`) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfPointScenarioProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfPointScenarioProperty, ) : CdkObject(cdkObject), WhatIfPointScenarioProperty { /** * The date that you need the forecast results for. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-whatifpointscenario.html#cfn-quicksight-dashboard-whatifpointscenario-date) */ override fun date(): String = unwrap(this).getDate() /** * The target value that you want to meet for the provided date. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-whatifpointscenario.html#cfn-quicksight-dashboard-whatifpointscenario-value) */ override fun `value`(): Number = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WhatIfPointScenarioProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfPointScenarioProperty): WhatIfPointScenarioProperty = CdkObjectWrappers.wrap(cdkObject) as? WhatIfPointScenarioProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WhatIfPointScenarioProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfPointScenarioProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfPointScenarioProperty } } /** * Provides the forecast to meet the target for a particular date range. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * WhatIfRangeScenarioProperty whatIfRangeScenarioProperty = WhatIfRangeScenarioProperty.builder() * .endDate("endDate") * .startDate("startDate") * .value(123) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-whatifrangescenario.html) */ public interface WhatIfRangeScenarioProperty { /** * The end date in the date range that you need the forecast results for. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-whatifrangescenario.html#cfn-quicksight-dashboard-whatifrangescenario-enddate) */ public fun endDate(): String /** * The start date in the date range that you need the forecast results for. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-whatifrangescenario.html#cfn-quicksight-dashboard-whatifrangescenario-startdate) */ public fun startDate(): String /** * The target value that you want to meet for the provided date range. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-whatifrangescenario.html#cfn-quicksight-dashboard-whatifrangescenario-value) */ public fun `value`(): Number /** * A builder for [WhatIfRangeScenarioProperty] */ @CdkDslMarker public interface Builder { /** * @param endDate The end date in the date range that you need the forecast results for. */ public fun endDate(endDate: String) /** * @param startDate The start date in the date range that you need the forecast results for. */ public fun startDate(startDate: String) /** * @param value The target value that you want to meet for the provided date range. */ public fun `value`(`value`: Number) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfRangeScenarioProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfRangeScenarioProperty.builder() /** * @param endDate The end date in the date range that you need the forecast results for. */ override fun endDate(endDate: String) { cdkBuilder.endDate(endDate) } /** * @param startDate The start date in the date range that you need the forecast results for. */ override fun startDate(startDate: String) { cdkBuilder.startDate(startDate) } /** * @param value The target value that you want to meet for the provided date range. */ override fun `value`(`value`: Number) { cdkBuilder.`value`(`value`) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfRangeScenarioProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfRangeScenarioProperty, ) : CdkObject(cdkObject), WhatIfRangeScenarioProperty { /** * The end date in the date range that you need the forecast results for. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-whatifrangescenario.html#cfn-quicksight-dashboard-whatifrangescenario-enddate) */ override fun endDate(): String = unwrap(this).getEndDate() /** * The start date in the date range that you need the forecast results for. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-whatifrangescenario.html#cfn-quicksight-dashboard-whatifrangescenario-startdate) */ override fun startDate(): String = unwrap(this).getStartDate() /** * The target value that you want to meet for the provided date range. * * Default: - 0 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-whatifrangescenario.html#cfn-quicksight-dashboard-whatifrangescenario-value) */ override fun `value`(): Number = unwrap(this).getValue() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WhatIfRangeScenarioProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfRangeScenarioProperty): WhatIfRangeScenarioProperty = CdkObjectWrappers.wrap(cdkObject) as? WhatIfRangeScenarioProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WhatIfRangeScenarioProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfRangeScenarioProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WhatIfRangeScenarioProperty } } /** * The aggregated field wells of a word cloud. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * WordCloudAggregatedFieldWellsProperty wordCloudAggregatedFieldWellsProperty = * WordCloudAggregatedFieldWellsProperty.builder() * .groupBy(List.of(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build())) * .size(List.of(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudaggregatedfieldwells.html) */ public interface WordCloudAggregatedFieldWellsProperty { /** * The group by field well of a word cloud. * * Values are grouped by group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudaggregatedfieldwells.html#cfn-quicksight-dashboard-wordcloudaggregatedfieldwells-groupby) */ public fun groupBy(): Any? = unwrap(this).getGroupBy() /** * The size field well of a word cloud. * * Values are aggregated based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudaggregatedfieldwells.html#cfn-quicksight-dashboard-wordcloudaggregatedfieldwells-size) */ public fun size(): Any? = unwrap(this).getSize() /** * A builder for [WordCloudAggregatedFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param groupBy The group by field well of a word cloud. * Values are grouped by group by fields. */ public fun groupBy(groupBy: IResolvable) /** * @param groupBy The group by field well of a word cloud. * Values are grouped by group by fields. */ public fun groupBy(groupBy: List) /** * @param groupBy The group by field well of a word cloud. * Values are grouped by group by fields. */ public fun groupBy(vararg groupBy: Any) /** * @param size The size field well of a word cloud. * Values are aggregated based on group by fields. */ public fun size(size: IResolvable) /** * @param size The size field well of a word cloud. * Values are aggregated based on group by fields. */ public fun size(size: List) /** * @param size The size field well of a word cloud. * Values are aggregated based on group by fields. */ public fun size(vararg size: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudAggregatedFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudAggregatedFieldWellsProperty.builder() /** * @param groupBy The group by field well of a word cloud. * Values are grouped by group by fields. */ override fun groupBy(groupBy: IResolvable) { cdkBuilder.groupBy(groupBy.let(IResolvable.Companion::unwrap)) } /** * @param groupBy The group by field well of a word cloud. * Values are grouped by group by fields. */ override fun groupBy(groupBy: List) { cdkBuilder.groupBy(groupBy.map{CdkObjectWrappers.unwrap(it)}) } /** * @param groupBy The group by field well of a word cloud. * Values are grouped by group by fields. */ override fun groupBy(vararg groupBy: Any): Unit = groupBy(groupBy.toList()) /** * @param size The size field well of a word cloud. * Values are aggregated based on group by fields. */ override fun size(size: IResolvable) { cdkBuilder.size(size.let(IResolvable.Companion::unwrap)) } /** * @param size The size field well of a word cloud. * Values are aggregated based on group by fields. */ override fun size(size: List) { cdkBuilder.size(size.map{CdkObjectWrappers.unwrap(it)}) } /** * @param size The size field well of a word cloud. * Values are aggregated based on group by fields. */ override fun size(vararg size: Any): Unit = size(size.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudAggregatedFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudAggregatedFieldWellsProperty, ) : CdkObject(cdkObject), WordCloudAggregatedFieldWellsProperty { /** * The group by field well of a word cloud. * * Values are grouped by group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudaggregatedfieldwells.html#cfn-quicksight-dashboard-wordcloudaggregatedfieldwells-groupby) */ override fun groupBy(): Any? = unwrap(this).getGroupBy() /** * The size field well of a word cloud. * * Values are aggregated based on group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudaggregatedfieldwells.html#cfn-quicksight-dashboard-wordcloudaggregatedfieldwells-size) */ override fun size(): Any? = unwrap(this).getSize() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WordCloudAggregatedFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudAggregatedFieldWellsProperty): WordCloudAggregatedFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? WordCloudAggregatedFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WordCloudAggregatedFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudAggregatedFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudAggregatedFieldWellsProperty } } /** * The configuration of a word cloud visual. * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudchartconfiguration.html) */ public interface WordCloudChartConfigurationProperty { /** * The label options (label text, label visibility, and sort icon visibility) for the word cloud * category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudchartconfiguration.html#cfn-quicksight-dashboard-wordcloudchartconfiguration-categorylabeloptions) */ public fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudchartconfiguration.html#cfn-quicksight-dashboard-wordcloudchartconfiguration-fieldwells) */ public fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The sort configuration of a word cloud visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudchartconfiguration.html#cfn-quicksight-dashboard-wordcloudchartconfiguration-sortconfiguration) */ public fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The options for a word cloud visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudchartconfiguration.html#cfn-quicksight-dashboard-wordcloudchartconfiguration-wordcloudoptions) */ public fun wordCloudOptions(): Any? = unwrap(this).getWordCloudOptions() /** * A builder for [WordCloudChartConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryLabelOptions The label options (label text, label visibility, and sort icon * visibility) for the word cloud category. */ public fun categoryLabelOptions(categoryLabelOptions: IResolvable) /** * @param categoryLabelOptions The label options (label text, label visibility, and sort icon * visibility) for the word cloud category. */ public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) /** * @param categoryLabelOptions The label options (label text, label visibility, and sort icon * visibility) for the word cloud category. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("52c53631f05f0a31eb87d1b99db97950acaa31a32a84e05f82c831a2c8f76ddd") public fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: IResolvable) /** * @param fieldWells The field wells of the visual. */ public fun fieldWells(fieldWells: WordCloudFieldWellsProperty) /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("66deba0783ebd8be86be18019de63d998509ddefdcd9e518c1c6ee13e9e366d1") public fun fieldWells(fieldWells: WordCloudFieldWellsProperty.Builder.() -> Unit) /** * @param sortConfiguration The sort configuration of a word cloud visual. */ public fun sortConfiguration(sortConfiguration: IResolvable) /** * @param sortConfiguration The sort configuration of a word cloud visual. */ public fun sortConfiguration(sortConfiguration: WordCloudSortConfigurationProperty) /** * @param sortConfiguration The sort configuration of a word cloud visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("80ff3d5184346962789f22bcf7504fcbde8d1f9637c67be30b8493621d4fdd0a") public fun sortConfiguration(sortConfiguration: WordCloudSortConfigurationProperty.Builder.() -> Unit) /** * @param wordCloudOptions The options for a word cloud visual. */ public fun wordCloudOptions(wordCloudOptions: IResolvable) /** * @param wordCloudOptions The options for a word cloud visual. */ public fun wordCloudOptions(wordCloudOptions: WordCloudOptionsProperty) /** * @param wordCloudOptions The options for a word cloud visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("18edd70e136248026df68ddd3a7847d2ead981e8906646ee3a1260202d20085f") public fun wordCloudOptions(wordCloudOptions: WordCloudOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudChartConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudChartConfigurationProperty.builder() /** * @param categoryLabelOptions The label options (label text, label visibility, and sort icon * visibility) for the word cloud category. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param categoryLabelOptions The label options (label text, label visibility, and sort icon * visibility) for the word cloud category. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** * @param categoryLabelOptions The label options (label text, label visibility, and sort icon * visibility) for the word cloud category. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("52c53631f05f0a31eb87d1b99db97950acaa31a32a84e05f82c831a2c8f76ddd") override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = categoryLabelOptions(ChartAxisLabelOptionsProperty(categoryLabelOptions)) /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: WordCloudFieldWellsProperty) { cdkBuilder.fieldWells(fieldWells.let(WordCloudFieldWellsProperty.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("66deba0783ebd8be86be18019de63d998509ddefdcd9e518c1c6ee13e9e366d1") override fun fieldWells(fieldWells: WordCloudFieldWellsProperty.Builder.() -> Unit): Unit = fieldWells(WordCloudFieldWellsProperty(fieldWells)) /** * @param sortConfiguration The sort configuration of a word cloud visual. */ override fun sortConfiguration(sortConfiguration: IResolvable) { cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a word cloud visual. */ override fun sortConfiguration(sortConfiguration: WordCloudSortConfigurationProperty) { cdkBuilder.sortConfiguration(sortConfiguration.let(WordCloudSortConfigurationProperty.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a word cloud visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("80ff3d5184346962789f22bcf7504fcbde8d1f9637c67be30b8493621d4fdd0a") override fun sortConfiguration(sortConfiguration: WordCloudSortConfigurationProperty.Builder.() -> Unit): Unit = sortConfiguration(WordCloudSortConfigurationProperty(sortConfiguration)) /** * @param wordCloudOptions The options for a word cloud visual. */ override fun wordCloudOptions(wordCloudOptions: IResolvable) { cdkBuilder.wordCloudOptions(wordCloudOptions.let(IResolvable.Companion::unwrap)) } /** * @param wordCloudOptions The options for a word cloud visual. */ override fun wordCloudOptions(wordCloudOptions: WordCloudOptionsProperty) { cdkBuilder.wordCloudOptions(wordCloudOptions.let(WordCloudOptionsProperty.Companion::unwrap)) } /** * @param wordCloudOptions The options for a word cloud visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("18edd70e136248026df68ddd3a7847d2ead981e8906646ee3a1260202d20085f") override fun wordCloudOptions(wordCloudOptions: WordCloudOptionsProperty.Builder.() -> Unit): Unit = wordCloudOptions(WordCloudOptionsProperty(wordCloudOptions)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudChartConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudChartConfigurationProperty, ) : CdkObject(cdkObject), WordCloudChartConfigurationProperty { /** * The label options (label text, label visibility, and sort icon visibility) for the word * cloud category. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudchartconfiguration.html#cfn-quicksight-dashboard-wordcloudchartconfiguration-categorylabeloptions) */ override fun categoryLabelOptions(): Any? = unwrap(this).getCategoryLabelOptions() /** * The field wells of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudchartconfiguration.html#cfn-quicksight-dashboard-wordcloudchartconfiguration-fieldwells) */ override fun fieldWells(): Any? = unwrap(this).getFieldWells() /** * The sort configuration of a word cloud visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudchartconfiguration.html#cfn-quicksight-dashboard-wordcloudchartconfiguration-sortconfiguration) */ override fun sortConfiguration(): Any? = unwrap(this).getSortConfiguration() /** * The options for a word cloud visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudchartconfiguration.html#cfn-quicksight-dashboard-wordcloudchartconfiguration-wordcloudoptions) */ override fun wordCloudOptions(): Any? = unwrap(this).getWordCloudOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WordCloudChartConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudChartConfigurationProperty): WordCloudChartConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? WordCloudChartConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WordCloudChartConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudChartConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudChartConfigurationProperty } } /** * The field wells of a word cloud visual. * * This is a union type structure. For this structure to be valid, only one of the attributes can * be defined. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * WordCloudFieldWellsProperty wordCloudFieldWellsProperty = WordCloudFieldWellsProperty.builder() * .wordCloudAggregatedFieldWells(WordCloudAggregatedFieldWellsProperty.builder() * .groupBy(List.of(DimensionFieldProperty.builder() * .categoricalDimensionField(CategoricalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .dateDimensionField(DateDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .dateGranularity("dateGranularity") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .numericalDimensionField(NumericalDimensionFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .hierarchyId("hierarchyId") * .build()) * .build())) * .size(List.of(MeasureFieldProperty.builder() * .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() * .expression("expression") * .fieldId("fieldId") * .build()) * .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(StringFormatConfigurationProperty.builder() * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .dateMeasureField(DateMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction("aggregationFunction") * .formatConfiguration(DateTimeFormatConfigurationProperty.builder() * .dateTimeFormat("dateTimeFormat") * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numericFormatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .numericalMeasureField(NumericalMeasureFieldProperty.builder() * .column(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * .fieldId("fieldId") * // the properties below are optional * .aggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .formatConfiguration(NumberFormatConfigurationProperty.builder() * .formatConfiguration(NumericFormatConfigurationProperty.builder() * .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .symbol("symbol") * .build()) * .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .numberScale("numberScale") * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder() * .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder() * .decimalPlaces(123) * .build()) * .negativeValueConfiguration(NegativeValueConfigurationProperty.builder() * .displayMode("displayMode") * .build()) * .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder() * .nullString("nullString") * .build()) * .prefix("prefix") * .separatorConfiguration(NumericSeparatorConfigurationProperty.builder() * .decimalSeparator("decimalSeparator") * .thousandsSeparator(ThousandSeparatorOptionsProperty.builder() * .symbol("symbol") * .visibility("visibility") * .build()) * .build()) * .suffix("suffix") * .build()) * .build()) * .build()) * .build()) * .build())) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudfieldwells.html) */ public interface WordCloudFieldWellsProperty { /** * The aggregated field wells of a word cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudfieldwells.html#cfn-quicksight-dashboard-wordcloudfieldwells-wordcloudaggregatedfieldwells) */ public fun wordCloudAggregatedFieldWells(): Any? = unwrap(this).getWordCloudAggregatedFieldWells() /** * A builder for [WordCloudFieldWellsProperty] */ @CdkDslMarker public interface Builder { /** * @param wordCloudAggregatedFieldWells The aggregated field wells of a word cloud. */ public fun wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells: IResolvable) /** * @param wordCloudAggregatedFieldWells The aggregated field wells of a word cloud. */ public fun wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells: WordCloudAggregatedFieldWellsProperty) /** * @param wordCloudAggregatedFieldWells The aggregated field wells of a word cloud. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1b28bd4b3105a7bfc20f4c004237bd5ca6d4e5fedb8b9afa1b903c6998645214") public fun wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells: WordCloudAggregatedFieldWellsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudFieldWellsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudFieldWellsProperty.builder() /** * @param wordCloudAggregatedFieldWells The aggregated field wells of a word cloud. */ override fun wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells: IResolvable) { cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** * @param wordCloudAggregatedFieldWells The aggregated field wells of a word cloud. */ override fun wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells: WordCloudAggregatedFieldWellsProperty) { cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(WordCloudAggregatedFieldWellsProperty.Companion::unwrap)) } /** * @param wordCloudAggregatedFieldWells The aggregated field wells of a word cloud. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1b28bd4b3105a7bfc20f4c004237bd5ca6d4e5fedb8b9afa1b903c6998645214") override fun wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells: WordCloudAggregatedFieldWellsProperty.Builder.() -> Unit): Unit = wordCloudAggregatedFieldWells(WordCloudAggregatedFieldWellsProperty(wordCloudAggregatedFieldWells)) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudFieldWellsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudFieldWellsProperty, ) : CdkObject(cdkObject), WordCloudFieldWellsProperty { /** * The aggregated field wells of a word cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudfieldwells.html#cfn-quicksight-dashboard-wordcloudfieldwells-wordcloudaggregatedfieldwells) */ override fun wordCloudAggregatedFieldWells(): Any? = unwrap(this).getWordCloudAggregatedFieldWells() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WordCloudFieldWellsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudFieldWellsProperty): WordCloudFieldWellsProperty = CdkObjectWrappers.wrap(cdkObject) as? WordCloudFieldWellsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WordCloudFieldWellsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudFieldWellsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudFieldWellsProperty } } /** * The word cloud options for a word cloud visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * WordCloudOptionsProperty wordCloudOptionsProperty = WordCloudOptionsProperty.builder() * .cloudLayout("cloudLayout") * .maximumStringLength(123) * .wordCasing("wordCasing") * .wordOrientation("wordOrientation") * .wordPadding("wordPadding") * .wordScaling("wordScaling") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html) */ public interface WordCloudOptionsProperty { /** * The cloud layout options (fluid, normal) of a word cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html#cfn-quicksight-dashboard-wordcloudoptions-cloudlayout) */ public fun cloudLayout(): String? = unwrap(this).getCloudLayout() /** * The length limit of each word from 1-100. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html#cfn-quicksight-dashboard-wordcloudoptions-maximumstringlength) */ public fun maximumStringLength(): Number? = unwrap(this).getMaximumStringLength() /** * The word casing options (lower_case, existing_case) for the words in a word cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html#cfn-quicksight-dashboard-wordcloudoptions-wordcasing) */ public fun wordCasing(): String? = unwrap(this).getWordCasing() /** * The word orientation options (horizontal, horizontal_and_vertical) for the words in a word * cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html#cfn-quicksight-dashboard-wordcloudoptions-wordorientation) */ public fun wordOrientation(): String? = unwrap(this).getWordOrientation() /** * The word padding options (none, small, medium, large) for the words in a word cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html#cfn-quicksight-dashboard-wordcloudoptions-wordpadding) */ public fun wordPadding(): String? = unwrap(this).getWordPadding() /** * The word scaling options (emphasize, normal) for the words in a word cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html#cfn-quicksight-dashboard-wordcloudoptions-wordscaling) */ public fun wordScaling(): String? = unwrap(this).getWordScaling() /** * A builder for [WordCloudOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param cloudLayout The cloud layout options (fluid, normal) of a word cloud. */ public fun cloudLayout(cloudLayout: String) /** * @param maximumStringLength The length limit of each word from 1-100. */ public fun maximumStringLength(maximumStringLength: Number) /** * @param wordCasing The word casing options (lower_case, existing_case) for the words in a * word cloud. */ public fun wordCasing(wordCasing: String) /** * @param wordOrientation The word orientation options (horizontal, horizontal_and_vertical) * for the words in a word cloud. */ public fun wordOrientation(wordOrientation: String) /** * @param wordPadding The word padding options (none, small, medium, large) for the words in a * word cloud. */ public fun wordPadding(wordPadding: String) /** * @param wordScaling The word scaling options (emphasize, normal) for the words in a word * cloud. */ public fun wordScaling(wordScaling: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudOptionsProperty.builder() /** * @param cloudLayout The cloud layout options (fluid, normal) of a word cloud. */ override fun cloudLayout(cloudLayout: String) { cdkBuilder.cloudLayout(cloudLayout) } /** * @param maximumStringLength The length limit of each word from 1-100. */ override fun maximumStringLength(maximumStringLength: Number) { cdkBuilder.maximumStringLength(maximumStringLength) } /** * @param wordCasing The word casing options (lower_case, existing_case) for the words in a * word cloud. */ override fun wordCasing(wordCasing: String) { cdkBuilder.wordCasing(wordCasing) } /** * @param wordOrientation The word orientation options (horizontal, horizontal_and_vertical) * for the words in a word cloud. */ override fun wordOrientation(wordOrientation: String) { cdkBuilder.wordOrientation(wordOrientation) } /** * @param wordPadding The word padding options (none, small, medium, large) for the words in a * word cloud. */ override fun wordPadding(wordPadding: String) { cdkBuilder.wordPadding(wordPadding) } /** * @param wordScaling The word scaling options (emphasize, normal) for the words in a word * cloud. */ override fun wordScaling(wordScaling: String) { cdkBuilder.wordScaling(wordScaling) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudOptionsProperty, ) : CdkObject(cdkObject), WordCloudOptionsProperty { /** * The cloud layout options (fluid, normal) of a word cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html#cfn-quicksight-dashboard-wordcloudoptions-cloudlayout) */ override fun cloudLayout(): String? = unwrap(this).getCloudLayout() /** * The length limit of each word from 1-100. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html#cfn-quicksight-dashboard-wordcloudoptions-maximumstringlength) */ override fun maximumStringLength(): Number? = unwrap(this).getMaximumStringLength() /** * The word casing options (lower_case, existing_case) for the words in a word cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html#cfn-quicksight-dashboard-wordcloudoptions-wordcasing) */ override fun wordCasing(): String? = unwrap(this).getWordCasing() /** * The word orientation options (horizontal, horizontal_and_vertical) for the words in a word * cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html#cfn-quicksight-dashboard-wordcloudoptions-wordorientation) */ override fun wordOrientation(): String? = unwrap(this).getWordOrientation() /** * The word padding options (none, small, medium, large) for the words in a word cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html#cfn-quicksight-dashboard-wordcloudoptions-wordpadding) */ override fun wordPadding(): String? = unwrap(this).getWordPadding() /** * The word scaling options (emphasize, normal) for the words in a word cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudoptions.html#cfn-quicksight-dashboard-wordcloudoptions-wordscaling) */ override fun wordScaling(): String? = unwrap(this).getWordScaling() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WordCloudOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudOptionsProperty): WordCloudOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? WordCloudOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WordCloudOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudOptionsProperty } } /** * The sort configuration of a word cloud visual. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * WordCloudSortConfigurationProperty wordCloudSortConfigurationProperty = * WordCloudSortConfigurationProperty.builder() * .categoryItemsLimit(ItemsLimitConfigurationProperty.builder() * .itemsLimit(123) * .otherCategories("otherCategories") * .build()) * .categorySort(List.of(FieldSortOptionsProperty.builder() * .columnSort(ColumnSortProperty.builder() * .direction("direction") * .sortBy(ColumnIdentifierProperty.builder() * .columnName("columnName") * .dataSetIdentifier("dataSetIdentifier") * .build()) * // the properties below are optional * .aggregationFunction(AggregationFunctionProperty.builder() * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() * .simpleAttributeAggregation("simpleAttributeAggregation") * .valueForMultipleValues("valueForMultipleValues") * .build()) * .categoricalAggregationFunction("categoricalAggregationFunction") * .dateAggregationFunction("dateAggregationFunction") * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() * .percentileAggregation(PercentileAggregationProperty.builder() * .percentileValue(123) * .build()) * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) * .build()) * .fieldSort(FieldSortProperty.builder() * .direction("direction") * .fieldId("fieldId") * .build()) * .build())) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudsortconfiguration.html) */ public interface WordCloudSortConfigurationProperty { /** * The limit on the number of groups that are displayed in a word cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudsortconfiguration.html#cfn-quicksight-dashboard-wordcloudsortconfiguration-categoryitemslimit) */ public fun categoryItemsLimit(): Any? = unwrap(this).getCategoryItemsLimit() /** * The sort configuration of group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudsortconfiguration.html#cfn-quicksight-dashboard-wordcloudsortconfiguration-categorysort) */ public fun categorySort(): Any? = unwrap(this).getCategorySort() /** * A builder for [WordCloudSortConfigurationProperty] */ @CdkDslMarker public interface Builder { /** * @param categoryItemsLimit The limit on the number of groups that are displayed in a word * cloud. */ public fun categoryItemsLimit(categoryItemsLimit: IResolvable) /** * @param categoryItemsLimit The limit on the number of groups that are displayed in a word * cloud. */ public fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) /** * @param categoryItemsLimit The limit on the number of groups that are displayed in a word * cloud. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("41a43dd0f938d39bc51cf76f03d294d96a59b85cb09ffbbd70fecebd39d53f73") public fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit) /** * @param categorySort The sort configuration of group by fields. */ public fun categorySort(categorySort: IResolvable) /** * @param categorySort The sort configuration of group by fields. */ public fun categorySort(categorySort: List) /** * @param categorySort The sort configuration of group by fields. */ public fun categorySort(vararg categorySort: Any) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudSortConfigurationProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudSortConfigurationProperty.builder() /** * @param categoryItemsLimit The limit on the number of groups that are displayed in a word * cloud. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of groups that are displayed in a word * cloud. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of groups that are displayed in a word * cloud. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("41a43dd0f938d39bc51cf76f03d294d96a59b85cb09ffbbd70fecebd39d53f73") override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty.Builder.() -> Unit): Unit = categoryItemsLimit(ItemsLimitConfigurationProperty(categoryItemsLimit)) /** * @param categorySort The sort configuration of group by fields. */ override fun categorySort(categorySort: IResolvable) { cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** * @param categorySort The sort configuration of group by fields. */ override fun categorySort(categorySort: List) { cdkBuilder.categorySort(categorySort.map{CdkObjectWrappers.unwrap(it)}) } /** * @param categorySort The sort configuration of group by fields. */ override fun categorySort(vararg categorySort: Any): Unit = categorySort(categorySort.toList()) public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudSortConfigurationProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudSortConfigurationProperty, ) : CdkObject(cdkObject), WordCloudSortConfigurationProperty { /** * The limit on the number of groups that are displayed in a word cloud. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudsortconfiguration.html#cfn-quicksight-dashboard-wordcloudsortconfiguration-categoryitemslimit) */ override fun categoryItemsLimit(): Any? = unwrap(this).getCategoryItemsLimit() /** * The sort configuration of group by fields. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudsortconfiguration.html#cfn-quicksight-dashboard-wordcloudsortconfiguration-categorysort) */ override fun categorySort(): Any? = unwrap(this).getCategorySort() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WordCloudSortConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudSortConfigurationProperty): WordCloudSortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? WordCloudSortConfigurationProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WordCloudSortConfigurationProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudSortConfigurationProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudSortConfigurationProperty } } /** * A word cloud. * * For more information, see [Using word * clouds](https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) in the *Amazon * QuickSight User Guide* . * * Example: * * ``` * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html) */ public interface WordCloudVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html#cfn-quicksight-dashboard-wordcloudvisual-actions) */ public fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html#cfn-quicksight-dashboard-wordcloudvisual-chartconfiguration) */ public fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html#cfn-quicksight-dashboard-wordcloudvisual-columnhierarchies) */ public fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html#cfn-quicksight-dashboard-wordcloudvisual-subtitle) */ public fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html#cfn-quicksight-dashboard-wordcloudvisual-title) */ public fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. Two * dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html#cfn-quicksight-dashboard-wordcloudvisual-visualid) */ public fun visualId(): String /** * A builder for [WordCloudVisualProperty] */ @CdkDslMarker public interface Builder { /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: IResolvable) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(actions: List) /** * @param actions The list of custom actions that are configured for a visual. */ public fun actions(vararg actions: Any) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: IResolvable) /** * @param chartConfiguration The configuration settings of the visual. */ public fun chartConfiguration(chartConfiguration: WordCloudChartConfigurationProperty) /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7e9155e5437d4ac345e41a6a8b9fb4e285f70d611cd0442b11cc7ca24177ced7") public fun chartConfiguration(chartConfiguration: WordCloudChartConfigurationProperty.Builder.() -> Unit) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: IResolvable) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(columnHierarchies: List) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ public fun columnHierarchies(vararg columnHierarchies: Any) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: IResolvable) /** * @param subtitle The subtitle that is displayed on the visual. */ public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("25f71857097c30adae562c3990032924a6f687422a17f4f78c4599b5867d963b") public fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit) /** * @param title The title that is displayed on the visual. */ public fun title(title: IResolvable) /** * @param title The title that is displayed on the visual. */ public fun title(title: VisualTitleLabelOptionsProperty) /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("09f1b4fa1c0ed7827793c228ec99a4564ce1c984a48cf0c656c2a28f39b56fd2") public fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ public fun visualId(visualId: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudVisualProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudVisualProperty.builder() /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: List) { cdkBuilder.actions(actions.map{CdkObjectWrappers.unwrap(it)}) } /** * @param actions The list of custom actions that are configured for a visual. */ override fun actions(vararg actions: Any): Unit = actions(actions.toList()) /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: WordCloudChartConfigurationProperty) { cdkBuilder.chartConfiguration(chartConfiguration.let(WordCloudChartConfigurationProperty.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7e9155e5437d4ac345e41a6a8b9fb4e285f70d611cd0442b11cc7ca24177ced7") override fun chartConfiguration(chartConfiguration: WordCloudChartConfigurationProperty.Builder.() -> Unit): Unit = chartConfiguration(WordCloudChartConfigurationProperty(chartConfiguration)) /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(columnHierarchies: List) { cdkBuilder.columnHierarchies(columnHierarchies.map{CdkObjectWrappers.unwrap(it)}) } /** * @param columnHierarchies The column hierarchy that is used during drill-downs and * drill-ups. */ override fun columnHierarchies(vararg columnHierarchies: Any): Unit = columnHierarchies(columnHierarchies.toList()) /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("25f71857097c30adae562c3990032924a6f687422a17f4f78c4599b5867d963b") override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty.Builder.() -> Unit): Unit = subtitle(VisualSubtitleLabelOptionsProperty(subtitle)) /** * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("09f1b4fa1c0ed7827793c228ec99a4564ce1c984a48cf0c656c2a28f39b56fd2") override fun title(title: VisualTitleLabelOptionsProperty.Builder.() -> Unit): Unit = title(VisualTitleLabelOptionsProperty(title)) /** * @param visualId The unique identifier of a visual. * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. */ override fun visualId(visualId: String) { cdkBuilder.visualId(visualId) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudVisualProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudVisualProperty, ) : CdkObject(cdkObject), WordCloudVisualProperty { /** * The list of custom actions that are configured for a visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html#cfn-quicksight-dashboard-wordcloudvisual-actions) */ override fun actions(): Any? = unwrap(this).getActions() /** * The configuration settings of the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html#cfn-quicksight-dashboard-wordcloudvisual-chartconfiguration) */ override fun chartConfiguration(): Any? = unwrap(this).getChartConfiguration() /** * The column hierarchy that is used during drill-downs and drill-ups. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html#cfn-quicksight-dashboard-wordcloudvisual-columnhierarchies) */ override fun columnHierarchies(): Any? = unwrap(this).getColumnHierarchies() /** * The subtitle that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html#cfn-quicksight-dashboard-wordcloudvisual-subtitle) */ override fun subtitle(): Any? = unwrap(this).getSubtitle() /** * The title that is displayed on the visual. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html#cfn-quicksight-dashboard-wordcloudvisual-title) */ override fun title(): Any? = unwrap(this).getTitle() /** * The unique identifier of a visual. * * This identifier must be unique within the context of a dashboard, template, or analysis. * Two dashboards, analyses, or templates can have visuals with the same identifiers.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-wordcloudvisual.html#cfn-quicksight-dashboard-wordcloudvisual-visualid) */ override fun visualId(): String = unwrap(this).getVisualId() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): WordCloudVisualProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudVisualProperty): WordCloudVisualProperty = CdkObjectWrappers.wrap(cdkObject) as? WordCloudVisualProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: WordCloudVisualProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudVisualProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudVisualProperty } } /** * The options that are available for a single Y axis in a chart. * * Example: * * ``` * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * YAxisOptionsProperty yAxisOptionsProperty = YAxisOptionsProperty.builder() * .yAxis("yAxis") * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-yaxisoptions.html) */ public interface YAxisOptionsProperty { /** * The Y axis type to be used in the chart. * * If you choose `PRIMARY_Y_AXIS` , the primary Y Axis is located on the leftmost vertical axis * of the chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-yaxisoptions.html#cfn-quicksight-dashboard-yaxisoptions-yaxis) */ public fun yAxis(): String /** * A builder for [YAxisOptionsProperty] */ @CdkDslMarker public interface Builder { /** * @param yAxis The Y axis type to be used in the chart. * If you choose `PRIMARY_Y_AXIS` , the primary Y Axis is located on the leftmost vertical * axis of the chart. */ public fun yAxis(yAxis: String) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.quicksight.CfnDashboard.YAxisOptionsProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.YAxisOptionsProperty.builder() /** * @param yAxis The Y axis type to be used in the chart. * If you choose `PRIMARY_Y_AXIS` , the primary Y Axis is located on the leftmost vertical * axis of the chart. */ override fun yAxis(yAxis: String) { cdkBuilder.yAxis(yAxis) } public fun build(): software.amazon.awscdk.services.quicksight.CfnDashboard.YAxisOptionsProperty = cdkBuilder.build() } private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.YAxisOptionsProperty, ) : CdkObject(cdkObject), YAxisOptionsProperty { /** * The Y axis type to be used in the chart. * * If you choose `PRIMARY_Y_AXIS` , the primary Y Axis is located on the leftmost vertical * axis of the chart. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-yaxisoptions.html#cfn-quicksight-dashboard-yaxisoptions-yaxis) */ override fun yAxis(): String = unwrap(this).getYAxis() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): YAxisOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.YAxisOptionsProperty): YAxisOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? YAxisOptionsProperty ?: Wrapper(cdkObject) internal fun unwrap(wrapped: YAxisOptionsProperty): software.amazon.awscdk.services.quicksight.CfnDashboard.YAxisOptionsProperty = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.quicksight.CfnDashboard.YAxisOptionsProperty } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy