Package com.oracle.bmc.devops.model
Class RepositoryAnalyticsDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.RepositoryAnalyticsDetails.Builder
-
- Enclosing class:
- RepositoryAnalyticsDetails
public static class RepositoryAnalyticsDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 groupedRepositoryAnalyticsDetails.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.
-
-
-
Method Detail
-
authorEmail
public RepositoryAnalyticsDetails.Builder authorEmail(String authorEmail)
Email address of the author.- Parameters:
authorEmail
- the value to set- Returns:
- this builder
-
repositoryMetrics
public RepositoryAnalyticsDetails.Builder repositoryMetrics(List<MetricName> repositoryMetrics)
The name of the metric to be filtered.- Parameters:
repositoryMetrics
- the value to set- Returns:
- this builder
-
aggregationDuration
public RepositoryAnalyticsDetails.Builder aggregationDuration(RepositoryAnalyticsDetails.AggregationDuration aggregationDuration)
Metrics aggregated for the defined period.- Parameters:
aggregationDuration
- the value to set- Returns:
- this builder
-
startTime
public RepositoryAnalyticsDetails.Builder startTime(Date startTime)
The beginning of the metric data query time range.- Parameters:
startTime
- the value to set- Returns:
- this builder
-
endTime
public RepositoryAnalyticsDetails.Builder endTime(Date endTime)
The end of the metric data query time range.- Parameters:
endTime
- the value to set- Returns:
- this builder
-
groupBy
public RepositoryAnalyticsDetails.Builder groupBy(RepositoryAnalyticsDetails.GroupBy groupBy)
Attribute by which metric data has to be grouped- Parameters:
groupBy
- the value to set- Returns:
- this builder
-
build
public RepositoryAnalyticsDetails build()
-
copy
public RepositoryAnalyticsDetails.Builder copy(RepositoryAnalyticsDetails model)
-
-