Interface MetricGraph.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricGraph.Builder,,MetricGraph> SdkBuilder<MetricGraph.Builder,,MetricGraph> SdkPojo
- Enclosing class:
MetricGraph
-
Method Summary
Modifier and TypeMethodDescriptionThe end time for the metric data included in this graph.metricDataQueries(Collection<MetricDataQuery> metricDataQueries) An array of metric data queries that define the metrics to be retrieved and analyzed as part of the audit finding context.metricDataQueries(Consumer<MetricDataQuery.Builder>... metricDataQueries) An array of metric data queries that define the metrics to be retrieved and analyzed as part of the audit finding context.metricDataQueries(MetricDataQuery... metricDataQueries) An array of metric data queries that define the metrics to be retrieved and analyzed as part of the audit finding context.The start time for the metric data included in this graph.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
-
metricDataQueries
An array of metric data queries that define the metrics to be retrieved and analyzed as part of the audit finding context.
- Parameters:
metricDataQueries- An array of metric data queries that define the metrics to be retrieved and analyzed as part of the audit finding context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDataQueries
An array of metric data queries that define the metrics to be retrieved and analyzed as part of the audit finding context.
- Parameters:
metricDataQueries- An array of metric data queries that define the metrics to be retrieved and analyzed as part of the audit finding context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDataQueries
An array of metric data queries that define the metrics to be retrieved and analyzed as part of the audit finding context.
This is a convenience method that creates an instance of theMetricDataQuery.Builderavoiding the need to create one manually viaMetricDataQuery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricDataQueries(List<MetricDataQuery>).- Parameters:
metricDataQueries- a consumer that will call methods onMetricDataQuery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The start time for the metric data included in this graph. When used in a raw HTTP Query API, it is formatted as epoch time in seconds.
- Parameters:
startTime- The start time for the metric data included in this graph. When used in a raw HTTP Query API, it is formatted as epoch time in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time for the metric data included in this graph. When used in a raw HTTP Query API, it is formatted as epoch time in seconds.
- Parameters:
endTime- The end time for the metric data included in this graph. When used in a raw HTTP Query API, it is formatted as epoch time in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-