Interface AgentVersion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentVersion.Builder,
,AgentVersion> SdkBuilder<AgentVersion.Builder,
,AgentVersion> SdkPojo
- Enclosing class:
AgentVersion
public static interface AgentVersion.Builder
extends SdkPojo, CopyableBuilder<AgentVersion.Builder,AgentVersion>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AgentVersion.Builder
configurationManager
(Consumer<StackConfigurationManager.Builder> configurationManager) The configuration manager.configurationManager
(StackConfigurationManager configurationManager) The configuration manager.The agent version.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
-
version
The agent version.
- Parameters:
version
- The agent version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationManager
The configuration manager.
- Parameters:
configurationManager
- The configuration manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationManager
default AgentVersion.Builder configurationManager(Consumer<StackConfigurationManager.Builder> configurationManager) The configuration manager.
This is a convenience method that creates an instance of theStackConfigurationManager.Builder
avoiding the need to create one manually viaStackConfigurationManager.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationManager(StackConfigurationManager)
.- Parameters:
configurationManager
- a consumer that will call methods onStackConfigurationManager.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-