Package com.oracle.bmc.usageapi.model
Class SavedCustomTable.Builder
- java.lang.Object
-
- com.oracle.bmc.usageapi.model.SavedCustomTable.Builder
-
- Enclosing class:
- SavedCustomTable
public static class SavedCustomTable.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SavedCustomTable
build()
SavedCustomTable.Builder
columnGroupBy(List<String> columnGroupBy)
The column groupBy key list.SavedCustomTable.Builder
compartmentDepth(BigDecimal compartmentDepth)
The compartment depth level.SavedCustomTable.Builder
copy(SavedCustomTable model)
SavedCustomTable.Builder
displayName(String displayName)
The name of the custom table.SavedCustomTable.Builder
groupByTag(List<Tag> groupByTag)
GroupBy a specific tagKey.SavedCustomTable.Builder
rowGroupBy(List<String> rowGroupBy)
The row groupBy key list.SavedCustomTable.Builder
version(BigDecimal version)
The version of the custom table.
-
-
-
Method Detail
-
displayName
public SavedCustomTable.Builder displayName(String displayName)
The name of the custom table.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
rowGroupBy
public SavedCustomTable.Builder rowGroupBy(List<String> rowGroupBy)
The row groupBy key list.example: [“tagNamespace”, “tagKey”, “tagValue”, “service”, “skuName”, “skuPartNumber”, “unit”, “compartmentName”, “compartmentPath”, “compartmentId”, “platform”, “region”, “logicalAd”, “resourceId”, “tenantId”, “tenantName”]
- Parameters:
rowGroupBy
- the value to set- Returns:
- this builder
-
columnGroupBy
public SavedCustomTable.Builder columnGroupBy(List<String> columnGroupBy)
The column groupBy key list.example: [“tagNamespace”, “tagKey”, “tagValue”, “service”, “skuName”, “skuPartNumber”, “unit”, “compartmentName”, “compartmentPath”, “compartmentId”, “platform”, “region”, “logicalAd”, “resourceId”, “tenantId”, “tenantName”]
- Parameters:
columnGroupBy
- the value to set- Returns:
- this builder
-
groupByTag
public SavedCustomTable.Builder groupByTag(List<Tag> groupByTag)
GroupBy a specific tagKey.Provide the tagNamespace and tagKey in the tag object. Only one tag in the list is supported. For example: {@code [{“namespace”:“oracle”, “key”:“createdBy”]}
- Parameters:
groupByTag
- the value to set- Returns:
- this builder
-
compartmentDepth
public SavedCustomTable.Builder compartmentDepth(BigDecimal compartmentDepth)
The compartment depth level.- Parameters:
compartmentDepth
- the value to set- Returns:
- this builder
-
version
public SavedCustomTable.Builder version(BigDecimal version)
The version of the custom table.- Parameters:
version
- the value to set- Returns:
- this builder
-
build
public SavedCustomTable build()
-
copy
public SavedCustomTable.Builder copy(SavedCustomTable model)
-
-