Interface ExportDataSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExportDataSource.Builder,,ExportDataSource> SdkBuilder<ExportDataSource.Builder,,ExportDataSource> SdkPojo
- Enclosing class:
ExportDataSource
public static interface ExportDataSource.Builder
extends SdkPojo, CopyableBuilder<ExportDataSource.Builder,ExportDataSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExportDataSource.BuildermessageInsightsDataSource(Consumer<MessageInsightsDataSource.Builder> messageInsightsDataSource) Sets the value of the MessageInsightsDataSource property for this object.messageInsightsDataSource(MessageInsightsDataSource messageInsightsDataSource) Sets the value of the MessageInsightsDataSource property for this object.default ExportDataSource.BuildermetricsDataSource(Consumer<MetricsDataSource.Builder> metricsDataSource) Sets the value of the MetricsDataSource property for this object.metricsDataSource(MetricsDataSource metricsDataSource) Sets the value of the MetricsDataSource property for this object.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, sdkFields
-
Method Details
-
metricsDataSource
Sets the value of the MetricsDataSource property for this object.- Parameters:
metricsDataSource- The new value for the MetricsDataSource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricsDataSource
default ExportDataSource.Builder metricsDataSource(Consumer<MetricsDataSource.Builder> metricsDataSource) Sets the value of the MetricsDataSource property for this object. This is a convenience method that creates an instance of theMetricsDataSource.Builderavoiding the need to create one manually viaMetricsDataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricsDataSource(MetricsDataSource).- Parameters:
metricsDataSource- a consumer that will call methods onMetricsDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messageInsightsDataSource
ExportDataSource.Builder messageInsightsDataSource(MessageInsightsDataSource messageInsightsDataSource) Sets the value of the MessageInsightsDataSource property for this object.- Parameters:
messageInsightsDataSource- The new value for the MessageInsightsDataSource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageInsightsDataSource
default ExportDataSource.Builder messageInsightsDataSource(Consumer<MessageInsightsDataSource.Builder> messageInsightsDataSource) Sets the value of the MessageInsightsDataSource property for this object. This is a convenience method that creates an instance of theMessageInsightsDataSource.Builderavoiding the need to create one manually viaMessageInsightsDataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomessageInsightsDataSource(MessageInsightsDataSource).- Parameters:
messageInsightsDataSource- a consumer that will call methods onMessageInsightsDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-