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 SavedCustomTablebuild()SavedCustomTable.BuildercolumnGroupBy(List<String> columnGroupBy)The column groupBy key list.SavedCustomTable.BuildercompartmentDepth(BigDecimal compartmentDepth)The compartment depth level.SavedCustomTable.Buildercopy(SavedCustomTable model)SavedCustomTable.BuilderdisplayName(String displayName)The name of the custom table.SavedCustomTable.BuildergroupByTag(List<Tag> groupByTag)GroupBy a specific tagKey.SavedCustomTable.BuilderrowGroupBy(List<String> rowGroupBy)The row groupBy key list.SavedCustomTable.Builderversion(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.For 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.For 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)
-
-