@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DateDimensionField extends Object implements Serializable, Cloneable, StructuredPojo
The dimension type field with date type columns.
| Constructor and Description | 
|---|
| DateDimensionField() | 
| Modifier and Type | Method and Description | 
|---|---|
| DateDimensionField | clone() | 
| boolean | equals(Object obj) | 
| ColumnIdentifier | getColumn()
 The column that is used in the  DateDimensionField. | 
| String | getDateGranularity()
 The date granularity of the  DateDimensionField. | 
| String | getFieldId()
 The custom field ID. | 
| DateTimeFormatConfiguration | getFormatConfiguration()
 The format configuration of the field. | 
| String | getHierarchyId()
 The custom hierarchy ID. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setColumn(ColumnIdentifier column)
 The column that is used in the  DateDimensionField. | 
| void | setDateGranularity(String dateGranularity)
 The date granularity of the  DateDimensionField. | 
| void | setFieldId(String fieldId)
 The custom field ID. | 
| void | setFormatConfiguration(DateTimeFormatConfiguration formatConfiguration)
 The format configuration of the field. | 
| void | setHierarchyId(String hierarchyId)
 The custom hierarchy ID. | 
| String | toString()Returns a string representation of this object. | 
| DateDimensionField | withColumn(ColumnIdentifier column)
 The column that is used in the  DateDimensionField. | 
| DateDimensionField | withDateGranularity(String dateGranularity)
 The date granularity of the  DateDimensionField. | 
| DateDimensionField | withDateGranularity(TimeGranularity dateGranularity)
 The date granularity of the  DateDimensionField. | 
| DateDimensionField | withFieldId(String fieldId)
 The custom field ID. | 
| DateDimensionField | withFormatConfiguration(DateTimeFormatConfiguration formatConfiguration)
 The format configuration of the field. | 
| DateDimensionField | withHierarchyId(String hierarchyId)
 The custom hierarchy ID. | 
public void setFieldId(String fieldId)
The custom field ID.
fieldId - The custom field ID.public String getFieldId()
The custom field ID.
public DateDimensionField withFieldId(String fieldId)
The custom field ID.
fieldId - The custom field ID.public void setColumn(ColumnIdentifier column)
 The column that is used in the DateDimensionField.
 
column - The column that is used in the DateDimensionField.public ColumnIdentifier getColumn()
 The column that is used in the DateDimensionField.
 
DateDimensionField.public DateDimensionField withColumn(ColumnIdentifier column)
 The column that is used in the DateDimensionField.
 
column - The column that is used in the DateDimensionField.public void setDateGranularity(String dateGranularity)
 The date granularity of the DateDimensionField. Choose one of the following options:
 
 YEAR
 
 QUARTER
 
 MONTH
 
 WEEK
 
 DAY
 
 HOUR
 
 MINUTE
 
 SECOND
 
 MILLISECOND
 
dateGranularity - The date granularity of the DateDimensionField. Choose one of the following options:
        
        YEAR
        
        QUARTER
        
        MONTH
        
        WEEK
        
        DAY
        
        HOUR
        
        MINUTE
        
        SECOND
        
        MILLISECOND
        
TimeGranularitypublic String getDateGranularity()
 The date granularity of the DateDimensionField. Choose one of the following options:
 
 YEAR
 
 QUARTER
 
 MONTH
 
 WEEK
 
 DAY
 
 HOUR
 
 MINUTE
 
 SECOND
 
 MILLISECOND
 
DateDimensionField. Choose one of the following options:
         
         YEAR
         
         QUARTER
         
         MONTH
         
         WEEK
         
         DAY
         
         HOUR
         
         MINUTE
         
         SECOND
         
         MILLISECOND
         
TimeGranularitypublic DateDimensionField withDateGranularity(String dateGranularity)
 The date granularity of the DateDimensionField. Choose one of the following options:
 
 YEAR
 
 QUARTER
 
 MONTH
 
 WEEK
 
 DAY
 
 HOUR
 
 MINUTE
 
 SECOND
 
 MILLISECOND
 
dateGranularity - The date granularity of the DateDimensionField. Choose one of the following options:
        
        YEAR
        
        QUARTER
        
        MONTH
        
        WEEK
        
        DAY
        
        HOUR
        
        MINUTE
        
        SECOND
        
        MILLISECOND
        
TimeGranularitypublic DateDimensionField withDateGranularity(TimeGranularity dateGranularity)
 The date granularity of the DateDimensionField. Choose one of the following options:
 
 YEAR
 
 QUARTER
 
 MONTH
 
 WEEK
 
 DAY
 
 HOUR
 
 MINUTE
 
 SECOND
 
 MILLISECOND
 
dateGranularity - The date granularity of the DateDimensionField. Choose one of the following options:
        
        YEAR
        
        QUARTER
        
        MONTH
        
        WEEK
        
        DAY
        
        HOUR
        
        MINUTE
        
        SECOND
        
        MILLISECOND
        
TimeGranularitypublic void setHierarchyId(String hierarchyId)
The custom hierarchy ID.
hierarchyId - The custom hierarchy ID.public String getHierarchyId()
The custom hierarchy ID.
public DateDimensionField withHierarchyId(String hierarchyId)
The custom hierarchy ID.
hierarchyId - The custom hierarchy ID.public void setFormatConfiguration(DateTimeFormatConfiguration formatConfiguration)
The format configuration of the field.
formatConfiguration - The format configuration of the field.public DateTimeFormatConfiguration getFormatConfiguration()
The format configuration of the field.
public DateDimensionField withFormatConfiguration(DateTimeFormatConfiguration formatConfiguration)
The format configuration of the field.
formatConfiguration - The format configuration of the field.public String toString()
toString in class ObjectObject.toString()public DateDimensionField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.