Interface TrendsMetricsResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrendsMetricsResult.Builder,,TrendsMetricsResult> SdkBuilder<TrendsMetricsResult.Builder,,TrendsMetricsResult> SdkPojo
- Enclosing class:
TrendsMetricsResult
@Mutable
@NotThreadSafe
public static interface TrendsMetricsResult.Builder
extends SdkPojo, CopyableBuilder<TrendsMetricsResult.Builder,TrendsMetricsResult>
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp for this data point in the findings trend metrics.default TrendsMetricsResult.BuildertrendsValues(Consumer<TrendsValues.Builder> trendsValues) The finding trend metric values associated with this timestamp, including severity counts.trendsValues(TrendsValues trendsValues) The finding trend metric values associated with this timestamp, including severity counts.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
-
timestamp
The timestamp for this data point in the findings trend metrics.
- Parameters:
timestamp- The timestamp for this data point in the findings trend metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trendsValues
The finding trend metric values associated with this timestamp, including severity counts.
- Parameters:
trendsValues- The finding trend metric values associated with this timestamp, including severity counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trendsValues
The finding trend metric values associated with this timestamp, including severity counts.
This is a convenience method that creates an instance of theTrendsValues.Builderavoiding the need to create one manually viaTrendsValues.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrendsValues(TrendsValues).- Parameters:
trendsValues- a consumer that will call methods onTrendsValues.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-