Interface Data.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Data.Builder,,Data> SdkBuilder<Data.Builder,,Data> SdkPojo
- Enclosing class:
Data
@Mutable
@NotThreadSafe
public static interface Data.Builder
extends SdkPojo, CopyableBuilder<Data.Builder,Data>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Data.BuilderperformanceInsightsMetric(Consumer<PerformanceInsightsMetric.Builder> performanceInsightsMetric) This field determines the Performance Insights metric to render for the insight.performanceInsightsMetric(PerformanceInsightsMetric performanceInsightsMetric) This field determines the Performance Insights metric to render for the insight.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
-
performanceInsightsMetric
This field determines the Performance Insights metric to render for the insight. The
namefield refers to a Performance Insights metric.- Parameters:
performanceInsightsMetric- This field determines the Performance Insights metric to render for the insight. Thenamefield refers to a Performance Insights metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceInsightsMetric
default Data.Builder performanceInsightsMetric(Consumer<PerformanceInsightsMetric.Builder> performanceInsightsMetric) This field determines the Performance Insights metric to render for the insight. The
This is a convenience method that creates an instance of thenamefield refers to a Performance Insights metric.PerformanceInsightsMetric.Builderavoiding the need to create one manually viaPerformanceInsightsMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperformanceInsightsMetric(PerformanceInsightsMetric).- Parameters:
performanceInsightsMetric- a consumer that will call methods onPerformanceInsightsMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-