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