Interface ModuleConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ModuleConfiguration.Builder,
,ModuleConfiguration> SdkBuilder<ModuleConfiguration.Builder,
,ModuleConfiguration> SdkPojo
- Enclosing class:
ModuleConfiguration
@Mutable
@NotThreadSafe
public static interface ModuleConfiguration.Builder
extends SdkPojo, CopyableBuilder<ModuleConfiguration.Builder,ModuleConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe dependencies of the module.dependsOn
(Collection<String> dependsOn) The dependencies of the module.default ModuleConfiguration.Builder
moduleParameters
(Consumer<ModuleParameters.Builder> moduleParameters) Describes the parameters of a module.moduleParameters
(ModuleParameters moduleParameters) Describes the parameters of a module.The name of the module.The version of the module.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, sdkFieldNameToField, sdkFields
-
Method Details
-
version
The version of the module.
- Parameters:
version
- The version of the module.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the module.
- Parameters:
name
- The name of the module.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependsOn
The dependencies of the module.
- Parameters:
dependsOn
- The dependencies of the module.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependsOn
The dependencies of the module.
- Parameters:
dependsOn
- The dependencies of the module.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moduleParameters
Describes the parameters of a module.
- Parameters:
moduleParameters
- Describes the parameters of a module.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moduleParameters
default ModuleConfiguration.Builder moduleParameters(Consumer<ModuleParameters.Builder> moduleParameters) Describes the parameters of a module.
This is a convenience method that creates an instance of theModuleParameters.Builder
avoiding the need to create one manually viaModuleParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomoduleParameters(ModuleParameters)
.- Parameters:
moduleParameters
- a consumer that will call methods onModuleParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-