public static class RepositoryAnalyticsDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RepositoryAnalyticsDetails.Builder |
aggregationDuration(RepositoryAnalyticsDetails.AggregationDuration aggregationDuration)
Metrics aggregated for the defined period.
|
RepositoryAnalyticsDetails.Builder |
authorEmail(String authorEmail)
Email address of the author.
|
RepositoryAnalyticsDetails |
build() |
RepositoryAnalyticsDetails.Builder |
copy(RepositoryAnalyticsDetails model) |
RepositoryAnalyticsDetails.Builder |
endTime(Date endTime)
The end of the metric data query time range.
|
RepositoryAnalyticsDetails.Builder |
groupBy(RepositoryAnalyticsDetails.GroupBy groupBy)
Attribute by which metric data has to be grouped
|
RepositoryAnalyticsDetails.Builder |
repositoryMetrics(List<MetricName> repositoryMetrics)
The name of the metric to be filtered.
|
RepositoryAnalyticsDetails.Builder |
startTime(Date startTime)
The beginning of the metric data query time range.
|
public RepositoryAnalyticsDetails.Builder authorEmail(String authorEmail)
Email address of the author.
authorEmail
- the value to setpublic RepositoryAnalyticsDetails.Builder repositoryMetrics(List<MetricName> repositoryMetrics)
The name of the metric to be filtered.
repositoryMetrics
- the value to setpublic RepositoryAnalyticsDetails.Builder aggregationDuration(RepositoryAnalyticsDetails.AggregationDuration aggregationDuration)
Metrics aggregated for the defined period.
aggregationDuration
- the value to setpublic RepositoryAnalyticsDetails.Builder startTime(Date startTime)
The beginning of the metric data query time range.
startTime
- the value to setpublic RepositoryAnalyticsDetails.Builder endTime(Date endTime)
The end of the metric data query time range.
endTime
- the value to setpublic RepositoryAnalyticsDetails.Builder groupBy(RepositoryAnalyticsDetails.GroupBy groupBy)
Attribute by which metric data has to be grouped
groupBy
- the value to setpublic RepositoryAnalyticsDetails build()
public RepositoryAnalyticsDetails.Builder copy(RepositoryAnalyticsDetails model)
Copyright © 2016–2024. All rights reserved.