Interface CfnDashboard.DateTimeParameterDeclarationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDashboard.DateTimeParameterDeclarationProperty.Jsii$Proxy
Enclosing class:
CfnDashboard

@Stability(Stable) public static interface CfnDashboard.DateTimeParameterDeclarationProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.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();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the parameter that is being declared.
    • getDefaultValues

      @Stability(Stable) @Nullable default Object getDefaultValues()
      The default values of a parameter.

      If the parameter is a single-value parameter, a maximum of one default value can be provided.

    • getMappedDataSetParameters

      @Stability(Stable) @Nullable default Object getMappedDataSetParameters()
      CfnDashboard.DateTimeParameterDeclarationProperty.MappedDataSetParameters.
    • getTimeGranularity

      @Stability(Stable) @Nullable default String getTimeGranularity()
      The level of time precision that is used to aggregate DateTime values.
    • getValueWhenUnset

      @Stability(Stable) @Nullable default Object getValueWhenUnset()
      The configuration that defines the default value of a DateTime parameter when a value has not been set.
    • builder

      @Stability(Stable) static CfnDashboard.DateTimeParameterDeclarationProperty.Builder builder()
      Returns:
      a CfnDashboard.DateTimeParameterDeclarationProperty.Builder of CfnDashboard.DateTimeParameterDeclarationProperty