Interface AgentRuntimeArtifact.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentRuntimeArtifact.Builder,,AgentRuntimeArtifact> SdkBuilder<AgentRuntimeArtifact.Builder,,AgentRuntimeArtifact> SdkPojo
- Enclosing class:
AgentRuntimeArtifact
@Mutable
@NotThreadSafe
public static interface AgentRuntimeArtifact.Builder
extends SdkPojo, CopyableBuilder<AgentRuntimeArtifact.Builder,AgentRuntimeArtifact>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AgentRuntimeArtifact.BuildercodeConfiguration(Consumer<CodeConfiguration.Builder> codeConfiguration) The code configuration for the agent runtime artifact, including the source code location and execution settings.codeConfiguration(CodeConfiguration codeConfiguration) The code configuration for the agent runtime artifact, including the source code location and execution settings.default AgentRuntimeArtifact.BuildercontainerConfiguration(Consumer<ContainerConfiguration.Builder> containerConfiguration) The container configuration for the agent artifact.containerConfiguration(ContainerConfiguration containerConfiguration) The container configuration for the agent artifact.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
-
containerConfiguration
The container configuration for the agent artifact.
- Parameters:
containerConfiguration- The container configuration for the agent artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerConfiguration
default AgentRuntimeArtifact.Builder containerConfiguration(Consumer<ContainerConfiguration.Builder> containerConfiguration) The container configuration for the agent artifact.
This is a convenience method that creates an instance of theContainerConfiguration.Builderavoiding the need to create one manually viaContainerConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerConfiguration(ContainerConfiguration).- Parameters:
containerConfiguration- a consumer that will call methods onContainerConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeConfiguration
The code configuration for the agent runtime artifact, including the source code location and execution settings.
- Parameters:
codeConfiguration- The code configuration for the agent runtime artifact, including the source code location and execution settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeConfiguration
default AgentRuntimeArtifact.Builder codeConfiguration(Consumer<CodeConfiguration.Builder> codeConfiguration) The code configuration for the agent runtime artifact, including the source code location and execution settings.
This is a convenience method that creates an instance of theCodeConfiguration.Builderavoiding the need to create one manually viaCodeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeConfiguration(CodeConfiguration).- Parameters:
codeConfiguration- a consumer that will call methods onCodeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-