Interface CfnSegmentDefinition.SortAttributeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSegmentDefinition.SortAttributeProperty.Jsii$Proxy
- Enclosing class:
CfnSegmentDefinition
@Stability(Stable)
public static interface CfnSegmentDefinition.SortAttributeProperty
extends software.amazon.jsii.JsiiSerializable
Defines the characteristics and rules for sorting by a specific attribute.
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.customerprofiles.*;
SortAttributeProperty sortAttributeProperty = SortAttributeProperty.builder()
.name("name")
.order("order")
// the properties below are optional
.dataType("dataType")
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSegmentDefinition.SortAttributePropertystatic final classAn implementation forCfnSegmentDefinition.SortAttributeProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe data type of the sort attribute (e.g., string, number, date).getName()The name of the attribute to sort by.getOrder()The sort order for the attribute (ascending or descending).default StringgetType()The type of attribute (e.g., profile, calculated).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the attribute to sort by.- See Also:
-
getOrder
The sort order for the attribute (ascending or descending).- See Also:
-
getDataType
The data type of the sort attribute (e.g., string, number, date).- See Also:
-
getType
The type of attribute (e.g., profile, calculated).- See Also:
-
builder
-