Interface PivotFieldSortOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PivotFieldSortOptions.Builder,,PivotFieldSortOptions> SdkBuilder<PivotFieldSortOptions.Builder,,PivotFieldSortOptions> SdkPojo
- Enclosing class:
PivotFieldSortOptions
public static interface PivotFieldSortOptions.Builder
extends SdkPojo, CopyableBuilder<PivotFieldSortOptions.Builder,PivotFieldSortOptions>
-
Method Summary
Modifier and TypeMethodDescriptionThe field ID for the field sort options.default PivotFieldSortOptions.BuildersortBy(Consumer<PivotTableSortBy.Builder> sortBy) The sort by field for the field sort options.sortBy(PivotTableSortBy sortBy) The sort by field for the field sort options.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fieldId
The field ID for the field sort options.
- Parameters:
fieldId- The field ID for the field sort options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The sort by field for the field sort options.
- Parameters:
sortBy- The sort by field for the field sort options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The sort by field for the field sort options.
This is a convenience method that creates an instance of thePivotTableSortBy.Builderavoiding the need to create one manually viaPivotTableSortBy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortBy(PivotTableSortBy).- Parameters:
sortBy- a consumer that will call methods onPivotTableSortBy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-