Interface TrendsValues.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrendsValues.Builder,,TrendsValues> SdkBuilder<TrendsValues.Builder,,TrendsValues> SdkPojo
- Enclosing class:
TrendsValues
@Mutable
@NotThreadSafe
public static interface TrendsValues.Builder
extends SdkPojo, CopyableBuilder<TrendsValues.Builder,TrendsValues>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TrendsValues.BuilderseverityTrends(Consumer<SeverityTrendsCount.Builder> severityTrends) The count of findings organized by severity level for this data point in the trend timeline.severityTrends(SeverityTrendsCount severityTrends) The count of findings organized by severity level for this data point in the trend timeline.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
severityTrends
The count of findings organized by severity level for this data point in the trend timeline.
- Parameters:
severityTrends- The count of findings organized by severity level for this data point in the trend timeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityTrends
The count of findings organized by severity level for this data point in the trend timeline.
This is a convenience method that creates an instance of theSeverityTrendsCount.Builderavoiding the need to create one manually viaSeverityTrendsCount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toseverityTrends(SeverityTrendsCount).- Parameters:
severityTrends- a consumer that will call methods onSeverityTrendsCount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-