Class BetaAnalyticsCostItem.Builder
-
- All Implemented Interfaces:
public final class BetaAnalyticsCostItem.BuilderA builder for BetaAnalyticsCostItem.
-
-
Method Summary
Modifier and Type Method Description final BetaAnalyticsCostItem.Buildercost(BetaAnalyticsCostMetrics cost)Cost for this row. final BetaAnalyticsCostItem.Buildercost(JsonField<BetaAnalyticsCostMetrics> cost)Sets Builder.cost to an arbitrary JSON value. final BetaAnalyticsCostItem.BuilderendingAt(OffsetDateTime endingAt)End of the period this row covers (exclusive), as an RFC 3339 UTC timestamp: the end of the row's time bucket when a time-bucket width is set; otherwise the requested ending_at(or, when omitted, the earlier of now andstarting_atplus 31 days) rounded down to the hour, because without a time bucket the report covers whole hours.final BetaAnalyticsCostItem.BuilderendingAt(JsonField<OffsetDateTime> endingAt)Sets Builder.endingAt to an arbitrary JSON value. final BetaAnalyticsCostItem.Buildergroup(BetaAnalyticsCostGroup group)The dimension values this row's cost is broken out by. final BetaAnalyticsCostItem.Buildergroup(JsonField<BetaAnalyticsCostGroup> group)Sets Builder.group to an arbitrary JSON value. final BetaAnalyticsCostItem.BuilderstartingAt(OffsetDateTime startingAt)Start of the period this row covers (inclusive), as an RFC 3339 UTC timestamp: the start of the row's time bucket when a time-bucket width is set, otherwise the requested starting_atrounded down to the hour.final BetaAnalyticsCostItem.BuilderstartingAt(JsonField<OffsetDateTime> startingAt)Sets Builder.startingAt to an arbitrary JSON value. final BetaAnalyticsCostItem.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaAnalyticsCostItem.BuilderputAdditionalProperty(String key, JsonValue value)final BetaAnalyticsCostItem.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaAnalyticsCostItem.BuilderremoveAdditionalProperty(String key)final BetaAnalyticsCostItem.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaAnalyticsCostItembuild()Returns an immutable instance of BetaAnalyticsCostItem. -
-
Method Detail
-
cost
final BetaAnalyticsCostItem.Builder cost(BetaAnalyticsCostMetrics cost)
Cost for this row.
-
cost
final BetaAnalyticsCostItem.Builder cost(JsonField<BetaAnalyticsCostMetrics> cost)
Sets Builder.cost to an arbitrary JSON value.
You should usually call Builder.cost with a well-typed BetaAnalyticsCostMetrics value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
endingAt
final BetaAnalyticsCostItem.Builder endingAt(OffsetDateTime endingAt)
End of the period this row covers (exclusive), as an RFC 3339 UTC timestamp: the end of the row's time bucket when a time-bucket width is set; otherwise the requested
ending_at(or, when omitted, the earlier of now andstarting_atplus 31 days) rounded down to the hour, because without a time bucket the report covers whole hours.
-
endingAt
final BetaAnalyticsCostItem.Builder endingAt(JsonField<OffsetDateTime> endingAt)
Sets Builder.endingAt to an arbitrary JSON value.
You should usually call Builder.endingAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
group
final BetaAnalyticsCostItem.Builder group(BetaAnalyticsCostGroup group)
The dimension values this row's cost is broken out by.
-
group
final BetaAnalyticsCostItem.Builder group(JsonField<BetaAnalyticsCostGroup> group)
Sets Builder.group to an arbitrary JSON value.
You should usually call Builder.group with a well-typed BetaAnalyticsCostGroup value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
startingAt
final BetaAnalyticsCostItem.Builder startingAt(OffsetDateTime startingAt)
Start of the period this row covers (inclusive), as an RFC 3339 UTC timestamp: the start of the row's time bucket when a time-bucket width is set, otherwise the requested
starting_atrounded down to the hour.
-
startingAt
final BetaAnalyticsCostItem.Builder startingAt(JsonField<OffsetDateTime> startingAt)
Sets Builder.startingAt to an arbitrary JSON value.
You should usually call Builder.startingAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaAnalyticsCostItem.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaAnalyticsCostItem.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaAnalyticsCostItem.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaAnalyticsCostItem.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaAnalyticsCostItem.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaAnalyticsCostItem build()
Returns an immutable instance of BetaAnalyticsCostItem.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.cost() .endingAt() .group() .startingAt()
-
-
-
-