Package com.oracle.bmc.datasafe.model
Class ColumnSorting.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.ColumnSorting.Builder
-
- Enclosing class:
- ColumnSorting
public static class ColumnSorting.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnSortingbuild()ColumnSorting.Buildercopy(ColumnSorting model)ColumnSorting.BuilderfieldName(String fieldName)Name of the column that must be sorted.ColumnSorting.BuilderisAscending(Boolean isAscending)Indicates if the column must be sorted in ascending order.ColumnSorting.BuildersortingOrder(Integer sortingOrder)Indicates the order at which column must be sorted.
-
-
-
Method Detail
-
fieldName
public ColumnSorting.Builder fieldName(String fieldName)
Name of the column that must be sorted.- Parameters:
fieldName- the value to set- Returns:
- this builder
-
isAscending
public ColumnSorting.Builder isAscending(Boolean isAscending)
Indicates if the column must be sorted in ascending order.Values can either be ‘true’ or ‘false’.
- Parameters:
isAscending- the value to set- Returns:
- this builder
-
sortingOrder
public ColumnSorting.Builder sortingOrder(Integer sortingOrder)
Indicates the order at which column must be sorted.- Parameters:
sortingOrder- the value to set- Returns:
- this builder
-
build
public ColumnSorting build()
-
copy
public ColumnSorting.Builder copy(ColumnSorting model)
-
-