Package com.atlan.model.structs
Class PopularityInsights.PopularityInsightsBuilder<C extends PopularityInsights,B extends PopularityInsights.PopularityInsightsBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.structs.AtlanStruct.AtlanStructBuilder<C,B>
com.atlan.model.structs.PopularityInsights.PopularityInsightsBuilder<C,B>
- Enclosing class:
- PopularityInsights
public abstract static class PopularityInsights.PopularityInsightsBuilder<C extends PopularityInsights,B extends PopularityInsights.PopularityInsightsBuilder<C,B>>
extends AtlanStruct.AtlanStructBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) abstract C
build()
recordComputeCost
(Double recordComputeCost) Total compute cost for running all queries.recordComputeCostUnit
(SourceCostUnitType recordComputeCostUnit) Unit of measure for recordComputeCost.recordLastTimestamp
(Long recordLastTimestamp) Timestamp of last operation or query run by the user.recordMaxComputeCost
(Double recordMaxComputeCost) Maximum compute cost across all query runs.recordQuery
(String recordQuery) Query run at source.recordQueryCount
(Long recordQueryCount) Number of queries run by the user.recordQueryDuration
(Long recordQueryDuration) Duration for which the query ran at source.recordTotalUserCount
(Long recordTotalUserCount) Total number of users who ran queries.recordUser
(String recordUser) Username or email of the user who ran the queries.recordWarehouse
(String recordWarehouse) Name of the warehouse on which the queries were run.protected abstract B
self()
toString()
Fixed typeName for PopularityInsights.Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
PopularityInsightsBuilder
public PopularityInsightsBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanStruct.AtlanStructBuilder<C extends PopularityInsights,
B extends PopularityInsights.PopularityInsightsBuilder<C, B>>
-
typeName
Fixed typeName for PopularityInsights.- Overrides:
typeName
in classAtlanStruct.AtlanStructBuilder<C extends PopularityInsights,
B extends PopularityInsights.PopularityInsightsBuilder<C, B>> - Returns:
this
.
-
recordUser
Username or email of the user who ran the queries.- Returns:
this
.
-
recordQuery
Query run at source.- Returns:
this
.
-
recordQueryDuration
Duration for which the query ran at source.- Returns:
this
.
-
recordQueryCount
Number of queries run by the user.- Returns:
this
.
-
recordTotalUserCount
Total number of users who ran queries.- Returns:
this
.
-
recordComputeCost
Total compute cost for running all queries.- Returns:
this
.
-
recordMaxComputeCost
Maximum compute cost across all query runs.- Returns:
this
.
-
recordComputeCostUnit
Unit of measure for recordComputeCost.- Returns:
this
.
-
recordLastTimestamp
Timestamp of last operation or query run by the user.- Returns:
this
.
-
recordWarehouse
Name of the warehouse on which the queries were run.- Returns:
this
.
-
self
- Specified by:
self
in classAtlanStruct.AtlanStructBuilder<C extends PopularityInsights,
B extends PopularityInsights.PopularityInsightsBuilder<C, B>>
-
build
- Specified by:
build
in classAtlanStruct.AtlanStructBuilder<C extends PopularityInsights,
B extends PopularityInsights.PopularityInsightsBuilder<C, B>>
-
toString
- Overrides:
toString
in classAtlanStruct.AtlanStructBuilder<C extends PopularityInsights,
B extends PopularityInsights.PopularityInsightsBuilder<C, B>>
-