Class CfnSegmentDefinitionPropsMixin.SegmentSortProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnSegmentDefinitionPropsMixin.SegmentSortProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegmentDefinitionPropsMixin.SegmentSortProperty>
- Enclosing interface:
CfnSegmentDefinitionPropsMixin.SegmentSortProperty
@Stability(Stable)
public static final class CfnSegmentDefinitionPropsMixin.SegmentSortProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegmentDefinitionPropsMixin.SegmentSortProperty>
A builder for
CfnSegmentDefinitionPropsMixin.SegmentSortProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(List<? extends Object> attributes) Sets the value ofCfnSegmentDefinitionPropsMixin.SegmentSortProperty.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnSegmentDefinitionPropsMixin.SegmentSortProperty.getAttributes()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.SegmentSortProperty.Builder attributes(IResolvable attributes) Sets the value ofCfnSegmentDefinitionPropsMixin.SegmentSortProperty.getAttributes()- Parameters:
attributes- A list of attributes used to sort the segments and their ordering preferences.- Returns:
this
-
attributes
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.SegmentSortProperty.Builder attributes(List<? extends Object> attributes) Sets the value ofCfnSegmentDefinitionPropsMixin.SegmentSortProperty.getAttributes()- Parameters:
attributes- A list of attributes used to sort the segments and their ordering preferences.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSegmentDefinitionPropsMixin.SegmentSortProperty>- Returns:
- a new instance of
CfnSegmentDefinitionPropsMixin.SegmentSortProperty - Throws:
NullPointerException- if any required attribute was not provided
-