Interface WidgetConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WidgetConfig.Builder,,WidgetConfig> SdkBuilder<WidgetConfig.Builder,,WidgetConfig> SdkPojo
- Enclosing class:
WidgetConfig
@Mutable
@NotThreadSafe
public static interface WidgetConfig.Builder
extends SdkPojo, CopyableBuilder<WidgetConfig.Builder,WidgetConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault WidgetConfig.BuilderdisplayConfig(Consumer<DisplayConfig.Builder> displayConfig) The configuration that determines how the retrieved data should be visualized in the widget.displayConfig(DisplayConfig displayConfig) The configuration that determines how the retrieved data should be visualized in the widget.default WidgetConfig.BuilderqueryParameters(Consumer<QueryParameters.Builder> queryParameters) The parameters that define what data the widget should retrieve and how it should be filtered or grouped.queryParameters(QueryParameters queryParameters) The parameters that define what data the widget should retrieve and how it should be filtered or grouped.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
-
queryParameters
The parameters that define what data the widget should retrieve and how it should be filtered or grouped.
- Parameters:
queryParameters- The parameters that define what data the widget should retrieve and how it should be filtered or grouped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryParameters
The parameters that define what data the widget should retrieve and how it should be filtered or grouped.
This is a convenience method that creates an instance of theQueryParameters.Builderavoiding the need to create one manually viaQueryParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueryParameters(QueryParameters).- Parameters:
queryParameters- a consumer that will call methods onQueryParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayConfig
The configuration that determines how the retrieved data should be visualized in the widget.
- Parameters:
displayConfig- The configuration that determines how the retrieved data should be visualized in the widget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayConfig
The configuration that determines how the retrieved data should be visualized in the widget.
This is a convenience method that creates an instance of theDisplayConfig.Builderavoiding the need to create one manually viaDisplayConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisplayConfig(DisplayConfig).- Parameters:
displayConfig- a consumer that will call methods onDisplayConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-