Interface Plugin.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Plugin.Builder,
,Plugin> SdkBuilder<Plugin.Builder,
,Plugin> SdkPojo
- Enclosing class:
Plugin
-
Method Summary
Modifier and TypeMethodDescriptiondefault Plugin.Builder
customPlugin
(Consumer<CustomPlugin.Builder> customPlugin) Details about a custom plugin.customPlugin
(CustomPlugin customPlugin) Details about a custom plugin.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
customPlugin
Details about a custom plugin.
- Parameters:
customPlugin
- Details about a custom plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customPlugin
Details about a custom plugin.
This is a convenience method that creates an instance of theCustomPlugin.Builder
avoiding the need to create one manually viaCustomPlugin.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomPlugin(CustomPlugin)
.- Parameters:
customPlugin
- a consumer that will call methods onCustomPlugin.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-