public static class ProfileLevelSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProfileLevelSummary |
build() |
ProfileLevelSummary.Builder |
copy(ProfileLevelSummary model) |
ProfileLevelSummary.Builder |
defaultInterval(Integer defaultInterval)
The default aggregation interval (in days) for profiles using this profile level.
|
ProfileLevelSummary.Builder |
metrics(List<EvaluatedMetric> metrics)
The metrics that will be evaluated by profiles using this profile level.
|
ProfileLevelSummary.Builder |
name(String name)
A unique name for the profile level.
|
ProfileLevelSummary.Builder |
recommendationName(String recommendationName)
The name of the recommendation this profile level applies to.
|
ProfileLevelSummary.Builder |
timeCreated(Date timeCreated)
The date and time the category details were created, in the format defined by RFC3339.
|
ProfileLevelSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the category details were last updated, in the format defined by
RFC3339.
|
ProfileLevelSummary.Builder |
validIntervals(List<Integer> validIntervals)
An array of aggregation intervals (in days) allowed for profiles using this profile
level.
|
public ProfileLevelSummary.Builder name(String name)
A unique name for the profile level.
name
- the value to setpublic ProfileLevelSummary.Builder recommendationName(String recommendationName)
The name of the recommendation this profile level applies to.
recommendationName
- the value to setpublic ProfileLevelSummary.Builder metrics(List<EvaluatedMetric> metrics)
The metrics that will be evaluated by profiles using this profile level.
metrics
- the value to setpublic ProfileLevelSummary.Builder defaultInterval(Integer defaultInterval)
The default aggregation interval (in days) for profiles using this profile level.
defaultInterval
- the value to setpublic ProfileLevelSummary.Builder validIntervals(List<Integer> validIntervals)
An array of aggregation intervals (in days) allowed for profiles using this profile level.
validIntervals
- the value to setpublic ProfileLevelSummary.Builder timeCreated(Date timeCreated)
The date and time the category details were created, in the format defined by RFC3339.
timeCreated
- the value to setpublic ProfileLevelSummary.Builder timeUpdated(Date timeUpdated)
The date and time the category details were last updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic ProfileLevelSummary build()
public ProfileLevelSummary.Builder copy(ProfileLevelSummary model)
Copyright © 2016–2024. All rights reserved.